|
![](/i/fill.gif) |
Hi!
I tried to make something small with isosurfaces and it doesn't map the
textures correctly. That's how it looks like: (
http://img339.imageshack.us/img339/7260/untitled3pw8.png ).
As you can see, the texture-pattern changes depending on the cosinus. Does
anyone have an idea how to prevent that? I really don't get why it does
that :<
Any solution would truly be great so thanks a lot in advance! :D
This is the code:
#include "colors.inc"
#include "textures.inc"
camera {
location <5,5,-9>
look_at <0,-2,0>
}
light_source {<1,1,-1>*50 color rgb 1}
isosurface {
function {(cos(sqrt(x*x+z*z)) + y)}
threshold 1
max_gradient 1.5
contained_by {box {<-4,-2,-4>,<4,2,4>}}
pigment {
checker
color Black
color White
}
}
Post a reply to this message
|
![](/i/fill.gif) |