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

Reply via email to