[osg-users] ImageStream and texture updates synch

2009-03-02 Thread Tanguy Fautre
Hi, From what I understand, an ImageStream indicates that the image as been changed by calling the dirty() method. From there, a texture will update its content with the new image when the scenegraph is traversed. The problem is that I've not found any way to synchronize the point where

Re: [osg-users] ImageStream and texture updates synch

2009-03-02 Thread Robert Osfield
HI Tanguy, You don't want a synchronization point in the image stream as it'd cause the rendering thread to stall waiting for the movie reading thread. Rather than add such a sync operation, it's best to double buffer the image data and then just do a pointer swap on the image to tell it which

Re: [osg-users] ImageStream and texture updates synch

2009-03-02 Thread Tanguy Fautre
To: OpenSceneGraph Users Subject: Spam: Re: [osg-users] ImageStream and texture updates synch HI Tanguy, You don't want a synchronization point in the image stream as it'd cause the rendering thread to stall waiting for the movie reading thread. Rather than add such a sync operation, it's best to double