Hi,

Dirk Reiners wrote:
> Aron Bierbaum wrote:
>> I am trying to write an OpenSG 2.0 application that requires the use
>> of double precision matrices. Is there currently a way to tell OpenSG
>> to use OSG::Matrix4d instead of OSG::Matrix4f internally? I did notice
>> that the OSG::Transform node core uses a OSG::Matrix4r typedef, should
>> I just redefine that before compiling.
> 
> That would be the easiest way. The only disadvantage is that all math will be 
> double (which is probably not that big an issue), and that there might be 
> problems with transferring .osb files between versions (Carsten, can you 
> confirm 
> that?).

yes, that would cause problems. Basically OSB i/o expects that field 
containers in the file have the same layout (i.e. fields) as those in 
the system that reads the file (older versions can still be read, but 
there is no mechanism that allows for the "evolution" of a fields type). 
   In other words, the versioning is done on the field container level 
not on the field level.
I hope you can make sense out of this, I find it a bit difficult to 
explain ;)

        Carsten

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to