Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

DX9 Time Setting and AdvanceTime question

20 views
Skip to first unread message

Jack

unread,
Dec 11, 2009, 4:19:41 AM12/11/09
to
I am trying to port a dx9 application to a newer dx9 version, the old app
used ID3DXAnimationController::SetTime();
while the new one uses
ID3DXAnimationController::AdvanceTime();
There was a function in the old app which tried to
tie the time of an object constant. As far as I know, he was trying to do
this, from my knowledge.

m_pAnimController->SetTime(m_pAnimController->GetTime());

I check the interface in the DX9 documentation,
I can no longer find a matching API which performs the similar function....
What can be done in order to keep the time constant? I am wondering...
Do I just reset the time then go ahead advancing it afterwards.. would that
be inefficient or something?
Thanks
Jack


0 new messages