<div dir="ltr">Is there no such functionality in OSG, using some other manipulator?<br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-04-11 17:35 GMT+01:00 Robert Osfield <span dir="ltr"><<a href="mailto:robert.osfield@gmail.com" target="_blank">robert.osfield@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Bruno,<br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On 11 April 2016 at 16:21, Bruno Oliveira <span dir="ltr"><<a href="mailto:bruno.manata.oliveira@gmail.com" target="_blank">bruno.manata.oliveira@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>How do I allow my mouse manipulator (actually an osg::TrackballManipulator) to allow moving in 2D plane only?<br><br></div>This is for vieweing an image and I want something similar to google maps or so<br></div></div></blockquote><div><br></div></span><div>The TrackballManipulator is a 3D manipulator and has no support for constraining to a 3D plane.<br><br></div><div>If you want 2D movement then you will need to write your own "MapManipulator" or just set the the Viewer's master Camera's ViewMatrix directly with the frame loop.<span class="HOEnZb"><font color="#888888"><br><br></font></span></div><span class="HOEnZb"><font color="#888888"><div>Robert.<br></div><div> </div></font></span></div></div></div>
<br>_______________________________________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br>
<br></blockquote></div><br></div>