Log in or register to post comments

Simple Rotation Animation

September 10, 2012 - 9:06pm #1

Hello Again,

I am not good with OpenGL at all and I was wondering if there is any help I can get when it comes to rotating the 3D model on one axis. I have figured out about editing the ShaderUtils::rotatePoseMatrix and that successfully rotates the model but what about showing rotation in relation to time as in animation? Any help on this would be much appreciated.

Simple Rotation Animation

September 27, 2012 - 3:21am #3

Hi David!

Can you maybe explain me the role of the functions mentioned above (updateDominoTransform, and updatePickingTransform) in the aspect of picking 3D objects? What I am trying to do is to bind bounding boxes to different 3D objects in one scene, in order to select them.

Any help would be appreciated.


Simple Rotation Animation

September 11, 2012 - 1:41pm #2

Here is a discussion of the basic approach to accomplishing this (e.g. by stepping the animation using a measure of the time delta ) http://www.opengl.org/discussion_boards/showthread.php/149975-Measuring-render-time-for-smooth-animation

That thread includes links to examples to get you started.

You can also find examples of how to apply SampleUtils::RotatePoseMatrix in updateDominoTransform() and updatePickingTransform() in Dominoes.cpp.


Log in or register to post comments