blender.script.spout icon indicating copy to clipboard operation
blender.script.spout copied to clipboard

bgl module will be replace by gpu module

Open maybites opened this issue 3 years ago • 3 comments

need to keep looking for updates in this space:

https://devtalk.blender.org/t/suggestions-feedback-on-the-extensions-for-the-gpu-module/17706 https://docs.blender.org/api/current/gpu.html#rendering-the-3d-view-into-a-texture

maybites avatar May 18 '21 21:05 maybites

I think we can close this one now :)

cansik avatar Dec 20 '23 23:12 cansik

I need it here:

https://github.com/maybites/blender-texture-sharing/blob/0f1a7c3b1a4a1284d6f00e51ea9f110426d51f5e/fbs/spout/SpoutServer.py#L31

do you have an idea how to replace it?

maybites avatar Dec 21 '23 16:12 maybites

You mean the bgl.GL_TEXTURE_2D? You could replace it with pyopengl's constant definition of GL_TEXTURE_2D, which is installed anyways with syphon-python.

cansik avatar Dec 21 '23 23:12 cansik