View Full Version : Can I display live video from cameras in Opengl window ?

03-31-2003, 09:52 PM
If you study about augmented reality, you may know AR-ToolKit.

This library displays live video in OpenGL window and also draws 3D objects.

Do I have to use Direct Input or something to display live video in OpenGL window ?

Or, is it a different problem from OpenGL ??

04-01-2003, 01:18 AM
GL is only about displaying. It would be really cool if, for example Ati would provide an extension to get video from camera the vid'card video input - however, I don't think you can actually do it with GL alone.

directX surely got what you need - you may also check out another thing called OpenML (not sure about the name however).

After you read the input, it should just become a texture and here you go.


04-01-2003, 04:51 AM
Well, I already read a little about OpenML.

But I think it is not quite sure I would use it..

Hmm... the only solution will be to get video input from direct input and display it using OpenGL by texturing or setting pixel color.