Hi Guivanni, You don't say how you are rendering your HeightField. Using osgTerrain, using osg::ShadeDrawable, using a hand built osg::Geometry. For the later two call dirtyDisplayList() will force an update, you'll also need a dirtyBound().
As a general note, for dynamic height fields I would use vertex shader as a VBO containing the height field data and then create the offset in a vertex program. Or... use a Texture attached to the vertex program. Robert. On Sat, Mar 7, 2009 at 2:56 PM, Giovanni <[email protected]> wrote: > Hi... > > I want to build an animated HeightField (Heights of certain cells changes > during the execution). I try with a callback that modify the heights ( with > setHeight() function). > The data are modify but the shape no. I tried to set the data variance ad > dynamic but doesent't work. > > Thanks for help... > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=8058#8058 > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

