Re: [osg-users] Mapping world cordinates to screen cordinates

2016-09-25 Thread Suraj Paul
Hi, After trying a lot, I could understand the behavior of Screen cordinate computation using the above code. SSC are computed whether or not the node is within the camera view. Its just that the camera doesnt know if the node its luking at is still within the FoV or not. Wevneed to check if

[osg-users] Mapping world cordinates to screen cordinates

2016-09-18 Thread Suraj Paul
Hi, I am trying to find out what is the screen cordinates corresponding to the world cordinates of a moving node. I read the post: http://forum.openscenegraph.org/viewtopic.php?t=2292 and referred to OSG beginners guide also. So, I did the following:- //set viewport of viewer for screensize