POV-Ray : Newsgroups : povray.beta-test : Help clarification for pigment functions in isos : Re: Help clarification for pigment functions in isos Server Time
31 Jul 2024 04:17:54 EDT (-0400)
  Re: Help clarification for pigment functions in isos  
From: Tom Melly
Date: 14 Sep 2001 04:21:38
Message: <3ba1be12@news.povray.org>
"Mike Williams" <mik### [at] nospamplease> wrote in message
news:Bdv### [at] econymdemoncouk...

>
> Because, of course, the specified pigment takes values that are greater
> than zero everywhere (using the new default noise_generator settings -
> bozo using the old noise algorithm had plateaus at zero) and the default
> threshold is zero. The surface only exists at points where the function
> is equal to the threshold, and that doesn't happen.
>

Aha/Doh!

> An alternative fix would be to specify something like "threshold 0.5",
> but that's a bit of a boring surface.
>

Boring I can live with, visible would be nice... what about

#declare fn_floor= function{pigment{bozo color_map{[0 rgb 0][1 rgb 1]}}}
isosurface {function {fn_floor(x,y,z).gray - 0.1}

... which would avoid upsetting any threshold purists...


Post a reply to this message

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