Hi Sebastian,

         I’ve downloaded the book of English version you specified. It really 
contains section which illustrates how to handle loading massive amount of 
model data. Thanks you very much.

By the way, how do you know I’m from China?  Do you tell it from my English? J

 

Glen

 

 

发件人: osg-users [mailto:[email protected]] 代表 Sebastian 
Messerschmidt
发送时间: 2014年8月27日 14:09
收件人: OpenSceneGraph Users
主题: Re: [osg-users] 答复: OSGEarth crash when loading large amount of data

 

Hi Glen,



Hi Robert,

       Thank you very much for helping me trace the problem. I will later check 
the material parameters according to what you indicate. Now I concern about 
another issue.  Suppose that I got an quite large model file and need to load 
it into OSG. Usually the model file is so big that it will take dozen of 
seconds to load. How can I quickly load the model file without waiting too 
long, thus users can have a good experience. Now my conclusion is to split the 
large model into smaller ones to decrease the loading time. If this solution is 
adopted, I also need to implement view update callback to dynamically load 
smaller model files according to current view range. So please give me some 
advice how to implement my goal? 

There are ready-to-use mechanism in OpenSceneGraph.  You can use PagedLOD and 
ProxyNodes for splitting your models into smaller pieces. The PagedLOD also 
provides the means to make the display of the node dependant on the distance. 
I really suggest to crawl through the examples here. Also the "OpenSceneGraph 3 
Cookbook" might be of great help. It is also available in Chinese language IIRC.

Cheers
Sebastian 



 

Glen

 

 

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

Reply via email to