POV-Ray : Newsgroups : povray.newusers : isosurfaces? : Re: isosurfaces? Server Time
30 Jul 2024 18:17:57 EDT (-0400)
  Re: isosurfaces?  
From: Warp
Date: 4 Nov 2003 07:50:34
Message: <3fa7a09a@news.povray.org>
Christoph Hormann <chr### [at] gmxde> wrote:
> Actually you should use sqrt() instead of pow(,0.5).

  How about simply squaring the radius (R*R) instead of using the slow
sqrt() function?-)

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

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