Classification:  UNCLASSIFIED 
Caveats: NONE

thanks.  that seems to have been my problem.

> -----Original Message-----
> From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-
> boun...@lists.openscenegraph.org] On Behalf Of Jean-Sébastien Guay
> Sent: Wednesday, March 11, 2009 9:31 AM
> To: OpenSceneGraph Users
> Subject: Re: [osg-users] newbie question (UNCLASSIFIED)
> 
> Hello Daniel,
> 
> >         translate->addChild( rotate.get() );
> >         camera->addChild(translate.get());
> >         translate->addChild( triangle.get() );
> 
> You're adding the triangle to the translate, but the rotate is also a
> child of the translate, so they're siblings. The triangle should be
> under both the translate and rotate, so it should be a child of rotate.
> 
>           rotate->addChild( triangle.get() );
>           translate->addChild( rotate.get() );
>           camera->addChild(translate.get());
> 
> Hope this helps,
> 
> J-S
> --
> ______________________________________________________
> Jean-Sebastien Guay    jean-sebastien.g...@cm-labs.com
>                                 http://www.cm-labs.com/
>                          http://whitestar02.webhop.org/
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-
> openscenegraph.org
Classification:  UNCLASSIFIED 
Caveats: NONE

_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to