Andrew, You could implement it as an ortho projection (look at HUD examples) and draw text and lines as geometry based on current scale and position.
Brian This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose. • [email protected] wrote: ----- To: [email protected] From: "Andrew Thompson" <[email protected]> Sent by: [email protected] Date: 08/07/2009 09:42AM Subject: [osg-users] Infinite Grid in OSG Hi there, A simple question, would anyone know how I could implement an infinite grid in OSG? This is an image showing what I am trying to achieve. [Image: http://i137.photobucket.com/albums/q217/andyb1979/InfiniteGrid.png] Ideally as the user zooms in/out I would like the grid to subdivide. Do forgive me if this has been asked before. I found some examples about texturing a geode and moving it with your camera, but I need my grid to be static, starting at the origin, and show divisions in 1/10 unit spacing. Thank you! Andrew ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=15955#15955 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

