Hi,

I had the idea to use an osg::LOD for drawing a co-ordinate system in a
geometry program.

The closer you get, the more fine-grained lines you see.

This works fine as long as you zoom in to (0,0,0). If you zoom to a
different point, it doesn´t work, as the distance from eye to center is
still too big.

I tried to use PIXEL_SIZE_ON_SCREEN, but then I see nothing all the time
(probably because I use glLines for the coordinate-system which are very
fine).

I could solve this by breaking the coordinate-system into several nodes,
thus the center would be more accurate.

But before doing that: Is there an easier way?

Thanks for your comments,

Andreas

PS: Is it allowed to post pictures here, small ones of course?

_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to