c++ - Best way to display camera video stream in modern OpenGL -
In OpenGL, I am creating an augmented reality where I want to extend a video stream captured with a kennet with virtual objects. I found some running code using Fixed Function Pipeline OpenGL, which creates
glTexImage2D , fills it with image data and then GL_QUAD with glTexCoord2f makes the screen fill. I am looking for a customized solution using modern, shader-based OpenGLL which is capable of handling only HD video streams.
I think what I hope is the answer to my question about how to get the camera video stream in OpenGL is a list of possibilities to know that I can meet my needs. .