Archived

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

Model animation

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

Does anybody know a tutorial on rendering model animations? I managed to read in a 3d model (including skeleton) and it''s not that hard to render it in opengl. But what about the animation...? I have all the keyframe information (position, rotation, matrix rotation/translation) but actually I have no idea of how to affect the model rendering with that. glMultMatrix seems to be a good way of doing that but because I render the model meshes-based I kind of have to go backwards, simply because I need to get the boneID of every vertex and manipulate the matrix every single vertex in a mesh. Applying the transformation data of the keyframe is also not the problem (just add the xyz values of the root and child bone...) but rotation started messing with my head. Knowing the xyz rotaion values of every axis per joint only makes it more complicated.... please help

Share this post


Link to post
Share on other sites
I''m a bit stressed atm, but i can only recommend you read up on matrix-stacks =)

T

--
MFC is sorta like the swedish police... It''''s full of crap, and nothing can communicate with anything else.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
isn''t there a way to manipulate the vertices manually? That would save me dozons of glpush/pop and glmultmatrix calls...

Share this post


Link to post
Share on other sites