|
|
This scene renders differently depending on whether the parametric is bound
by a sphere or a box. It should render the same in both instances unless
I'm overlooking something.
camera{
perspective
location <1.6,1.6,-3.2>
look_at <0,0,0>
}
light_source{
<5,10,-5>
color rgb<1,1,1>
}
parametric{
function{u*sin(2*pi*v)}
function{v}
function{u*cos(2*pi*v)}
<0,0>
<1,1>
contained_by{box{<-1,-1,-1><1,1,1>}}
//contained_by{sphere{<0,0,0>,1}}
accuracy 0.001
max_gradient 1.1
precompute 20,x,y,z
pigment{color rgb<1,0,0>}
}
Post a reply to this message
|
|