Share texture / variables gamma<->Python

I am currently exploring methods for sharing data between Gamma and Python 3.8. Specifically, I am interested in sending a texture from Gamma to Python. At present, I am utilizing NDI in conjunction with NDI Webcam; however, I find this solution to have excessive overhead.

I have encountered challenges while attempting to implement Spout with Python and have been unable to get it to function correctly.

Additionally, I would like to share a few variables between the two environments. Although I have successfully achieved this using UDP, I am seeking a faster alternative.

If anyone has insights or recommendations regarding shared memory solutions or alternative methods for data transfer between Gamma and Python, I would greatly appreciate your guidance.

I found this on the forums, is this C# way still possible in Gamma?

The VL.PythonNET package does exactly this with the lowest possible latency and textures are shared directly on the GPU:

However, it costs some money to use as the development of these technologies needs a lot of time and experience.

1 Like
1 Like

@bjoern great! this saves me a lot of time! I need to make spout work on python and Im done!

@tonfilm yes I am aware of the fantastic job of VL.PythonNET , its out of my budget at the moment :(