RenderWorld() - time-parameter for everything
Posted: Thu Oct 27, 2011 9:38 pm
The new parameter for RenderWorld() is (just) used for physic calculation.
It would be really cool, if this milliseconds could be used for all OGRE3D-Timers.
Like the material-animation. A little bit better would be, if there is a possibility
to set, what entity should use which timer
It is a little bit ugly by now ... because any material-animation is going
on regardless if a game is paused or speed is set x2 or only to half speed.
My game has a couple of timers ... but it doesn't need to be that complex
It just needs one timer that is set to gamespeed (with this RenderWorld()
parameter) and a not changeable real-time timer for stuff, that shouldn't be
changed with the gamespeed. So it needs one additional command to
set the used timer for each entity (mesh/ material). I hope it is even possible
with OGRE3D.
But since 4.60 it is not that important, because now we can write a second
material-script without animation and assign it to a entity if game is pause.
So, a little improvement here is done.
But not usefull if gamespeed can
be changed in every way
MFG PMV
It would be really cool, if this milliseconds could be used for all OGRE3D-Timers.
Like the material-animation. A little bit better would be, if there is a possibility
to set, what entity should use which timer

It is a little bit ugly by now ... because any material-animation is going
on regardless if a game is paused or speed is set x2 or only to half speed.
My game has a couple of timers ... but it doesn't need to be that complex

It just needs one timer that is set to gamespeed (with this RenderWorld()
parameter) and a not changeable real-time timer for stuff, that shouldn't be
changed with the gamespeed. So it needs one additional command to
set the used timer for each entity (mesh/ material). I hope it is even possible
with OGRE3D.

But since 4.60 it is not that important, because now we can write a second
material-script without animation and assign it to a entity if game is pause.
So, a little improvement here is done.

be changed in every way

MFG PMV