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 ?
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 ?
glHi,
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,
Martin
[This message has been edited by mphanke (edited 03-31-2002).]