[osg-users] Trackball Manipulator change FOV

2013-01-10 Thread DavidHornung
Hello, please correct me if I should be false. With the trackball manipulator i can change the UpVector, the Position, and the Point the camera is looking at. Can I Also change the Perspective Projection Matrix, espacially the vertical FOV ? Thank you! David

Re: [osg-users] Trackball Manipulator change FOV

2013-01-10 Thread Robert Osfield
Hi David, On 10 January 2013 12:43, DavidHornung horn...@googlemail.com wrote: please correct me if I should be false. With the trackball manipulator i can change the UpVector, the Position, and the Point the camera is looking at. Can I Also change the Perspective Projection Matrix,

[osg-users] Trackball manipulator start position

2011-05-27 Thread daniele argiolas
Hi, I'm trying to modify simple application osgViewer. I want to set the initial position of the camera (trackball manipulator). How? I try to set it with setByMatrix, setByInverseMatrix but nothing. can you explain me? thanks -- Read this topic online here:

Re: [osg-users] Trackball manipulator start position

2011-05-27 Thread Robert Osfield
Hi Daniele, Try setHomePosition(..). Robert. On Fri, May 27, 2011 at 11:56 AM, daniele argiolas arj...@gmail.com wrote: Hi, I'm trying to modify simple application osgViewer. I want to set the initial position of the camera (trackball manipulator). How? I try to set it with setByMatrix,

Re: [osg-users] Trackball manipulator start position

2011-05-27 Thread daniele argiolas
ok!!! thank you very much! -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=39841#39841 ___ osg-users mailing list osg-users@lists.openscenegraph.org

[osg-users] Trackball Manipulator and RTT

2010-12-02 Thread Thomas Klemmer
Hi, I'm rendering a scene to texture and display it later on on an orthoquad with an orthocam.., now I want to manipulate the rtt cam (obviously not the orthocam) with a trackball manipulator. Could anybody point me to a tutorial or give me some addvise on where to start here!? Thank you!

Re: [osg-users] Trackball Manipulator and RTT

2010-12-02 Thread Robert Osfield
HI Thomas, The osgdistortion example sets up a render to texture slave camera that renders the scene along with inheriting the view matrix from the master Camera or the view, it uses a relative reference frame to achieve this. A second slave camera is used to a that has an absolure reference

[osg-users] Trackball manipulator and screen distance with stereo

2010-04-15 Thread Jon Goenetxea
Hi, I am trying to do a stereo application to show a terrain and anything it contains. I have used a modified trackball manipulator to capture mouse events, and move the camera. Also, I have configured the stereo inside this modified manipulator (as I have readen in other post). The problem is

Re: [osg-users] Trackball manipulator and screen distance with stereo

2010-04-15 Thread Christian Buchner
In my custom camera Manipulator I had to override the getFusionDistanceValue() function to get the desired effect. You can do the same by creating a child class of TrackballManipulator and use this instead. By default it returns _distance, which is the distance from the camera to the trackball

Re: [osg-users] Trackball manipulator and screen distance with stereo

2010-04-15 Thread Jon Goenetxea
Hi Christian, Thank you very much for your answer! :D I can't override the virtual function (I don't know why, but it dont works) :O. However, I can change the value of _distance, and it doesn't change the other features. Thank you again! Cheers, Jon -- Read this topic

Re: [osg-users] Trackball manipulator and screen distance with stereo

2010-04-15 Thread Michael Platings
I can't override the virtual function (I don't know why, but it doesn't work) :O. If you're using Visual C++ try using the override keywordhttp://msdn.microsoft.com/en-us/library/41w3sh1c.aspxto ensure you've got the correct function signature. ___

Re: [osg-users] Trackball manipulator and screen distance with stereo

2010-04-15 Thread Jon Goenetxea
Hi Michael, I didn't know that signature. Thank you for your answer! Cheers, Jon -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=26856#26856 ___ osg-users mailing list

[osg-users] Trackball Manipulator in OpenGL + OSG

2009-03-24 Thread Lingyun Yu
Hi, everybody, I used viewer-setUpViewerAsEmbeddedInWindow way as Robert suggested to embed an OSG window in OpenGL context. Then I tried to setup Manipulator like Trackball, I did some code like this: osg::observer_ptrosgViewer::GraphicsWindow gw = viewer-setUpViewerAsEmbeddedInWindow(...)

Re: [osg-users] Trackball Manipulator in OpenGL + OSG

2009-03-24 Thread Lingyun Yu
please ignore my question. I just made something stupid. [Laughing] -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=9100#9100 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] trackball manipulator and axis alignment

2008-02-15 Thread Robert Osfield
Hi Peter, If you want to set the home position of a manipulator then use the MatrixManipulator::setHomePosition(...) method. viewer.getCameraManipulator()-setHomePosition(...); Robert. On Wed, Jan 30, 2008 at 4:55 AM, Peter DeSantis [EMAIL PROTECTED] wrote: Hello I may be wrong about

[osg-users] Trackball manipulator

2008-02-15 Thread Michele Bosi
Hello to all (and welcome back Robert!), I have 2 questions about the Trackball manipuator 1- In my application I have multiple views each with a model in it (and a trackball manipulator) and when I select a view I want all the other views to stop from rotating if they are. Is there a way to

Re: [osg-users] Trackball manipulator

2008-02-15 Thread Robert Osfield
Hi Michele, On Fri, Feb 15, 2008 at 11:20 AM, Michele Bosi [EMAIL PROTECTED] wrote: Hello to all (and welcome back Robert!), I have 2 questions about the Trackball manipuator 1- In my application I have multiple views each with a model in it (and a trackball manipulator) and when I

Re: [osg-users] Trackball manipulator

2008-02-15 Thread Michele Bosi
Thank you Robert, it was very enlightning :) Michele On Fri, Feb 15, 2008 at 2:15 PM, Robert Osfield [EMAIL PROTECTED] wrote: Hi Michele, On Fri, Feb 15, 2008 at 11:20 AM, Michele Bosi [EMAIL PROTECTED] wrote: Hello to all (and welcome back Robert!), I have 2 questions about the