Christian Bar wrote: > 2007/6/27, Dirk wrote > > The base question in these situations is usually: what do you need it > for? And: OpenGL won't use doubles internally (the chips don't > support) > it, so even of the lib does, you might not get the desired result. > > > I need it because I want to visualize objects with different sizes > (from meters to light years...for example, a spacecraft, the earth and > the milky way) and animate and move them. Then it will probably not work just shifting to doubles, since OpenGL will round your vertices & matrices to float precision, and the depthbuffer is still only 24 bit. (i.e. near/far ratio should be below 10000 to get sufficient depth precision)
It can be done though, but you need to pull a few tricks. (Others: We ought to write something on the wiki about this, since it's so common. Perhaps a small framework will come out of it in the end.) Cheers, /Marcus ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
