|
|
Warp wrote:
>
> How about simply squaring the radius (R*R) instead of using the slow
> sqrt() function?-)
Because that function would have a non-constant gradient. With the (way
too large) container box{-5,5} you need quite a high max_gradient to
correctly render it -> it will be slower than with sqrt().
Of course using the internal function f_sphere() would be even faster.
Christoph
--
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 25 Oct. 2003 _____./\/^>_*_<^\/\.______
Post a reply to this message
|
|