Jump to content
  • Advertisement

Archived

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

quix

ase loading

This topic is 6610 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

can somebody please tell me how to use *TM_ROTAXIS and *TM_ROTANGLE. i need to get a matrix out of that, for animation, since in animations, only this (*CONTROL_ROT_SAMPLE) info is stored, and not the matrix.

Share this post


Link to post
Share on other sites
Advertisement
i found what this rotation stuff does, but it''s saved in a relative manner. dunno how to get the absolutze values.

btw: when the loader is finished, i''ll post the source on my page: http://swiss.scene.org/quixoft/marko/

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
havent touched .ase/.asc in ages, so i dont really remember anything about it, but my guess would be that TM_ROTAXIS specifies the axis about which the object is to be rotated and TM_ROTANGLE specifies the angle(s).. sort of like glRotatef() in opengl..

-goltrpoat


Share this post


Link to post
Share on other sites
yeah, the problem was i didnt know much bout matrices.... but, after 11 hours of coding, it''s working =)

you can get it here:
http://swiss.scene.org/quixoft/marko/power3d-experiment.zip

but, the source is still a bit messed up, i needed to get the animations working, later i''ll make it to fit better into the classes. and the framenumber is hardcoded, it might crash... (here it did never)

tell me what you think of it

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!