POV-Ray : Newsgroups : povray.advanced-users : IsoSurface Help : Re: IsoSurface Help Server Time
30 Jun 2024 02:39:47 EDT (-0400)
  Re: IsoSurface Help  
From: Woody
Date: 3 Apr 2010 17:05:01
Message: <web.4bb7ad224361fbb7b4bb947f0@news.povray.org>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.