Re: [osg-users] Drawing a textured cube

2016-04-11 Thread Florian GOLESTIN
Hi Christian, Thanks for your answer. Indeed using 4 faces solved the situation, now I've a cube fully textured. I've also change from triangles to quads. I don't know if I've eared anything. I add the code below (it may help someone else). Code: osg::ref_ptr vertices = new osg::Vec3Array;

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 >

Re: [osg-users] VR headset integration

2016-04-11 Thread Björn Blissing
Interions wrote: > > Any updates on your work? I'm interested in this as well. Looking at various > resources and will help out by sharing what I find. Thanks. Hi Ruth (or whatever your name is), The integration for 1.3 is working, but as Christian stated do not handle shutdown correctly.

[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

Re: [osg-users] VR headset integration

2016-04-11 Thread Christian Buchner
The osgoculusviewer works for me using the 1.3 SDK now. Some parts are missing, such as a graceful shutdown when a return to Oculus Home is requested by a user pressing the home button. I will also have a look at the in progress openvr (steamVR) integration because this one is supposed to also

Re: [osg-users] VR headset integration

2016-04-11 Thread ruth simmons
bbjorn wrote: > Hi Christian, > > > I have started working with the integration of the Oculus 1.3 SDK, but > haven't finished quite yet. Mostly because due to lack of time. > > Hopefully I will get some spare time and be able to complete the work during > the week. > > > Best regards > >