Jump to content
  • Advertisement
Sign in to follow this  
sam7

webcam to texture

This topic is 4276 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

Hi! What's the fastest way to pass the video output of a webcam to the grafic-hardware for use in a shader? The problem is, I'm not really into all this DirectShow concepts. Because that's probably the way to go. I'd really apreciate any sort of explanation. Or is there any chance to access the overlay data directly from the GraficHardware via hlsl? Thanks!

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Original post by sam7
The problem is, I'm not really into all this DirectShow concepts.
Because that's probably the way to go. I'd really apreciate any sort of explanation.

The easiest way would be to use DirectShow and put it onto a texture. You are going to have to combine the the webcam sample and the Texture9 sample to do this, but it shouldn't be so bad.

Share this post


Link to post
Share on other sites
Hi!
Thanks so far. The texturing is familiar, but can you please tell me what webcam tutorial you are refering to?

Thanks!

Share this post


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

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!