POV-Ray : Newsgroups : povray.advanced-users : IsoSurface Help : Re: IsoSurface Help Server Time
30 Jun 2024 02:16:18 EDT (-0400)
  Re: IsoSurface Help  
From: clipka
Date: 3 Apr 2010 04:17:47
Message: <4bb6f9ab$1@news.povray.org>
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.


Post a reply to this message

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