Mouse coordinates in world space 2003-11-20 - By Silvio Terra
Back Hi.
I know that I can get the screen coordinates of the mouse with event.getPosition( curSample->x, curSample->y); (curSample is just my own data structure) but I was wondering how can I get the world coordinates of where the mouse would be pointing at. Even a vector pointing inside the screen would be OK, since I would be using this mostly for orthographic views, and as such, would not have a hard time computing the point of intersection with any planes.
Thanks,
Silvio
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --- List-help: <mailto:listar@(protected)?Subject=help> List-archive: <http://www.highend3d.com/maya/devarchive/>
|
|