Jump to content
  • Advertisement

Archived

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

Uthman

ms3d animation

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

in model.h in AdvanceAnimation- my programs always freeze here:
		frame = pJoint->m_currentTranslationKeyframe;
		while ( frame < pJoint->m_numTranslationKeyframes && pJoint->m_pTranslationKeyframes[frame].m_time < time )
		{
			frame++;
		}
 
My program goes in the loop, and never exits until float frame is overloaded and then program terminates. It''s even worse when I comment out the line

Share this post


Link to post
Share on other sites
Advertisement
This is a bug the model tutorial that I''ve been meaning to fix up.


You need to call restart() after loading the model, but before first drawing it.

Sorry about that!

~~~
Cheers!
Brett Porter
PortaLib3D : A portable 3D game/demo libary for OpenGL

Share this post


Link to post
Share on other sites
your sorry? wadaya mean sorry?!?! you''re a genious! U made all this stuff I should be the one appologizing

Share this post


Link to post
Share on other sites
I wouldn''t go that far

BTW, If you use Portalib, or at least keep track of the changes in Model & Object3D classes, you get all these bugfixes and stuff like dyanmic shadow casting.

I will get the tut.s up to scratch though...


~~~
Cheers!
Brett Porter
PortaLib3D : A portable 3D game/demo libary for OpenGL

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!