Hi Martin, Have you tried the using the "precision=value" osgDB::Option string? Try:
osgconv -O "precision 15" cow.osg test.osg Robert. On Fri, Dec 11, 2009 at 8:38 PM, Martin Beckett <[email protected]> wrote: > If you are using large coordinates (such as map grids) in the node position > the osg stream writer switches to scientific notation which loses accuracy. > > Can I suggest that if an output precision is selected as an option we enforce > 'fixed' ? It seems easier to make it a requirement of precision rather than > have an extra option. > > A one line change at ln264 of ReaderWriterOsg.cpp, insert "fout<<std::fixed;" > > Martin > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=21347#21347 > > > > > Attachments: > http://forum.openscenegraph.org//files/readerwriterosg_468.cpp > > > _______________________________________________ > 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
