Archived

This topic is now archived and is closed to further replies.

3ds file : ROT_TRACK_TAG 0xB021

This topic is 4946 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, (bad english, sorry) I cant find help on this one on google. I loaded the animation key frame for position, and it work very fine. But for rotation :S. crappy In this chunk ROT_TRACK_TAG 0xB021, I got 4 float. *(from 3ds file SDK) (float) Rotation angle in degrees. (float) X component of rotation axis vector. (float) Y component of rotation axis vector. (float) Z component of rotation axis vector. So I put this in glRotatef like this : glRotatef(float1, float2, float3,float4); but the animation doesnt work. Probably a conversion to do on the angle. But dont know what. I cant found it on the internet. Please help me. [edited by - daivuk on May 29, 2004 12:17:15 PM]

Share this post


Link to post
Share on other sites
Hey, need some help here please!
I found that the rotation angle is cumulative. I have to add the angle of the previous key frame for the next key frame.
But all is not working well.
I''m using glRotatef to make my rotation.
Should I have to use Matrix4x4 ?
Anyone who already load a 3ds file animation, please help! thanks!

Share this post


Link to post
Share on other sites