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

Reply via email to