|
![](/i/fill.gif) |
between the following two pov-codes' results.
I have no idea, hope someone can tell me why two identical objects look
different
one is a simple CSG, the other an isosurface
attached are the results...
///////////Code A start/////////////
#version unofficial MegaPov 0.6
isosurface {
function {
if(1 - x,0,1)+
if(1 - y,0,1)+
if(1 - z,0,1)+
if(x + 1,0,1)+
if(y + 1,0,1)+
if(z + 1,0,1)
}
threshold 0.5
contained_by { box {<-10,-10,-10>,<10,10,10>}}
pigment {rgb 1}
}
light_source {<10,14,24> rgb 1}
camera {
location 3
look_at 0
}
//////////code B start//////////////
intersection {
plane {<1,0,0> , 1}
plane {<0,1,0> , 1}
plane {<0,0,1> , 1}
plane {-<1,0,0> , 1}
plane {-<0,1,0> , 1}
plane {-<0,0,1> , 1}
pigment {rgb 1}
}
light_source {<10,14,24> rgb 1}
camera {
location 3
look_at 0
}
////////END//////////////////
Post a reply to this message
Attachments:
Download 'CornerIsoFree.jpg' (4 KB)
Download 'CornerIso.jpg' (4 KB)
Preview of image 'CornerIsoFree.jpg'
![CornerIsoFree.jpg](/povray.binaries.images/attachment/%3C39f0dc85%40news.povray.org%3E/CornerIsoFree.jpg?preview=1)
Preview of image 'CornerIso.jpg'
![CornerIso.jpg](/povray.binaries.images/attachment/%3C39f0dc85%40news.povray.org%3E/CornerIso.jpg?preview=1)
|
![](/i/fill.gif) |