Page 1 of 1

Best practices for grayscale live video?

Posted: 10 Jul 2014, 04:05
by descala
Hi, we have a live video feed we'd like to render in our GUI. The frame size is 640x480 and the pixel format is L8. While searching around on the forums, I saw a reference to a dynamic texture capability, but am not sure about the state of its implementation. Currently, what is the fastest and computationally cheapest way to get my video rendered in a noesis control?

This is Noesis + Ogre, C++.

Thanks!

Re: Best practices for grayscale live video?

Posted: 11 Jul 2014, 00:33
by jsantos
Hi Diego,

The best way for this is that you handle the texture (creation, updating) on your side and wrap it on a noesisGUI texture by using the following constructor where you can pass the low level GL handle:
GLTexture2D::GLTexture2D(NsSize width, NsSize height, NsSize levels, GLuint handle);
This texture can be inserted in a Image element by using a TextureSource.

Please tell me if you need more information about these steps.

Re: Best practices for grayscale live video?

Posted: 23 Jul 2014, 22:17
by descala
This worked great; thanks!