Hi Chris,

You can achieve this affect several ways but the simplicist would
probably be to state the RenderBin number of the subgraph that you
want o overlay to a high figures, something like 11 or more to draw
after the default transparent bin, then disable the depth test so the
all fragments of the dragger are drawn.

Robert.

On Thu, Oct 23, 2008 at 10:39 AM, Chris Denham <[EMAIL PROTECTED]> wrote:
> I am trying to acheive an effect whereby some geometry in a scene is
> rendered after and in front of everything else.
> What I want to be able to do is show an osgManipulator::Dragger node
> attached to an object in a scene, but show it infront of everything, I guess
> a bit like a HUD, but where only the Dragger is rendered on the HUD.
> For anyone that has used Maya, the effect I want is similar to the
> translation/rotation/scaling manipulators, i.e. where they can be used and
> seen regardless of what objects that would normally be obscuring them.
> What's the best way to implement that?
> The most obvious way seemed to me to create a HUD style postrender camera to
> render the manipulator on top of the normally rendered scene. But I'm not
> 100% sure how to get it to only render the manipulator in the scene. Do I
> need to use nodemasks, or do I need to move the manipulator into an empty
> HUD scene along with its local to world transform?
> Neither method seemed very elegant to me, so just wondering if anyone's got
> a better idea.
> Chris D.
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to