[osg-users] Redraw osg::HeightField
robert.osfield at gmail.com
Thu Nov 12 01:10:47 PST 2009
The OSG by default creates display lists for Drawables, and these
won't know that they need to be updated unless you tell them - which
you do via drawable->dirtyDisplayList();.
On Wed, Nov 11, 2009 at 9:50 PM, Teodor Hanchevici
<calin.hanchevici at gmail.com> wrote:
> 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:
> osg-users mailing list
> osg-users at lists.openscenegraph.org
More information about the osg-users