Hi,

when I try to to read a ".osgt" file, that contains a Matrixd I get the 
following warnings printed on the console:

AsciiInputIterator::readProperty(): Unmatched property Matrixd, expecting Matrix
f

I had a look into the code and saw, that _useFloatMatrix in InputStream is 
always "TRUE", when reading a ".osgt" file. It can only be set to "FALSE", when 
a ".osgb" file is read.

In MatrixSerializer::readMatrixImplementation then, the double matrix from the 
file will be read as float matrix and then converted back to double, ofcourse 
with loosing the double precision.

Wouldn't it be better, when the matrix type in the file is checked and then 
converted into the type, that is demanded?

Thank you!

Cheers,
Alex

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=32085#32085





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to