Warp wrote:
>
> I just can't get this to work. Accuracy, method and max_gradient (over 2000)
> have no effect at all. The artifact stays there.
> [...]
> #declare ObjectFunc =
> function { pigment { boxed color_map { [0 rgb 1][0 rgb 0][1 rgb 0] } } }
>
It's the old problem of abrupt changes (infinite gradient) in the
isosurface function. In general the boxed pigment is well suited for
isosurface functions but with your color_map it has the same problem as
object pattern / crackle solid / ...
If you try
function { pigment { boxed color_map { [0 rgb 1][k rgb 0][1 rgb 0] } } }
with 0.1 > k > 0.0 and check the max_gradient values (using eval), this
should become clear.
BTW, the max_gradient with k=0.0 purely depends on the accuracy.
Christoph
--
Christoph Hormann <chr### [at] gmx de>
Homepage: http://www.schunter.etc.tu-bs.de/~chris/
Post a reply to this message
|