Re: [osg-users] 2D manipulator only

2016-04-11 Thread Bruno Oliveira
Thank you all. Christian Buchner could you perhaps provide the code? 2016-04-11 18:13 GMT+01:00 Robert Osfield : > Hi Bruno, > > On 11 April 2016 at 18:05, Bruno Oliveira > wrote: > >> Is there no such functionality in OSG, using some

Re: [osg-users] 2D manipulator only

2016-04-11 Thread Robert Osfield
Hi Bruno, On 11 April 2016 at 18:05, Bruno Oliveira wrote: > Is there no such functionality in OSG, using some other manipulator? > No. The osgGA set of CameraManipulator isn't meant to be exhaustive, it's just a small collection of possible camera behaviours.

Re: [osg-users] 2D manipulator only

2016-04-11 Thread Christian Buchner
I've created a child class of osgGA::TerrainManipulator that restricts the camera so that its up vector cannot tilt sideways (no camera banking). This only allows for operations like zooming in, rotating the scene around the intersection of the screen's centerpoint with the model and pure

Re: [osg-users] 2D manipulator only

2016-04-11 Thread Bruno Oliveira
Is there no such functionality in OSG, using some other manipulator? 2016-04-11 17:35 GMT+01:00 Robert Osfield : > Hi Bruno, > > On 11 April 2016 at 16:21, Bruno Oliveira > wrote: > >> How do I allow my mouse manipulator (actually an

Re: [osg-users] 2D manipulator only

2016-04-11 Thread Robert Osfield
Hi Bruno, On 11 April 2016 at 16:21, Bruno Oliveira wrote: > How do I allow my mouse manipulator (actually an > osg::TrackballManipulator) to allow moving in 2D plane only? > > This is for vieweing an image and I want something similar to google maps > or so >

[osg-users] 2D manipulator only

2016-04-11 Thread Bruno Oliveira
Hello How do I allow my mouse manipulator (actually an osg::TrackballManipulator) to allow moving in 2D plane only? This is for vieweing an image and I want something similar to google maps or so Thank you :) ___ osg-users mailing list