Hello Ruqin,
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!
Well, you could set the depth test off (or GL_ALWAYS) and render it last, but if it's inside your object then you won't be able to pick it anyways (with the mouse) unless you set your intersection visitor to only pick the dragger.
Another possible solution would be just scaling your dragger so that it's bigger than the object. You can use object->getBound() to get a bounding sphere, and then set a scale on the dragger itself which inherits from MatrixTransform.
Which solution you decide to use is dependent on the effect you want to achieve. Hope this helps,
J-S -- ______________________________________________________ Jean-Sebastien Guay [email protected] http://www.cm-labs.com/ http://whitestar02.webhop.org/ _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

