View Full Version : video capturing

03-30-2002, 11:51 PM
how go i make a opengl application which captures the AVI data directly from a digi/webcam and plays it on the screen with least possible time lag...??

it can be done using directx / VB / VF etc.

but how do i do it with opengl ?

03-31-2002, 12:38 AM

go to http://nehe.gamdev.net there is a tutorial how to map an AVI to an OpenGL Object. As far as I can remember there is also a tutorial on using DirectX in OpenGL.
The other thing is to use an video capturing API like v4l(only for Linux) and map the data directly on a polygon/mesh.

Hope that helps,


[This message has been edited by mphanke (edited 03-31-2002).]

03-31-2002, 03:27 AM
Better make that http://nehe.gamedev.net http://www.opengl.org/discussion_boards/ubb/wink.gif