POV-Ray : Newsgroups : povray.binaries.images : blob help : Re: blob help Server Time
1 Aug 2024 10:18:55 EDT (-0400)
  Re: blob help  
From: Darren New
Date: 3 Sep 2008 12:46:15
Message: <48BEBF57.2010907@san.rr.com>
Niccolo wrote:
> Sweet!!!!!!!
> 
> this is exactly what i am looking for!!!!!
> 
> can you please explain to this newbie... how you did this?  ( i know you tried
> already, thanks :) )

Take the file you posted the link to.

Scroll down to the line that says
   box{<1,1,1>, <50,50,50> pigment {MediumSpringGreen}}
Cut that out, and paste it to just *after* the line that says
   intersection {
Then, change that word "intersection" to the word "difference".


What you want is something that says
   difference {
      box { .... }
      blob {
        sphere { ... }
        sphere { ... }
        sphere { ... }
        }
     }

You want the box minus the blobs - that's the "difference" keyword - it 
subtracts from the first object all the remaining objects. If you leave 
the second box at the bottom, then you're subtracting the box from 
itself and you're going to have a mess.

Try that, starting over with the version of the file you posted the link 
to, and if you don't get the same image, then post a link to the new 
file and I'll see what the differences are. HTH!

> (will acknowledge you in the paper!)

Thankee. :-)

-- 
Darren New / San Diego, CA, USA (PST)


Post a reply to this message

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