[osg-users] Temporarily overriding alpha channel

Claudio Benghi claudio.benghi at gmail.com
Fri Feb 15 08:42:13 PST 2019


Hi,

Is there a way to override the transparency channel of a sub tree in the scene?

My application shows buildings and their components and I want to give the user a sort of x-ray vision in some circumstances to help locate items behind walls.

I know that ideally this would require to z-sort all the elements in the view, but I'm not much concerned with the correct sorting at the moment.

These models are sometimes *very* large, so something that uses an override value that I can then cheaply remove would be ideal.

Any ideas?

Thanks,
Claudio

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=75632#75632







More information about the osg-users mailing list