|
|
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
|
|