Draw infront of a video

06-19-2006, 08: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

06-25-2006, 01: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.


EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum