[osg-users] Animating vertices in a Geode
robert.osfield at gmail.com
Sun Mar 22 04:00:53 PDT 2009
In svn trunk there is support for morphing between geometries so have a look
at this. See osganimationmorph.
2009/3/20 Laurence Muller <L.Y.L.Muller at uva.nl>
> In the application I am working on, I am trying to create a smooth
> (transition) animation on the vertices inside an object.
> I have included an illustration to make my problem a bit more clear. The
> current scene contains one geode with a geometry attached.
> The geometry is filled with 7 quads (4 vertices per quad) and is
> illustrated as red dots in the picture. (The 'edges' are stored in a
> separate geode)
> The application allows users to select a specific layout (radial, force
> based, etc) for the quads. In the current implementation this change happens
> (It updates the vertex array with new values and uses the dirty() call on
> the vertex array).
> On the OSG wiki page I found some information about animating objects in
> the scene graph.
> However, it seems like this will only work on geode level (by modifying the
> Matrix or PositionAttitudeTransformation).
> Another problem with this method is that it seems that you need to create a
> predefined animation.
> In my case the new position of a vertex will depend on the current position
> (and the animation only needs to be used once).
> - Is there a way to use the osgAnimation functions on the vertex array and
> is it possible to use it with the transition methods from the EaseMotion
> Kind regards,
> - Laurence
> Laurence Muller
> osg-users mailing list
> osg-users at lists.openscenegraph.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the osg-users