THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 07/01/2011 at 19:10, xxxxxxxx wrote:
Originally posted by xxxxxxxx
hi,
thanks for checking this. could you provide us a complete code snipped please? the polygon object we could load but we have to know how do you setup the joint, skin object and the weight tag. i think this would be the fastest way to help you. you can send the code to my email (we'll keep it confidential if you want).
best
jens
Hi,
I just discovered I was incorrect about the C++ SDK. It does work there. I created a working example
from static data and it worked.
It only fails when reading files created by Melange.
In your test code, I modified it so it loads melange files. The mesh comes in distorted.
Bool SubDialogTest::Execute(BaseDocument *doc)
{
BaseDocument *tmpDoc = LoadDocument(Filename("example_from_melange.c4d"),SCENEFILTER_OBJECTS,NULL);
if (!tmpDoc) {
return FALSE;
}
InsertBaseDocument(tmpDoc);
tmpDoc=NULL; // c4d takes control
EventAdd();
return TRUE;
}
For some reason, the bind pose matices are being ignored.