[osg-users] Mouse click line

2009-05-27 Thread Mark Walker
Hi, I'm trying get the line that intersects the fulcrum of the viewing volume and the point I clicked with my mouse on the viewing surface. So I set my projection matrix with: _sceneView-setProjectionMatrixAsPerspective(_viewAngle, (float) width/height, 1, 1); I get the overall matrix

Re: [osg-users] Mouse click line

2009-05-27 Thread Chris 'Xenon' Hanson
Mark Walker wrote: Hi, I'm trying get the line that intersects the fulcrum of the viewing volume and the point I clicked with my mouse on the viewing surface. :s/fulcrum/frustum/ http://en.wikipedia.org/wiki/Frustum -- Chris 'Xenon' Hanson, omo sanza lettere Xenon

[osg-users] Mouse Click

2008-10-29 Thread Carlos Sanches
Hi all ! I m using the keboard in my aplications until now. I m trying to use the mouse but i cant capture the clicks. I m seeing one example but is using producer :( thank you ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] Mouse Click

2008-10-29 Thread Jordi Torres
Hi Carlos, You can take a look to osgkeyboardmouse in osg examples. Regards. 2008/10/29 Carlos Sanches [EMAIL PROTECTED] Hi all ! I m using the keboard in my aplications until now. I m trying to use the mouse but i cant capture the clicks. I m seeing one example but is using producer :(

Re: [osg-users] Mouse Click

2008-10-29 Thread Carlos Sanches
Ok i did it . thanks if ( osgGA::GUIEventAdapter::LEFT_MOUSE_BUTTON==ea.getButton()) { time (start); return true; } On Wed, Oct 29, 2008 at 9:41 AM, Jordi Torres [EMAIL PROTECTED]wrote: Hi Carlos, You can take a look to osgkeyboardmouse