[osg-users] Redraw osg::HeightField

J.P. Delport jpdelport at csir.co.za
Wed Nov 11 22:25:48 PST 2009


Hi,

Teodor Hanchevici 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.

not sure, but try dirty() function on the geode.

jp

> 
> Thank you!
> 
> Cheers, Teodor
> 
> ------------------ Read this topic online here: 
> http://forum.openscenegraph.org/viewtopic.php?p=19524#19524
> 
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> 
> _______________________________________________ osg-users mailing
> list osg-users at lists.openscenegraph.org 
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

-- 
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.  MailScanner thanks Transtec Computers for their support.



More information about the osg-users mailing list