Hey @ferdinand
Thanks for the reply, and I'm glad to hear that an update to the Cineware SDK is on your radar. Please keep us posted on the progress, as this is a blocker for us.
Regards,
Tom
Hey @ferdinand
Thanks for the reply, and I'm glad to hear that an update to the Cineware SDK is on your radar. Please keep us posted on the progress, as this is a blocker for us.
Regards,
Tom
Hey @ferdinand
Thanks for the reply, and I'm glad to hear that an update to the Cineware SDK is on your radar. Please keep us posted on the progress, as this is a blocker for us.
Regards,
Tom
Hi there,
I'm also looking for a cpp20 compatible version of the Cineware SDK - has there been any progress on this?
It's currently a blocker for us updating our VFX software from cpp17 to cpp20.
Hoping for good news!
Cheers,
Tom
Hi Jens,
That fix works for us. This is excellent. Thank you very much.
Regards,
Tom
Hi Jens,
I get the same error stack when I do the following:
cineware::Filename myFile("model loop 7.c4d");
cineware::BaseDocument *baseDoc = LoadDocument(myFile, cineware::SCENEFILTER::SCENEFILTER_OBJECTS | cineware::SCENEFILTER::SCENEFILTER_MATERIALS);
I load the file into memory using my own file stream API, which is used successfully elsewhere and with other c4d files. I'm using ReadFile() and GetFileSizeEx()
Regards,
Tom
Hi Jana,
I'd like it not to crash, please. My code looks like this:
fn.SetMemoryReadMode(data, size); // The contents of the file are in "data".
cineware::AlienBaseDocument *c4dDoc = NewObj(cineware::AlienBaseDocument);
cineware::HyperFile *c4dFile = NewObj(cineware::HyperFile);
if (c4dDoc && c4dFile)
{
if (c4dFile->Open(DOC_IDENT, fn, cineware::FILEOPEN_READ))
{
if (c4dDoc->ReadObject(c4dFile, true))
{
}
}
}
Are you able to reproduce the issue?
Regards,
Tom
Hi there,
Using cineware SDK v22.008 (VS2013 libs), I'm getting a crash when trying to process the file attached. The crash stack is:
FwdFX_d.fx!cineware::PrivateChunk::ReadChunk(class cineware::HyperFile *,bool,bool) Unknown
FwdFX_d.fx!cineware::PrivateChunk::ReadObject(class cineware::HyperFile *,bool) Unknown
FwdFX_d.fx!cineware::MoGraphFractureVoronoiObject::Read(class cineware::HyperFile *,int,int) Unknown
FwdFX_d.fx!cineware::BaseObject::HandleSubChunk(class cineware::HyperFile *,int,int) Unknown
FwdFX_d.fx!cineware::PrivateChunk::ReadChunk(class cineware::HyperFile *,bool,bool) Unknown
FwdFX_d.fx!cineware::RootObject::HandleSubChunk(class cineware::HyperFile *,int,int) Unknown
FwdFX_d.fx!cineware::PrivateChunk::ReadChunk(class cineware::HyperFile *,bool,bool) Unknown
FwdFX_d.fx!cineware::PrivateChunk::ReadObject(class cineware::HyperFile *,bool) Unknown
FwdFX_d.fx!cineware::BaseObject::HandleSubChunk(class cineware::HyperFile *,int,int) Unknown
FwdFX_d.fx!cineware::PrivateChunk::ReadChunk(class cineware::HyperFile *,bool,bool) Unknown
FwdFX_d.fx!cineware::RootObject::HandleSubChunk(class cineware::HyperFile *,int,int) Unknown
FwdFX_d.fx!cineware::PrivateChunk::ReadChunk(class cineware::HyperFile *,bool,bool) Unknown
FwdFX_d.fx!cineware::RootList2D::HandleSubChunk(class cineware::HyperFile *,int,int) Unknown
FwdFX_d.fx!cineware::RootObject::HandleSubChunk(class cineware::HyperFile *,int,int) Unknown
FwdFX_d.fx!cineware::PrivateChunk::ReadChunk(class cineware::HyperFile *,bool,bool) Unknown
FwdFX_d.fx!cineware::BaseDocument::HandleSubChunk(class cineware::HyperFile *,int,int) Unknown
FwdFX_d.fx!cineware::PrivateChunk::ReadChunk(class cineware::HyperFile *,bool,bool) Unknown
FwdFX_d.fx!cineware::PrivateChunk::ReadObject(class cineware::HyperFile *,bool) Unknown
and the log contains:
First-chance exception at 0x000000001F5BDA64 (FwdFX_d.fx) in FX_d.exe: 0xC0000005: Access violation reading location 0xFFFFFFFFFFFFFFFF.
Any clues as to what is going wrong here and how I can fix it?
The file is here: model loop 7.c4d
Regards,
Tom