What's difference RM_Absolute with RM_Interpolate ?

codex

19-02-2009 04:40:48

Recently, I converted our project(Ogre with PhysX) to NxOgre 1.0.22T5.
and, I implemented Car simulation by NxOgre.
however I haved hard time.
vehicle is rendered to Ogre engine, well.
but, wheel (created by createFourWheel) is displayed Position 0, 0, 0, continiously.
after debugging (NxOgre sources), I found it from RM_Interpolate. ( I look at render, render_Interpolate, render_Absolute )
So I changed to RM_Absolute mode.
Who teach me, interpolate <> absolute?
is it about Ogre LocalPose <> GlobalPose ?

ps. sorry, my english is bad.

betajaen

19-02-2009 09:15:43

Interpolate, means that the position is between of the last position and the current position of the wheel based on the frame rate. It requires the accumulator SceneRenderer.
Absolute, means the position is taken as it is, without modification.
Local, means the position and orientation is relative to the origin of the wheel.
Global, means the position and orientation is relative to the origin of the world.


Your English is fine, however in the future you may want to tell us your native tongue so someone in here who speaks it, can give you a better translated answer.