|
![](/i/fill.gif) |
here is a source of an iso, when rendering i get the result attached to this
message.
i do not understand why I get a flat shape,
probably there are problems calculating the normal
Or maybe something else...
If anyone knows what the problem might be...
Ill be glad to thank him
thanks for reading
Oded
the source :
#version unofficial MegaPov 0.6
#declare g = (1+sqrt(5))/2
#declare V1 = (3*g+1)*0.02
#declare V2 = (4*g+3)*0.02
isosurface {
function {
if(-1-V1*x-V2*y,1,0)+
if(-1-V1*x+V2*y,1,0)+
if(-1+V1*x-V2*y,1,0)+
if(-1+V1*x+V2*y,1,0)+
if(-1-V1*y-V2*z,1,0)+
if(-1-V1*y+V2*z,1,0)+
if(-1+V1*y-V2*z,1,0)+
if(-1+V1*y+V2*z,1,0)+
if(-1-V1*z-V2*x,1,0)+
if(-1-V1*z+V2*x,1,0)+
if(-1+V1*z-V2*x,1,0)+
if(-1+V1*z+V2*x,1,0)
}
threshold 1.5
contained_by { box {<-10,-10,-10>,<10,10,10>}}
method 1
pigment {rgb<0,1,1>}
no_shadow
}
light_source {<14,14,14> rgb<1,1,1>}
camera {
location <14,14,14>
look_at <0,0,0>
}
Post a reply to this message
Attachments:
Download 'isostar.jpg' (12 KB)
Preview of image 'isostar.jpg'
![isostar.jpg](/povray.binaries.images/attachment/%3C39e9f8b8%40news.povray.org%3E/isostar.jpg?preview=1)
|
![](/i/fill.gif) |