POV-Ray : Newsgroups : povray.binaries.images : Fill any object with dense-packed spheres of any radius (16kbbu) : Re: Fill any object with dense-packed spheres of any radius (16kbbu) Server Time
19 Aug 2024 06:24:21 EDT (-0400)
  Re: Fill any object with dense-packed spheres of any radius (16kbbu)  
From: Francois Labreque
Date: 31 Dec 2000 10:04:00
Message: <3A4F4A4A.3FB3A8E2@videotron.ca>
"Greg M. Johnson" wrote:
> 
> ian mcdonald wrote:
> 
> > I never got it to work. I never came close. I don't even know where to start
> > beyond needing an intersection testing algorhythm.
> 
> You don't need that. The object function does the trick, plus knowing how the
> face centered cubic structure is stacked...
> 
> Here is the core of my algo:
> 
>    #declare obfun=pigment {object {MyObject color Black color White}}
                                     ^^^^^^^^
What's this?  

From what I understand, it is someway of making sure the inside of your
object is white, and the outside, black.  Am I right?

-- 
Francois Labreque | Rimmer: "Let's go to red alert!"
    flabreque     | Kryten: "Are you sure, Sir?  You realize it
        @         |          actually means changing the bulb!"
   videotron.ca


Post a reply to this message

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