Thanks Alessandro
 
But I still cann't understand what c0, c1 and c2 infer.
Do c0, c1, c2  separately infer the red, blue, green color ?
 
Thanks again
 
Greg
 
----- Original Message -----
Sent: Monday, June 30, 2003 10:20 PM
Subject: Re: [JAVA3D] TextureAttributes:Combine mode

Combine
combine is kind of multitexture operation.
you can choose the combine operation by calling
setCombineRgbMode and setCombineAlphaMode
Read about available combine modes.
not all video cards will support all combine modes.
 
 
c0, c1 and c2:
The colors sources to combine. 
You can set c0, c1 and c2 by using 
setCombineRgbSource  and setCombineAlphaSource
not all combine modes will use all (3) colors sources.
read javadoc about it.
 
Alessandro
 
----- Original Message -----
From: Greg Huang
Sent: Monday, June 30, 2003 7:13 AM
Subject: [JAVA3D] TextureAttributes:Combine mode

Dear all:
 I didn't understand the mean of parameters of Combine Mode, c0, c1 and c2, when I saw the class, TextureAttributes, in the document.
Can anyone explain these parameters, and how to get them by color source and color operand?
 
Sincerely
 
Thanks in advance
 
Greg
 
 

Reply via email to