Greetings, 

I am looking for suggestions from anyone that might have worked on dynamic 
terrains (with OSG). 

We currently are in need of having a very large renderable terrain that can be 
modified (locally,with respect to the viewpoint) in real time (for digging 
holes). 
I have started to look into using the osgDB::DatabasePager and the 
osg::PagedLODs. The initial results I have so far a quite interesting. I 
created a large triangle mesh (on a square surface) with multiple levels of 
details LOD of this mesh (OpenFlight format). 
I repeated this pattern across over the simulated large flat terrain and was 
able to appreciate the huge difference the multi-threading used from 
DatabasePager + PagedLOD (which I was able to generate with the osgpagedlod.cpp 
example) made compared to only using the main thread with LODs. 

I am now at the stage of experimenting on how to modify the vertex arrays 
(starting at the highest resolution level mesh) in the PLOD and being 
able to save these modifications back to disk when the PLOD has expired. I am 
not sure if the DatabasePager can handle this somehow ? (or is it completely 
impossible) 

Perhaps this has already been addressed in the forum. Thanks for any links or 
advice about this matter. 

Daniel

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=65775#65775





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

Reply via email to