AddJoint fails
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 14/12/2010 at 12:52, xxxxxxxx wrote:
Hi,
I tried calling CalculateBoneStates with NOTOK, but it has no effect.
The mesh is still distorted on imported. Cinema4D behaves as if it's using the Identity matrix for
all bind matrices. But, I checked, they are not identity. -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 15/12/2010 at 01:59, xxxxxxxx wrote:
hi!
could you try your code with the cinema sdk please? this would be very helpful to figure out if this a melange problem only or a generaly issue with the sdk.
i think i can have a look and try by myself tomorrow to create a setup like yours with melange.
cheers
jens -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 15/12/2010 at 20:18, xxxxxxxx wrote:
Yes, I also have the same problem with the C++ SDK. The mesh distortion looks exactly the same as Melange.
In fact, the distortion is very consistent. It doesn't change at all. It doesn't matter what values
I plug into the bind matrices, it always comes up looking the same shape. -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 16/12/2010 at 04:02, xxxxxxxx wrote:
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 -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 06/01/2011 at 11:09, 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
jensSource code was sent, so I hope you got a chance to look at it.
Do you know if this is something that I can fix myself, or is it a C4D problem? -
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
jensHi,
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.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 10/01/2011 at 00:10, xxxxxxxx wrote:
hi,
thanks for clarifying this. so it seems to be an issue in melange.
could you send me this static data example please? i've to debug these functions in melange.best
jens -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 13/01/2011 at 04:48, xxxxxxxx wrote:
hi,
thanks for the code example. i've had a look and it works in melange. i've sent you necessary changes i did to your code per email. please have a look and let me know if it works and what changes you had to make.
cheers
jens -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 13/01/2011 at 16:44, xxxxxxxx wrote:
Thanks, I tried your code, but I still get the same distorted mesh. I compared my scene_OUT.c4d file with yours,
and they don't match.
I sent you my scene_OUT.c4d file and the code used.
btw, your scene_OUT.c4d works great, but I can't explain why mine is different.
My commandline project is compiled in Release mode under Intel/PC platform (Windows XP), if that matters. -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 14/01/2011 at 13:46, xxxxxxxx wrote:
Great! It's working now with latest changes.
Thanks for all the help! -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 20/01/2011 at 02:05, xxxxxxxx wrote:
hi,
the new melange 4.0 version is available now.
can be downloaded from here.cheers
jens