OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

Loss of Precision in .osg files


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General
View previous topic :: View next topic  
Author Message
Martins Innus
Guest





PostPosted: Fri Oct 17, 2008 3:40 pm    Post subject:
Loss of Precision in .osg files
Reply with quote

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
}



------------------
Post generated by Mail2Forum
Back to top
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts Recent mods to XmlParser giving error... Trajce Nikolov NICK General 0 Wed Apr 17, 2019 11:09 am View latest post
No new posts Happy New Year to all OSG Users Chris Hanson General 0 Mon Jan 07, 2019 10:17 am View latest post
No new posts osg-users Digest, Vol 138, Issue 27 Zachary1234 General 0 Tue Jan 01, 2019 1:16 am View latest post
No new posts osg-users Digest, Vol 137, Issue 14 poweruserm@live.com.au General 0 Fri Nov 16, 2018 11:16 pm View latest post
No new posts What's the status of .osg files? hunter789 General 2 Fri Nov 02, 2018 1:26 am View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP