Thanks,
I should have messed up some state set elsewhere.

Gianluca

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Robert
Osfield
Sent: mercoledì 27 maggio 2009 10.49
To: OpenSceneGraph Users
Subject: Re: [osg-users] missed state set for a scene node

Hi Gianluca,

On Wed, May 27, 2009 at 9:42 AM, Gianluca Natale
<[email protected]> wrote:
> Does a node need a state set, always?

No, in fact you can have scene graphs where no nodes or drawables have
StateSet assigned to them, it's still a perfectly valid scene graph.
Such a naked scene graph would have to rely on the viewer's camera for
it's state, and wouldn't be that useful, but it's still valid.

For most scene graphs you'll find the StateSet's on the Geode's or
Drawable leaves.  StateSet's on internal nodes of the scene graph tend
to be used for decorating the subgraph with some new or overridden
state.

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

No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.5.339 / Virus Database: 270.12.39/2134 - Release Date: 05/26/09
20:20:00

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

Reply via email to