blender.script.spout
blender.script.spout copied to clipboard
bgl module will be replace by gpu module
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
I think we can close this one now :)
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?
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.