Hi Vincent,

On Tue, Jun 9, 2009 at 7:17 AM, Vincent
Bourdier<[email protected]> wrote:
> Can't it be interesting for OSG to have a setTransparency() method on a node
> ? using material or something else, but working in each case...

The OSG's state handling is done with StateSet, you can multiple
parent paths to allow you to decorate the subgraphs with different
state.

Trying to embed low state management like transparency in nodes would
be an utter mess to implement and to maintain for developers and end
users.  Just create your scene graph appropriately and you will be
able to do what you require without any modifications to the scene
graph.

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

Reply via email to