Hi Robert,
I did as you suggested and ran osgmultiplecameras cow.osg
I can interact with the camera manipulators fine in each of the three
views, but a look at the source code for that example shows that there
should be a picking/scribe effect when I click on the cows. This doesn't
happen.
To check, I ran the same command from my old CVS directory, and that one
does do the scribe effect.
So it seems that on my installation camera manipulators are working
correctly, but not GUIEventHandlers?
I am running on Windows XP with a quite recent SVN update of OSG. I have
one window in my application with two views inside it.
Any ideas? :-)
Julian.
Robert Osfield wrote:
Hi Julian,
What happens when you run the osgmultiplecameras example? i.e.
osgmultiplecameras cow.osg
Can you interact with all three views OK?
What platform are you on? Does each view have a separate window or
share a single one?
Robert.
On 5/22/07, Julian Looser <[EMAIL PROTECTED]> wrote:
Hi,
I am using the osgViewer::CompositeViewer class and I have two views
added. I have event handlers (inherited from osgGA::GUIEventHandler)
registered for each one. The first view works great, and all events come
through to the handler without problems. However, the second view
receives events, but the events do not contain the correct information.
Specifically, when I receive the osgGA::GUIEventAdapter::MOVE event, the
mouse X and Y values are invalid (NAN).
The same code worked correctly before I upgraded from the OSG CVS
repository to the SVN repository. Does anyone know what could have
changed and what I might have to do to get the mouse position values
back?
Thanks in advance,
Julian.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/