torbjorn Posted August 12, 2003 Posted August 12, 2003 Hi! I extract live video from a camera, and I want to display this as the background of a Direct3D application. What I want, is to use the live video as background, and then draw 3D graphics on top. The video images are either on array form (unsigend char) or on a proprietary format (National Instrument's IMAQ Image). How can I do this in the most effective manner? I want as many frames per second as possible. Suggestions, tutorials, example code etc. are highly appreciated :-) Thanks! Torbjørn PS! I have used OpenGL in the past, but not Direct3D (yet). I am open to use both C++ and/or C#. Have not set my mind yet. Quote
Co2 Posted August 14, 2003 Posted August 14, 2003 It reminds me of Final Fantasy 7 on the pc. There was some scene like the Goldsaucer flyer and others where you could see that the picture was getting blurry because of the poor quality of the video in the background. You could still see the main character in good 3D. As for help, I cannot do more for you. Sorry. Quote
AndreRyan Posted August 14, 2003 Posted August 14, 2003 You could try putting pic on a Direct3D Surface, CopyRects it to the background then do you're normal BeginScene>EndScene>Present (This is working on D3D8 logic so the function CopyRects may have a replacement) Quote .Net allows software to be written for any version of Windows and not break like Unmanaged applications unless using Unmanaged procedures like APIs. If your program uses large amounts of memory but releases it when something else needs it, then what's the problem?
torbjorn Posted August 19, 2003 Author Posted August 19, 2003 Thanks! I'll look into this :-) (Do you have any good tutorials/samples for doing this?) T Quote
jayzul Posted October 29, 2003 Posted October 29, 2003 check this website. demo version. expensive ocx ,but can perform the abovementioned task, i supposed so. http://www.imagingcontrol.com/ic/docs/html/activex/i_new.htm Quote
danielkw Posted January 16, 2004 Posted January 16, 2004 check the sdk. lots of examples there doing exatcly this :) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.