Hi Paul,

On Mon, Jul 20, 2009 at 4:57 PM, <[email protected]> wrote:
> Can I modify a Texture image in a DrawCallback or do I need to do this in an 
> UpdateCallback?

Is your app multi-threaded?  If you have multiple draw threads running
at once on the same texture then you'll need to be very careful about
updating during the cull or draw threads.  Typically the simiplicist
way to ensure reliability is just to use an update callback and set
the DataVariance to STATIC on the StateSet/Drawables.

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

Reply via email to