[osg-users] Redraw osg::HeightField

Teodor Hanchevici calin.hanchevici at gmail.com
Wed Nov 11 13:50:24 PST 2009


Please bear with me on this one since I'm a newbie with OSG.

I am trying to update and redraw an osg::HeightField. I have created a callback and I can get the values from the grid in the event handler, I can set the values back in the grid but the display does not redraw.

What is the proper way of doing this? I have attached the code I am using. Any suggestions are appreciated.

Thank you!


Read this topic online here:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: heightfield.zip
Type: application/zip
Size: 2134 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20091111/fdbe3262/attachment.zip>

More information about the osg-users mailing list