[osg-users] heightfield change height crashes

Thomas Maier inflo at web.de
Mon Nov 23 13:59:45 PST 2009


Hi,

i only have set ->setDataVariance(osg::Object::DYNAMIC); to the geode, now i also have set it to the shapeDrawable. Should i apply it only to the shapeDrawable or to both?

After this change it draws the first point of my setHeight() changes, any following setHeight() call doesnt paint anything?  If i use ->dirtyDisplayList(); on the shapeDrawable directly after calling setHeight() crashes the application.

what should i do, that it paints also the following setHeight() calls?

Thank you!

Cheers,
Thomas

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







More information about the osg-users mailing list