Thank you for the answer, but when I do what you said the compiler show
me this error:
error C2662: 'osg::FrameStamp::setReferenceTime' : cannot convert
'this' pointer from 'const osg::FrameStamp' to 'osg::FrameStamp &'
Conversion loses qualifiers
My code:
sceneView = new osgUtil::SceneView;
sceneView->setDefaults();
sceneView->getFrameStamp()->setReferenceTime(10.0);
And I couldn't find the osgViewer class.
Charles Cosse escreveu:
osgViewer::Viewer *viewer
viewer ->getFrameStamp()->setReferenceTime()
or
viewer->getFrameStamp)()->setSimulationTime()
-charles
On 7/12/07, * Fernando Giovanini* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Hello, all.
I need to animate an object (and its children) but the animation
has an
specific frame rate and time.
How can I "tell" to the OSG those datas and animate my object?
What class i should use?
Thank you,
Fernando.
_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net <mailto:osg-users@openscenegraph.net>
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
------------------------------------------------------------------------
_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/