Advertisement Jump to content
Sign in to follow this  
ajcrm125

Looking for some Windows (VFW) help

This topic is 4899 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!