Hi Ruqin,
Just wanted to add to this as Robert and JS suggested switching off the depth test for the dragger. I have actually tried that and found the results "less than ideal" for the normal dragger geometries. The problem is that the parts of the dragger geometries may not render correctly over each other with depth test off.
Chris.

----- Original Message ----- From: "Chris Denham" <c.m.den...@gmail.com>
To: <osg-users@lists.openscenegraph.org>
Sent: Tuesday, January 27, 2009 9:33 AM
Subject: Re: [osg-users] Dragger rendering issue


Hi Ruqin,
I had the same problem with Draggers, and the solution was to put the dragger object in the scenegraph below a post render camera. This works well for me as I can now also drag the selected object when it is behind other objects in the scene. To do this you may need a version of OSG later that 2.6 though, because I had some problems in relation to transforms and subgraph cameras which Robert helped me to fix. The other 'enhancement' I made was to add an autotransform node to keep the dragger geometry the same size on the screen regardless of the size/scale of the object.
Chris.

Date: Mon, 26 Jan 2009 17:47:44 -0600
From: Ruqin Zhang <ruzh...@gmail.com>
Subject: [osg-users] Dragger rendering issue
To: OpenSceneGraph Users <osg-users@lists.openscenegraph.org>
Message-ID:
<e72eee3a0901261547p65185c2bs72f4dff743737...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Hi,

I got an issue about osgManipulator::dragger. When I set up a dragger,
sometime it just hide (totally or partially) inside the selected object. So,
I am wondering if there is some sort of way that I could always force the
dragger rendered on top of the selected object to make it fully visible to
user? Thanks a lot!

Ruqin


_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to