Hi developers

I successfully load hierarchical 3ds models using the EvalTransformMatrix()
workaround.

Now, when I want to export a mesh, I fill its LCS matrix, but its obviously
not
enough : when I re-load the exported model, the file evaluation computes the
node's matrix accordingly to its pos/rot/scl_track fields, and
EvalTransformMatrix()
ends up providing me a wrong result.

So I tried to fill these "track" fields with the local transformation
components (T,R,S) of
the mesh, but it seems not to be the solution.

My question is : what information should contain the "track" fields of a
node when
exporting a model so that transformations are retained when I reload the
file ?


Thank you for any enlightening explanation


Thomas
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
lib3ds-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lib3ds-devel

Reply via email to