PDA

View Full Version : Put Video in a polygon



05-04-2005, 02:10 AM
Hello, I`m making a project with opengl and I want to know If I can put a video in someone format in an opengl application. I must to paste a video in a simple 2D polygon.

How can I do it?

Thanks,
Conra

05-04-2005, 03:36 AM
The most practical approach is to use a textured quad and upload every frame using glTexSubImage2D.

But you really want to ask this in the "OpenGL coding: beginners" board on this site.