Hi,

are you calling setImage only once? Are you using osg::Image::NO_DELETE? How are you changing the data? Do you get the first image correctly?

jp

On 19/07/2011 16:09, [email protected] wrote:
I tried, but it is no update.  Is there a function from viewer to update the 
screen?
________________________________________
From: [email protected] 
[[email protected]] On Behalf Of J.P. Delport 
[[email protected]]
Sent: Tuesday, 19 July 2011 11:39 PM
To: OpenSceneGraph Users
Subject: Re: [osg-users] How to update image data

see the dirty() function

On 19/07/2011 14:10, [email protected] wrote:
Hi,

      I used the Image to display data.  I used setImage and assigned I defined 
unsigned char pointer.  My question is how to let viewer to know to update the 
view after completed updated the data into image.


Regards,
Clement
_______________________________________________
osg-users mailing list
[email protected]
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.

_______________________________________________
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

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

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to