Hi Teodor,

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();.

Robert.

On Wed, Nov 11, 2009 at 9:50 PM, Teodor Hanchevici
<[email protected]> wrote:
> Hi,
>
> 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!
>
> Cheers,
> Teodor
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=19524#19524
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to