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
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
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
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 :(
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
5 matches
Mail list logo