Ralph Kern schrieb:
> Virginia Holmstrom schrieb:
>> This may be a newbie question, but why is there no double type in the 
>> definition of array (pasted below)?  How does one create geometry specified 
>> with doubles if Geometry::setVertexArray can not accept doubles?
>>
> 
> The OpenGL API (and quite all of the modern graphics hardware) does not 
> support double precision coordinates on vertex data. So it is of no use 
> to store double values if they just get downsized on the API side.
> 
> For large scale precision geometry, make use of transformations (which 
> work in double precision, of course).
> 
> regards Ralph
> 

correction: the OpenGL API has provisions for double vertex data (at 
least before OpenGL 3, see 
http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showflat&Number=229374
 
).

But as hardware doesn't support it, it is downsized by the drivers.

regards Ralph

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to