|
|
On 29/03/2021 14:40, schoeni wrote:
> An easy problem here, I want this plane to be somewhat transparent to see the
> sphere behind it. I thought 'rgbf' or 'rgbt' should do it but I cannot make it
> work.
Just change your code to :
#declare tr = 0.95;
plane {
<0,phi,1>, 0
texture {
pigment {
square
color rgbt <0.50, 0.00, 0.00, tr>
color rgbt <0.00, 0.50, 0.00, tr>
color rgbt <0.50, 0.00, 0.00, tr>
color rgbt <0.00, 0.50, 0.00, tr>
}
finish {
diffuse 0.9
phong 0.5
}
}
clipped_by {
box {
<-2.5,-2.5,-2.5>,<2.5,2.5,2.5>
}
}
}
... and play with <tr> value from 0 to 1
--
Kurtz le pirate
Compagnie de la Banquise
Post a reply to this message
|
|