Bruno Sousa Caiado wrote:
> Hello everybody, I have a problem that as came up several times
> and for which i still havenŽt found an answer. IŽll try to give a
> simple example: Imagine you have a red rectangle which, as any
> rectangle, defines a plane. Now imagine you have a green
> rectangle, smaller than the red one, and that is placed inside it and
> over the same plane. What i would like to see is something like
> this:
> -------------------------------------------------
> | |
> | ------------ |
> | | Green | Red | |
> ------------ |
> | |
> ------------------------------------------------- The problem
> is that both rectangles are defined over the same plane and, the area
> that i wanted to see green what i actually see, especially when i move
> the image with the mouse behaviors, is a blend of red and green:
> sometimes green sometimes red, sometimes both!!!! My question
> is: how can i set up the transparency attributes to get the kind of
> result iŽm looking for?? I really appreciate any help anyone
> can give me. Thank you very much for your time and good
> work!! Bruno Caiado
Transparency is probably not what you want. If a trans. green poly is
in front of or on a red poly, the result is yellow.
What you want is OrderGroups. In polygon modeling, this is often
referered to as "sub-faces", polys that are rendered in an order that
guarantees one in front of the other without Z-fighting. Check the API
for OrderGroups.
--
__________________________________________________________
Shawn Kendall Full Sail Real World Education
Course Director 3300 University BLVD
Real Time 3D for Gaming Winter Park FL 32792
[EMAIL PROTECTED] http://www.fullsail.com
__________________________________________________________
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".