Dynamically modifying geometry has just recently been discussed at length in
more than one thread on this email list. I suggest you review posts from the
past week or two, try the advice that has already been posted, then post
back if you are still unable to sole the issue you're encountering.

Paul Martz
Skew Matrix Software LLC
http://www.skew-matrix.com
+1 303 859 9466

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Ignazio
Sent: Monday, April 20, 2009 8:47 AM
To: [email protected]
Subject: [osg-users] Dynamic Modification..

Hi,
I'm a new member of this forum..So if I make mistakes please apologize me..
I have a problem... :)
I create a 3d application(a simple application, I have a set of cones and
Cylinders).
The structure of application is :

osg::ref_ptr<osg::Group> root;
Cosg::Cone* unitCone;
osg::Cylinder* unitCylinder; 

I associate to each Cone and Cyclinder a color using a osg::ShapeDrawable
elements in his way:
ObjectDrawable[i] = new osg::ShapeDrawable(unitCone); With a
osgViewer::viewer element i set the scene, viewer.SetSceneData(root),and run
th application,viewer.run().

Now I want apply a dinamic modification to a scene.I want modify the color
of cones or cylinders when the application is just running.For example I
read a file when i write what solid must change color .
  
Thank you.

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





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to