-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Could you try changing the file format your write out and read back from to .osgb rather than the very old .ive format. Also try using osgconv to convert the files i.e. osgconv originalfile.ive newfile.ive Then try running: osgviewer newfile.ive |
Beta Was this translation helpful? Give feedback.
-
I had fixed this problem by my net group friend.
And then call |
Beta Was this translation helpful? Give feedback.
I had fixed this problem by my net group friend.
After read model file into
OSG
, traverse all model's children nodestateset
an call:And then call
osgDB::Registry::instance()->writeNode(...)
and then read the writed model file. It will draw correctly.I don't know weather this the right method to fix this issue, if only look at the result, it maybe the right way.