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 <[email protected]>
Subject: [osg-users] Dragger rendering issue
To: OpenSceneGraph Users <[email protected]>
Message-ID:
<[email protected]>
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
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org