Draw infront of a video

RcSepp
06-19-2006, 09:38 AM
Hi everyone

My question is:
I have a picturebox with some small images on it (with a lot of different alphavalues). How can I view a video in the background of those images?

The reason why I want to do this:
I make a hud-editor for my game, where the user can make his own hud in an object oriented environment. When the user builds his hud he has just a black background where he can't test the alphavalues from his panels. So I want to make a small videosequence from the game in action which the user can playback in the back of his hud to "debug" it in realtime.

Thank you for help
RcSepp

RcSepp
06-25-2006, 02:51 AM
And again I solved the problem myself.

I used direct3d to render a scene and imported the panels as simple rectangles consisting of two textured triangles.
For the video I made a "backgroundpanel" that fills the whole screen and used RenderToTexture from DirectX.AudioVideoPlayback to apply the movie.
It's not the most professional way, but it's working fine.

If anyone has troubles doing the same, just email me.

Greetings
RcSepp

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum