|
![](/i/fill.gif) |
Rob Richards wrote:
> [...]
ingo's tip is the most efficient solution, alternatively you can also use:
function{
f_base(x,y,z)
-(y>0.5)*f_detail_1(x,y,z)*.15
-(y<=0.5)*f_detail_2(x,y,z)*.15
}
You should also note that f_detail_1 and f_detail_2 will have to return
the same value on the y=0.5 plane, otherwise you will have a function
with infinite gradient.
Christoph
--
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 2 Sep. 2003 _____./\/^>_*_<^\/\.______
Post a reply to this message
|
![](/i/fill.gif) |