I'm on 2.9.9. Sorry, I don't know if it happens on trunk...

Do you remember specifically changing the way the serializer outputs doubles
in case of an ascii output?

It could be because, by default, ostream's << operator uses float precision,
even if you're outputting a double.

Thanks
Eduardo

On Mon, Mar 28, 2011 at 1:00 AM, Robert Osfield <[email protected]>wrote:

> HI Eduardo,
>
> Which version of the OSG are you using?  A few months back I did some
> bug fixes for the serializers that related to Matrix output.
>
> If the problem still exists in svn/trunk then please post a small
> example that reproduces the problem so we can have a look at it.
>
> Thanks,
> Robert.
>
> On Mon, Mar 28, 2011 at 3:52 AM, Eduardo Poyart <[email protected]> wrote:
> > Hello,
> > If I use an ADD_MATRIXD_SERIALIZER to write my osg::Matrixd to an osgt
> file,
> > the serializer writes single-precision instead of double-precision.
> > Writing to osgb files work fine.
> > It's likely this happens with all float data, not just Matrixd.
> > Is it a known problem?
> > Thanks
> > Eduardo
> >
> > _______________________________________________
> > osg-users mailing list
> > [email protected]
> >
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> >
> >
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to