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
ms3d animation
in model.h in AdvanceAnimation- my programs always freeze here:
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
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
your sorry? wadaya mean sorry?!?! you''re a genious! U made all this stuff I should be the one appologizing
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
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
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement