[osg-users] How to solve the problem that the Dragger is occluded and cannot be picked up?

mirr...@gmail.com mirro187 at gmail.com
Wed Mar 24 04:44:48 PDT 2021


win10&osg3.6.4
///code
SceneCore::TranslateAxisDragger* dTranslateAxisDragger = new 
SceneCore::TranslateAxisDragger();
dTranslateAxisDragger->setupDefaultGeometry();
dTranslateAxisDragger->setAxisLineWidth(5.0f);
dTranslateAxisDragger->setPickCylinderRadius(0.05f);
dTranslateAxisDragger->setConeHeight(0.2f);
dTranslateAxisDragger->setHandleEvents(true);
dTranslateAxisDragger->setActivationModKeyMask(osgGA::GUIEventAdapter::MODKEY_CTRL);
_mapDragger.insert(std::pair<DraggerType,osg::ref_ptr<osgManipulator::Dragger> 
>(DT_TRANSLATE, dTranslateAxisDragger));

[image: QQ图片20210324183952.png]

-- 
You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to osg-users+unsubscribe at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/osg-users/6e0ab40b-664d-4eb1-9d45-e21341a7dbd8n%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20210324/ff9204cb/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: QQ??20210324183952.png
Type: image/png
Size: 354148 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20210324/ff9204cb/attachment-0001.png>


More information about the osg-users mailing list