On 13 April 2010 10:21, Sukender <[email protected]> wrote:
> Just a question: will this only concern vertices? Or normals and texcoords
> too? I personnally only need double precison vertices, but having double
> precision for texcoords can make sense for a huge composite image (of the
> earth for instance).
>
Good point, do we need an option for each geometry attribute?:
Vertex
Normal
Color
SecondaryColor
FogCoord
TexCoord
VertexAttrib
Instead of being a bool, the option could be a bitfield e.g.
if (options->getDoublePrecisionImport() &
osgDB::Options::DOUBLE_PRECISION_COLOR)
{
//Import colours as doubles...
}
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org