[osg-users] heightfield change height crashes

Thomas Maier inflo at web.de
Mon Nov 23 11:14:01 PST 2009


Hi,

i created a geode and a heightfield, then i created a shapeDrawable with the geode as argument. After that i addDrawable to the geode, and the geode to the group. Now i can see the heightfield, but when i now try to change a height it does not update the frame?
when i use dirtyDisplayList() after setting the heigth, it crashes all the time. what do i wrong?

i read about the terrainTile and its layer, but now i want to simply try to change the heigth of this simple app, what must i change?

Thank you!

Cheers,
Thomas

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







More information about the osg-users mailing list