POV-Ray : Newsgroups : povray.newusers : Question with a macro : Question with a macro Server Time
29 Jul 2024 14:24:20 EDT (-0400)
  Question with a macro  
From: Oleguer Vilella
Date: 27 Sep 2005 14:23:19
Message: <43398e17@news.povray.org>
Hi,

I've this blob:
======================================
#declare Lipid =
blob {
     threshold 0.5
sphere {
       <0, 5/2, 0>, 2/1.2, 1
       texture { RedTexture }
     }
     sphere {
       <0, -5/2, 0>, 2/1.2, 1
       texture { RedTexture }
     }
     cylinder {
       <0.8, 5/2, 0>, <0.8, -5/2, 0>, 0.5/1.2, 1
       texture { WhiteTexture }
     }
     cylinder {
       <-0.8, 5/2, 0>, <-0.8, -5/2, 0>, 0.5/1.2, 1
       texture { WhiteTexture }
     }
translate <0, 0, 0>
}
======================================
And I've done a macro to place copies from this object and to put them like 
a bridge. Now I want to put them like a sphere, I want to follow the length 
of a sphere with a radius x.
Is it a way to contain them in a sphere and follow the external contour?

Thanks in advance,
Oleguer


Post a reply to this message

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