|
|
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.
I use Povray 3.7 for Mac. My Code
"""
#include "colors.inc"
background { colour Black }
#declare phi = (1/2)*(1+sqrt(5));
plane {
<0,phi,1>, 0
texture {
pigment {
square color rgbt<0.5,0,0,0.5> color rgbt<0,0.5,0,0.5> color
rgbt<0.5,0,0,0.5> color rgbt<0,0.5,0,0.5>
}
finish { diffuse 0.9 phong 0.5}
}
clipped_by { box {<-2.5,-2.5,-2.5>,<2.5,2.5,2.5>} }
}
sphere {
<0,-1,-1>,1
pigment { Blue }
}
camera {
//orthographic
location <0, 0, 5>
up <0.0, 1.0, 0.0>
right <4/3, 0.0, 0.0>
look_at <0, 0, 0>
rotate <0,0,0>
}
light_source { <200,500,-100> White
spotlight
radius 100
falloff 200
point_at <0,0,0>
}
"""
Post a reply to this message
Attachments:
Download 'plane.png' (95 KB)
Preview of image 'plane.png'
|
|