If you're modeling on the earth, you should be using double precision for your camera position...
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Dmitry K. Sent: Tuesday, October 30, 2012 2:16 AM To: [email protected] Subject: Re: [osg-users] Streaming world and integer limits I'm saying about position of a node. If I model earth (for example) then the camera (for example) or another node will move from southern pole (0, 0) to equator (0, MAX_INT) and then it will move again to southern pole though it increments its position (not decrements), due to integer overflow (MAX_INT + inc_pos = inc_pos). Again, if I have a node with position (200, 200) and a child node with position (MAX_INT, MAX_INT) the result position of the child's node will be MAX_INT + 200, MAX_INT + 200. That means integer overflow again. These two cases are not clear for me. Sorry, if I've expressed myself not so clearly. Thanks for your answers. ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=50875#50875 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or g _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

