|
|
"Sigmund Kyrre Aas" <as### [at] studntnuno> wrote...
> #declare S=.4; // setting this to less than .5 gives strange results
> #declare L=.5; // setting this to 0 still produces artifacts
> function { L*sqrt(cos(x/S)) + y^2+z^2 }
> contained_by{box{-<.8,1,1>,<.8,1,1>}}
Please note that "cos(0.64 / 0.4)" is less than one. This occurs well
within your contained_by box, which ranges from x=-0.8 to x=0.8.
Taking the square root of a negative number is not defined in real number
space. This is the source of your problem.
-Nathan
Post a reply to this message
|
|