Christian Bar wrote:
> Hi everyone,
> is there a way to make OpenSG use double precision floating point 
> instead of simple precision fp? I need double fp due to the lack of 
> precision of simple fp, so I need to make OpenSG store vector, points, 
> matrix etc. as double fp also in the node cores. Even if OpenSG 
> internally uses double fp, when OpenSG use OpenGL calls, also OpenGL 
> will use double fps?
> Do I need to recompile OpenSG with some compilation option? Or the 
> solution will simply be to substitute all Pnt3f, Matrix etc. with 
> Pnt3d, Matrix4d etc...?
> If I need to recompile OpenSG, what are the steps to be done? I use 
> MSVS 7 or 8.
We have discussed this before. Please search the mail archives.

Short version is, OpenGL hardware will still use floats, so it's not 
that meaningful to use doubles in OpenSG.

OTOH, there was some discussiong on providing a "DoubleTransform"-core 
and Geo-types with double properties, if you want to avoid doubling data 
between graphics and your high-res versions, if memory is tight and you 
need double data for your application.

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

Reply via email to