[osg-users] osg Animation and Geometry Morphing Question

Stev Kookmal steva44 at hotmail.com
Fri May 27 21:26:25 PDT 2016


Hi all,

I am familiar with the OSG animation path method, where at each control point you define a time and a transformation matrix etc...  When you animate the object transforms at each step in time.  

When using channels and morph geometry, is there any way for me to do the same thing as above? IE at each time instance, define a geometry, and the geomtery continuously morphs from one to the other as time progresses; similar to the animation path method I mentioned above.

Currently, in the code I have, I create a single channel  and each channel has its own respective KeyFrameContainer, I add several keyframes and I add their respective morph targets  (the geometries I want the original geometry to morph to at those times).  Right now the geometry only morphs from the last two geometries I specified.... It does not start from the first and morph into the last chronologically.  

It runs fine if I specify from first to last, but I would need to add intermediate geometry morph targets at specified times to track the progression.

Am I missing something or is this feature not available?

Cheers,
Stev

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=67266#67266








More information about the osg-users mailing list