Hello,

I was having trouble getting my models lined up when converting them to .osg format. Attached are just the tops of the files from doing a:

osgconv cow0.osg cow1.osg

You can see that the one element of "Matrix" loses precision.

Any thoughts on increasing the default precision for output of some of these fields?

I assume a change to osgDB::Output is required?

This is under OSG 2.7.3, Redhat x86_64

Thanks

Martins
Group {
  DataVariance STATIC
  name "cow.osg"
  nodeMask 0xffffffff
  cullingActive TRUE
  num_children 1
MatrixTransform {
    DataVariance UNSPECIFIED
    nodeMask 0xffffffff
    cullingActive TRUE
    referenceFrame RELATIVE
    Matrix {
      1 0 0 0
      0 1 0 0
      0 0 1 0
      123456 1234567 0 1
    }
Group {
  DataVariance STATIC
  name "cow.osg"
  nodeMask 0xffffffff
  cullingActive TRUE
  num_children 1
  MatrixTransform {
    DataVariance UNSPECIFIED
    nodeMask 0xffffffff
    cullingActive TRUE
    referenceFrame RELATIVE
    Matrix {
      1 0 0 0
      0 1 0 0
      0 0 1 0
      123456 1.23457e+006 0 1
    }
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to