Simple questions: Opacity/transparency/alpha blending
Simple questions: Opacity/transparency/alpha blending
Simple questions: Opacity/transparency/alpha blending
Simple questions: Opacity/transparency/alpha blending
Simple questions: Opacity/transparency/alpha blending
Simple questions: Opacity/transparency/alpha blending Simple questions: Opacity/transparency/alpha blending Simple questions: Opacity/transparency/alpha blending Simple questions: Opacity/transparency/alpha blending Simple questions: Opacity/transparency/alpha blending Simple questions: Opacity/transparency/alpha blending Simple questions: Opacity/transparency/alpha blending Simple questions: Opacity/transparency/alpha blending
Simple questions: Opacity/transparency/alpha blending Simple questions: Opacity/transparency/alpha blending
Simple questions: Opacity/transparency/alpha blending
Go Back  Xtreme Visual Basic Talk > > > > Simple questions: Opacity/transparency/alpha blending


Reply
 
Thread Tools Display Modes
  #1  
Old 04-24-2007, 07:12 AM
skane skane is offline
Newcomer
 
Join Date: Apr 2005
Posts: 4
Question Simple questions: Opacity/transparency/alpha blending


Hello,

I just started learning DirectX in VB.NET a week or two ago, and I currently have a very functional Flip3D (like Vista) and Expose clone. I've done a ton of research online, but there are still a few topics that have eluded me. Thanks in advance if you are able to answer any of the following questions!
  1. Is it possible to set an opacity to a texture (say, 50% opacity)? It seems like any alpha blending or transparency tutorials I've found make a single RGB color transparent... but I haven't been able to track down an example outlining semi-transparency/opacity.
  2. Is it possible to make the stage semitransparent/set an opacity? I am able to set any color I'd like to the stage via device.Clear, but using the color Color.Transparent obviously does not work. Essentially, when my Flip3D program is shown, I would like the windows/desktop/taskbar to be semi-visible. I can paint the desktop's background as a sprite into the viewport, but I would prefer to have the actual desktop/windows. Even if I did paint the desktop's DC, I would still like it to have an opacity of about 50% (see above question).
  3. A much simpler question: how can I determine the length of a DirectX.Direct3D.Font object with a given font family and size? Is there a way to calculate it?

Again, thanks in advance -- if you require any code or further explanation please feel free to post any questions.
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
Simple questions: Opacity/transparency/alpha blending
Simple questions: Opacity/transparency/alpha blending
Simple questions: Opacity/transparency/alpha blending Simple questions: Opacity/transparency/alpha blending
Simple questions: Opacity/transparency/alpha blending
Simple questions: Opacity/transparency/alpha blending
Simple questions: Opacity/transparency/alpha blending Simple questions: Opacity/transparency/alpha blending Simple questions: Opacity/transparency/alpha blending Simple questions: Opacity/transparency/alpha blending Simple questions: Opacity/transparency/alpha blending Simple questions: Opacity/transparency/alpha blending Simple questions: Opacity/transparency/alpha blending
Simple questions: Opacity/transparency/alpha blending
Simple questions: Opacity/transparency/alpha blending
 
Simple questions: Opacity/transparency/alpha blending
Simple questions: Opacity/transparency/alpha blending
 
-->