Open eix128 opened 3 years ago
It would be nice LWJGL rendering using the buffer data directly. I have a graph engine https://github.com/gephi/viz-engine but not sure how to render images.
In JavaFX you can use the PixelBuffer API and call updateBuffer(obj -> null)
when the native data changes. Updating/viewing the image is negligible compared to the work needed for decoding.
@eix128
do you mean
(a) webcam could directly create a Texture for jogamp to use?
(b) read from a Texture and make it available as though it was a webcam stream?
I've spent the last week working to get (a) in my app.
It would be good to see Libgdx support with direct opengl textures and LibGDX Textures for performance. We can also use opengl shaders directly to webcam with that.
Some people prefer JOGL. I had example for that i will post you if you want.