Jump to content
  • Advertisement

Archived

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

Daivuk

3ds file : ROT_TRACK_TAG 0xB021

This topic is 5286 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
Advertisement
Sorry I can''t help, but where did you find out how to load 3DS keyframes? And how to use them? Tell me!

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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!