I stand corrected, thanks.

I guess I'm surprised that the default behavior is to manipulate the data
rather than just return what was loaded. Probably a bad idea to change the
default at this point, anyway; it would affect too many apps.
   -Paul


> Paul Martz wrote:
> > By default, the FLT loader does not convert. So, if you are 
> expecting 
> > feet but appear to be getting meters (everything is about 
> 1/3 the size 
> > you
> > expect) then the header of your FLT file probably has an incorrect 
> > value in the "units" field. If true, this is a problem with 
> your model 
> > and not a problem with OSG.
> >   
> 
> Paul,
> 
> This line of code (from ReaderWriterFLT) appears to 
> contradict what you're saying:
> 
>                 
> document.setDoUnitsConversion((options->getOptionString().find
("noUnitsConversion")==std::string::npos));
> // default to true, unless noUnitsConversion is specified.
> 
> 
> My experience has always been that the FLT loader converts to 
> meters by 
> default.
> 
> 
> --"J"
> 
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-opensce
negraph.org
> 

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to