Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Transparent objects



Hi,
thank you so much. I have just found the pdf by NVidia talking about depth
peeling. I think that's just what I was looking for. I cannot find yet the
tutorial, but I think I have to search better. Thanks  a lot for the
suggestion.


Best Regards
-- 
Lorenzo
email: email@hidden

> From: Keith Bauer <email@hidden>
> Date: Sun, 26 Dec 2004 00:51:59 +1300
> To: Lorenzo <email@hidden>
> Cc: Mac List <email@hidden>, Chaz McGarvey
> <email@hidden>
> Subject: Re: Transparent objects
> 
> there is no really good solution to this.
> 
> to be absolutely perfect, you must draw each transparent pixel
> individually, applying the layers in furthest to nearest order.
> Clearly, this isn't practical.
> 
> as a "next best" approximation, you draw each triangle in back to front
> order, splitting triangles that have ambiguous orderings relative to
> each other into three smaller triangles, BSP-style.  This is probably
> still too complex.
> 
> in the "probably OK" basket is sorting all the triangles back-to-front,
> then drawing them in order.  There are still cases that can cause
> problems here, and the particular way you sort may or may not cause
> additional problems, but it should generally work pretty well.
> 
> in the "really weird" basket is a technique called "depth peeling",
> which is an ugly hack to get order-independent transparency.  Googling
> should turn up the paper.  This probably isn't practical.
> 
> -Keith
> 

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/mac-opengl/email@hidden

This email sent to email@hidden

References: 
 >Re: Transparent objects (From: Keith Bauer <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.