HI Francesco,
osgGA::GUIEventAdapter::LEFT_MOUSE_BUTTON isn't an event type, so you
can comparing two different types and not surprisingly getting the
wrong result.
Instead you should use the PUSH and RELEASE event types, within the
switch to find out when buttons are pressed or released, then
Hi all,
I have written an application based on osgart 1.0 (that uses
OpenScenegraph 1.2) and i'm trying to add mouse event support. To do
so i have written a class derived from osgGA::GUIEventHandler and
added the event Handler to the viewer.
The handle works but i have noted some problems with
Hi Francesco,
It's been a while since I used OSG 1.x... so I can't answer you; but as
osgART's source is available, I suggest you to port it so that it uses OSG
2.6 or 2.7. The work would benefit all osgART users, and I guess this will not
be very hard to do. Well I didn't use osgART so this
3 matches
Mail list logo