<div dir="ltr"><div><div>Hello,<br><br></div>I have a osg::viewer instance which I manipulate using TrackballManipulator. I would like to draw the trackball sphere, which cannot be done with this code because this sphere will be rescaled everytime I scale my scene view using the mouse wheel:<br><br><br>m_rootNode = new osg::Group();<br><br>    // Add trackball sphere<br>    osg::ref_ptr<osg::Sphere> trackSphere = new osg::Sphere( osg::Vec3(0,0,0), m_manipulator->getTrackballSize());<br>    osg::ref_ptr<osg::ShapeDrawable> trackSphereDrawable = new osg::ShapeDrawable(trackSphere);<br>    osg::ref_ptr<osg::Geode> trackSphereGeode = new osg::Geode();<br>    trackSphereGeode->addDrawable(trackSphereDrawable);<br><br>    m_rootNode->addChild(trackSphereGeode);<br><br><br></div>How can I draw a trackball sphere that keeps its size in the window even when I rescale my scene?<br></div>