POV-Ray : Newsgroups : povray.general : Help with a spherical container : Re: Help with a spherical container Server Time
3 Aug 2024 20:13:47 EDT (-0400)
  Re: Help with a spherical container  
From: Warp
Date: 4 Nov 2003 20:48:55
Message: <3fa85707@news.povray.org>
Christopher James Huff <cja### [at] earthlinknet> wrote:
> The method the include file uses is a bit more complex, but is overall a 
> bit faster...the loop method can require several attempts before it 
> turns up a useable point.

  This is true, but relevant only if you are going to place hundreds or
thousands of points inside the sphere... :)

  Honestly, I didn't remember the macro in the standard include file.
If I had, I would have suggested it.

-- 
#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.