Yep, putting the extra post render camera just above the Dragger gives exactly the right visual effect. Yippe! I might try adding a stencil to give it a stipply effect, then it'll look just like Maya, lol. However (note to self: stop using the word 'However'), this gives rise to a new problem. Tthe picking does not seem to work correctly for the Dragger object below the camera. I'm using osgViewer::computeIntersections(). It seems as though it is detecting the intersections with the dragger geometry but not at the screen location where it is drawn, more like around the origin. Just a guess, but it seemed as though computeIntersections was not including the transforms above the camera in the scene?
SUMMARY:
How do I make osgViewer::computeIntersections work properly for subgraphs below my postrender camera?

Chris.

----- Original Message ----- From: "Chris Denham" <[EMAIL PROTECTED]> To: "Robert Osfield" <[EMAIL PROTECTED]>; "OpenSceneGraph Users" <[email protected]>
Sent: Thursday, October 23, 2008 5:31 PM
Subject: Re: [osg-users] The best way to make some object in a scene render after and infront everything else.


Robert,
Just read you message again realizing that you were suggesting putting the extra camera in the scene immediately above the Dragger node? Yes? I will try it. thanks again.
Chris.


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

Reply via email to