Sure, I'd like to try it. Thanks! Ruqin
On Tue, Jan 27, 2009 at 11:04 AM, Chris Denham <[email protected]> wrote: > Have you tried my earlier suggestion?....i.e. adding a post render camera > just above the dragger. > Can be a bit fiddly to manage the scenegraph, so might be worth trying any > other ideas first. > But I can give you some code snippets if you want to try it. > Chris. > > ----- Original Message ----- From: Ruqin Zhang > To: Chris Denham ; [email protected] > Sent: Tuesday, January 27, 2009 4:45 PM > > Subject: Re: [osg-users] Dragger rendering issue > > > Thank you guys! I tried the idea of turning off the depth test. It works ok > but not perfect. Just as Chris mentioned, there is some rendering problem of > the dragger geometries. Anyone has idea of solving this problem? Thanks > again! > > Ruqin > > > On Tue, Jan 27, 2009 at 9:20 AM, Chris Denham <[email protected]> > wrote: > > 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" <[email protected]> > To: <[email protected]> > 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 <[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 > -- Research Assistant Human Computer Interaction Program Virtual Reality Applications Center(VRAC) Iowa State University
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

