HI Stephane,

Toggle between double and float for Matrices is not too intrusive in
functionality and performance wise and is something I consider a very
bad idea.

Changing between double and float versions of Vec* and associated
Vec*Array is very intrusive and well massively impact performance - as
OpenGL only handles floats internally so any data you send it will be
converted on the CPU.

Robert.

On Dec 6, 2007 3:19 PM, Stephane Lamoliatte
<[EMAIL PROTECTED]> wrote:
> Hi Robert,
>
> OpenSceneGraph allows us to switch between float and double Matrix at
> compilation time.
> I modified OpenSceneGraph and the main CmakeLists.txt to allow us to
> choose between float and double vectors .
>
> I plan to add a "full double support" by defining a real type and let
> the user choose at the compilation time if he wants to use floats or
> doubles type for computations. In this way I expect to reach the
> accuracy that I need for my application.
>
> Do you think osg-users could be interested by this contribution ?
> Could you integrate it to OpenSceneGraph ?
>
> Best regards.
>
> --
> Stephane
> _______________________________________________
> osg-submissions mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to