[osg-users] connected shapes demo...

James Moliere jmoliere at ucsd.edu
Tue Sep 30 20:12:54 PDT 2008


Gordon,
Thanks for letting me know this.

Is there a concept of parent/child relationships in OSG with respect to 
primitive objects?  ...To make the cylinder example work?  Are all 
objects that are placed into the scene work off of global coordinates? 

James

Gordon Tomlinson wrote:
> Nope there's no example that shows this, but many things are possible with
> by writing code
>
> __________________________________________________________
> Gordon Tomlinson 
>
> gordon at GordonTomlinson.com
> IM: gordon3dBrit at 3dscenegraph.com
> www.vis-sim.com www.gordontomlinson.com 
> __________________________________________________________
>
> -----Original Message-----
> From: osg-users-bounces at lists.openscenegraph.org
> [mailto:osg-users-bounces at lists.openscenegraph.org] On Behalf Of James
> Moliere
> Sent: Tuesday, September 30, 2008 10:36 PM
> To: osg-users at lists.openscenegraph.org
> Subject: [osg-users] connected shapes demo...
>
> Hello,
> Is there a connect shapes example?  For instance, I'd like to have 3 
> cylinders where 2 of the cylinders connected sequentially at the end of 
> the previous cylinder.  When I rotate cylinder 1, I'd like the others to 
> rotate about cylinder 1 as though they are connected without doing any 
> extra calculations.  The same goes for cylinder 2 but this time cylinder 
> 1 stays stationary and cylinder 3 moves.  Is this possible?  Is there an 
> example that shows this?
>
> Thanks!
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>   




More information about the osg-users mailing list