[osg-users] Mapping world cordinates to screen cordinates

Suraj Paul suraj at isac.gov.in
Sat Sep 24 23:26:57 PDT 2016


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 the ssc are within the viewport bounds and decide to shift the camera eye to bring the node within the FoV again.

Thank you!

Cheers,
Suraj

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=68733#68733








More information about the osg-users mailing list