Draw infront of a video
Draw infront of a video
Draw infront of a video
Draw infront of a video
Draw infront of a video
Draw infront of a video Draw infront of a video Draw infront of a video Draw infront of a video Draw infront of a video Draw infront of a video Draw infront of a video Draw infront of a video
Draw infront of a video Draw infront of a video
Draw infront of a video
Go Back  Xtreme Visual Basic Talk > > > Draw infront of a video


Reply
 
Thread Tools Display Modes
  #1  
Old 06-19-2006, 09:38 AM
RcSepp RcSepp is offline
Regular
 
Join Date: Oct 2004
Posts: 55
Question Draw infront of a video


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
Reply With Quote
  #2  
Old 06-25-2006, 02:51 AM
RcSepp RcSepp is offline
Regular
 
Join Date: Oct 2004
Posts: 55
Default

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
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Draw infront of a video
Draw infront of a video
Draw infront of a video Draw infront of a video
Draw infront of a video
Draw infront of a video
Draw infront of a video Draw infront of a video Draw infront of a video Draw infront of a video Draw infront of a video Draw infront of a video Draw infront of a video
Draw infront of a video
Draw infront of a video
 
Draw infront of a video
Draw infront of a video
 
-->