Hi,
I tried to create a dynamic heightField by attaching a heightField Shape 
drawable into a Geode node, and then I called the dirtyDisplayList on each 
frame. I noticed that the frame rate drop a lot when the HF is quite big ( 200 
x 200 ). I did the same test by using a drawable of type geom and I get a 
better perforamance. 

My questions are the follow:
 1- What is the best to create a dynamic heightField?
 2- Is there any optimal way to update the heights of a given heightField
     shape. I did this attempt osg::HeightField::getFloatArray()->dirty() 
     but it didn't update the heights.
 3- What about the use of osg::Terrain/osg::TerrainTile to create a      
     dynamic heightField?  Is it a better alternative in term of perforamce?
 
Thank you!

Cheers,
bilal

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





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

Reply via email to