Advertisement

Looking for some Windows (VFW) help

Started by August 19, 2005 02:30 PM
-1 comments, last by ajcrm125 19 years, 6 months ago
I'm utilizing the Microsoft VFW SDK to create textures from my webcam for OpenGL. Seems to be working but I'd like the textures to update as the video steams in. (Right now I have to constantly ask the camera for a DIB and then I create a texture using the image data) But in order to enable streaming (or what they call preview) capabilities, I need to give the function a handle to a window. I assume this is the window where the image will stream to. Is there other way to tell the camera to steam but simply steer the image data to an array of my choice? Or perhaps something else I could be missing? The webcam/VFW code I started with is short and can be found here: http://www.codeguru.com/Cpp/misc/misc/video/article.php/c3771 Thanks guys... -Adam
-Adam===================www.onecircuit.com===================

This topic is closed to new replies.

Advertisement