Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Avalon

Vista - About the alpha blend and alpha test in 3D

 
 
Old 01-10-2006   #1 (permalink)
Arthur_liu


 
 

About the alpha blend and alpha test in 3D

Hello everybody,

I'm working on a demo base on WPF. In the 3D part, I found that avalon only
do the alpha blend but no alpha test when drawing partual transparent
objects, Just like tree billboards and so on. So the pixels of the totally
transparent parts will also be drawn into the depth buffer(and prevent the
things behind it to be drawn). In DirectX, I can turn on the alpha test
renderstate to avoid this. If avalon is based on DirectX, is there any way
to turn the alpha test function on? Or avalon do not support this?

By the way, it seems avalon do not support the DXTC compressed textures now.
There is a large scene in our demo, so the display memory on the card will
always be eatten up quikly. Does anybody know how to enable it to use
compressed texture formats?

Thank you very much

My System SpecsSystem Spec
Old 01-10-2006   #2 (permalink)
Arthur_liu


 
 

RE: About the alpha blend and alpha test in 3D

Thank you very much. we will try your methord but I am afraid we may
encounter the performence problem - there are too much buildings and trees in
our scene. It seems the alpha test is the best way to resolve this - I pray
in the coming releases of avalon this function will be opened.

"TheRHogue" wrote:

> See my CollageView sample at http://www.therhogue.com/WinFX/
>
> It shows a Z-Buffer sorting technique, as Avalon (WPF) does not have this
> feature.
>
>
> "Arthur_liu" wrote:
>
> > Hello everybody,
> >
> > I'm working on a demo base on WPF. In the 3D part, I found that avalon only
> > do the alpha blend but no alpha test when drawing partual transparent
> > objects, Just like tree billboards and so on. So the pixels of the totally
> > transparent parts will also be drawn into the depth buffer(and prevent the
> > things behind it to be drawn). In DirectX, I can turn on the alpha test
> > renderstate to avoid this. If avalon is based on DirectX, is there any way
> > to turn the alpha test function on? Or avalon do not support this?
> >
> > By the way, it seems avalon do not support the DXTC compressed textures now.
> > There is a large scene in our demo, so the display memory on the card will
> > always be eatten up quikly. Does anybody know how to enable it to use
> > compressed texture formats?
> >
> > Thank you very much

My System SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
Alpha-Sign VB Script
Alpha Five Printer Vista hardware & devices


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46