WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 10-06-2006, 09:07 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Hi,

I looked at your file and experience the same problem here. The problem is that the color for most of the geometry in the model is undefined. This means that the geometry will inherit the color of the last rendered geometry. And depending on the viewpoint the last rendered geometry will change (due to culling), which causes the color to change.

The reason it works with osgViewer is because osgViewer automatically optimizes all models that are loaded. The optimization seems to fix this problem. You can manually perform the optimization in Vizard using the following command:
Code:
kob = viz.add('kob.osg')
kob.optimize()
Also, when dealing with models this large that take a long time to load, I suggest converting it to the IVE format. It will load MUCH faster. You can create a script to convert your file:
Code:
kob = viz.add('kob.osg')
kob.optimize()
kob.save('kob.ive')
Now you can use the kob.ive file and save yourself a lot of time.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 06:58 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC