PDA

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



Wonwoo
03-31-2003, 10: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 ??

Obli
04-01-2003, 02: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.

Bye!

Wonwoo
04-01-2003, 05: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.