|
![](/i/fill.gif) |
> That might be possible when using the function as an isosurface, but
> such a function can also be used as a pattern for a pigment or normal.
> When a function has no solution in a region of space you could ignore it
> if you're using that function to define a surface, but what could you do
> if there's a point where the surface exists but the pigment and/or
> normal doesn't. E.g.
>
> sphere {0,1
> pigment {
> function {noise3d(x^0.5/K, y/K, z/K)}
> colour_map{[0 rgb <1,0,0>][1 rgb <1,1,0>]}
> }
> normal {
> function {noise3d(x^0.5/K, y/K, z/K)}
> }
> }
Well it's up to the user to make a function that doesn't do that. It could issue
a warning and replace it with zero or something.
--
Homepage: http://www.faricy.net/~davidf/
___ ______________________________
| \ |_ <dav### [at] faricy net>
|_/avid |ontaine <ICQ 55354965>
Post a reply to this message
|
![](/i/fill.gif) |