[osg-users] Animation Morphing
cedric.pinson at plopbyte.com
Fri Apr 29 11:42:49 PDT 2011
The example you have taken works with only one geometry inside the file.
The visitor 'getShape' return the first geometry and in your file it
returns a RigGeometry. Morphing 2 RigGeometry has not been tested, and I
am not sure you want really want to do that.
What I would do is the opposite way, meaning morphing your two geometry
you really want to morph, then use the result as input for a
RigGeometry, maybe with a custom proxy geometry class.
I hope it makes sense.
On Fri, 2011-04-29 at 19:47 +0200, Anastasia Papas wrote:
> Dear Cedric,
> Thank you very much for helping me!!
> The code is exactly as the original, only change is the file names! But I am attaching it anyway!
> Also I forgot to mention, the number of vertices is exactly the same for both files, as well as the number of drawables and so on, at least according to the osgviewer stats!
> I am uploading it here, along with the two osg files, and also I am including the directories of the textures, don't know if it's necessary but in any case it's there!
> My files are too large to be attached here, so I used an uploader service:
> Thanks again!
> Best Regards,
> Read this topic online here:
> osg-users mailing list
> osg-users at lists.openscenegraph.org
Provide OpenGL, WebGL and OpenSceneGraph services
+33 659 598 614 - cedric.pinson at plopbyte.com
http://plopbyte.com - http://osgjs.org - http://showwebgl.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: This is a digitally signed message part
More information about the osg-users