Hello Thomas,

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?

Is your viewer multithreaded? If so, have you set the data variance on your ShapeDrawable to DYNAMIC? And are you calling dirtyDisplayList() from an update callback (or somewhere else in the update phase, not the cull nor draw)?

Hope this helps,

J-S
--
______________________________________________________
Jean-Sebastien Guay    jean-sebastien.g...@cm-labs.com
                               http://www.cm-labs.com/
                        http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to