PDA

View Full Version : video capturing



grafix
03-31-2002, 12:51 AM
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 ?

mphanke
03-31-2002, 01:38 AM
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).]

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