Copy and pasted from osgsimpleviewerProducer:

    // Producer has the y axis increase upwards, like OpenGL, and contary to
most Windowing toolkits.
    // we need to construct the event queue so that it knows about this
convention.
    viewer.getEventQueue
()->getCurrentEventState()->setMouseYOrientation(osgGA::GUIEventAdapter::Y_INCREASING_UPWARDS);

By default osgGA's events are traditional y increase drownwards, so you want
find this line in any of the other simpleviewer examples.

Robert.

Thanks! That worked on the first try :)

Thanks,
Eric
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to