Hi, Lalit
You can transform point to screen coordinates by multiplying with correct
camera view matrix(if your coords in world space) and camera perspective
projection matrix. Cant help much with finding nearest points tho.
Cheers, Sergey.
02.05.2011, 14:39, "Lalit Manchwari" :
> Thanks for re
Thanks for reply,
I have some another question.
Using osgUtil::PolytopeIntersector we get the x, y, and z coordinates at
current mouse position. Can I do opposite of it, means if I have x, y and z
coordinate then, can I calculate the screen coordinate. Actually I have to find
points aroun
Hi, Lalit
You can get event queue from osgViewer viewer or view and use takeEvents
method, it leave current queue empty.
Cheers, Sergey.
30.04.2011, 10:26, "Lalit Manchwari" :
> Hello friends,
>
> I am working on 3-D point data and using osgUtil::PolytopeIntersector to get
> the x, y, and z co
Hello friends,
I am working on 3-D point data and using osgUtil::PolytopeIntersector to get
the x, y, and z coordinates on mouse move event and show it on status bar. But
my program becomes very slow.
I had make a class: class CMousePickHandle : public osgGA::GUIEventHandler and
working on osg
4 matches
Mail list logo