ms3d animation

Started by
3 comments, last by Uthman 22 years, 8 months ago
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
"a low level aho master like you couldn't kill me even if I let you"
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
~~~Cheers!Brett PorterPortaLib3D : A portable 3D game/demo libary for OpenGLCommunity Service Announcement: Read How to ask questions the smart way before posting!
your sorry? wadaya mean sorry?!?! you''re a genious! U made all this stuff I should be the one appologizing
"a low level aho master like you couldn't kill me even if I let you"
My model walks! and its animated!! :D

Edited by - Uthman on July 25, 2001 1:57:20 PM
"a low level aho master like you couldn't kill me even if I let you"
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
~~~Cheers!Brett PorterPortaLib3D : A portable 3D game/demo libary for OpenGLCommunity Service Announcement: Read How to ask questions the smart way before posting!

This topic is closed to new replies.

Advertisement