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
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
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
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.
___
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
5 matches
Mail list logo