HI Esther,

On 11/10/06, Esther Foo Rui Tse <[EMAIL PROTECTED]> wrote:
Right now, i am setting the terminal to x11, hence when I 'popen' a gnuplot,
it output the graph onto a xwindow.
 And yes, I will try to output an image today and either display it using
the TextureRectangle or RenderSurface..
 However by doing so, I think it is not going to be interactive, because
right now when the graph is output onto a window, I can use the mouse to
rotate the 3D plot, but if it is being output as an image, my guess is that
it will be static.

When gnyplot updates the image data all you need to do is call
image->dirty() and all associated texture objects will automatically
subload the image data to the texture.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to