[osg-users] Synchronizing with textures uploads.

Altin Gjata altingjataj at gmail.com
Thu Mar 8 08:28:20 PST 2018


Ok, thanks Robert. I was under the impression that the single threaded mode was just for testing, but not the one to use for a finished product. However, it can't be any worse than my double rendering per cycle hack, so I'll stick with single threaded.

Update: I tested CullDrawThreadPerContext, DrawThreadPerContext and CullThreadPerCameraDrawThreadPerContext and it works correctly with these modes too. 
I don't know how to explain this , but the problem manifests itself only when I don't call setThreadingModel() at all (and I'm overwriting OSG's run() and frame() methods).

Anyway I'm happy with the result. Thank you again Robert and Laurens.
 
Cheers,
Altin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=73051#73051







More information about the osg-users mailing list