|
|
Hello,
I have written the following simple code for isosurface. It looks fine but the
surface is not smooth.
//code starts here
camera{location<0,170,0> look_at<0,0,0>}
background{White}
light_source {<-100,400,-400> color White}
box{<-100,-10,-14>,<100,10,14> texture{pigment{color rgb<0.7,1,1> transmit 0.7}}
no_shadow}
isosurface{
function{ z - (1+sin(x*2*pi/200))*6}
threshold -14
contained_by{box{<-100,-10,-14>,<100,10,14>}}
texture{pigment{ color Gray transmit 0.5}} no_shadow }
}
object{sphere{<-100,-10,-14>,5 texture{pigment{color Blue}}}}
object{sphere{<100,10,14>,5 texture{pigment{color Red}}}}
//code ends
I have difficulty in making smooth iso-surface. Thanks in advance
Avant
Post a reply to this message
|
|