Hi folks,

maybe some of you know that addon. Can i really not use multithreading for imageprocessing for example?

would be nice if i could get some info before running into uknown spheres.

thank you

Maybe this can help

Hi Roxlu

you can’t use threaded calls to opengl, that usually results in a crash. All opengl calls must be made only on the main thread.
If you want to use ofImage on a separate thread you have to prevent it from using an opengl texture by setting


and then on the main thread you can create a texture and load the pixels into it if you want to draw your image.
(perhaps you could just set myImage.setUseTexture(true) on the main thread, once the image is loaded… not sure about this, would depend on how the textures are generated inside ofImage)

hope it helps