|
|
clipka <ano### [at] anonymousorg> wrote:
> Am 03.04.2010 05:18, schrieb Woody:
> > Can Someone help me out. I'm trying to figure out the weird coloring on the
> > lighted portion of the bottom half of the sphere.
>
> When dealing with isosurfaces...
>
> - Try avoiding discontinuous functions like floor(), mod() or the like.
> The algorithm doesn't work well with those.
>
> - Make sure your function /crosses/ f(x)=0 (or whatever threshold you
> choose) instead of just touching it; it seems to me that your function
> never goes below the threshold, so that for some pixels POV-Ray is
> convinced that it never even reaches it.
>
> For your purposes, I'd suggest using sin() or cos() to produce the
> repetitive banding, instead of the mod(floor(),2) operation.
Have any idea what you might do? The only way I can think to do it with Sin or
Cos functions is with fourier series, but this would require an extremely long
function.
Post a reply to this message
|
|