[osg-users] Mapping world cordinates to screen cordinates

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


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!


Read this topic online here:

More information about the osg-users mailing list