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 AlphaPi

[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 as