|
|
No gradient warnings. And its changing does not help.
Here is another example of a strange thing. The upper part should be Jade but it
is partly red.
#include "colors.inc"
#include "textures.inc"
#include "metals.inc"
light_source {<9, 4, 4>*3.2 color White}
camera {orthographic
location <9, 5, 4>/5
look_at (<0,0,1>)/2
sky <0,0,1>
}
#declare c1 = texture {pigment {color Red}}
#declare c2 = texture {pigment {color Green}}
#declare c3 = texture {pigment {color Gray}}
#declare c4 = texture{Jade finish { diffuse 0.8 phong 3 }}
#declare k= 0.8;//(sqrt((1+T)/(3-T)));
#declare a=sqrt(3*k*k-1)/2;
#declare b=sqrt(k*k+1)/2;
#declare c=1;
#declare disk= cylinder{<0,0,0>, <0, 0, 3>, 0.8}
#declare slp= isosurface{
function{
min(
x*a+y*b+z*c-a,
x*a-y*b+z*c-a
)
}
max_gradient 4
// contained_by{box{-3, 3}}
contained_by{sphere{0, 3}}
}
intersection{
object{slp rotate <0,0,84> texture{c4} no_shadow}
object{disk texture{c1} no_reflection no_shadow}
}
Post a reply to this message
|
|