POV-Ray : Newsgroups : povray.general : Declaring blob components ? : Re: Declaring blob components ? Server Time
10 Aug 2024 05:14:04 EDT (-0400)
  Re: Declaring blob components ?  
From: Moon47
Date: 28 Feb 2000 01:48:37
Message: <38B8CB14.67017D76@earthlink.net>
Thank you i will try ( try is the operative ) this my macro skill is none at this
point.
But still worth a try...
It still is not a declaration where i can change all the declared components at
once. Or can i... Like i said i have no understanding of the macro.. Well almost
none...

"mr.art" wrote:

> You could use macros
> #macro MyCylynder(...) -y,+y,RB-.02 #end
> #local S1=-50;#local S2=-100;
> blob    {
>                 threshold .0001
>                 cylinder{0,y*.06,RB,20}
>                 cylinder{MyCylynder,S1 translate -x*.06}
>                 cylinder{MyCylynder,S1 translate -x*.06 rotate +y*120}
>                 cylinder{MyCylynder,S1 translate -x*.06 rotate -y*120}
>
>                 cylinder{MyCylynder,S2 translate <0,RB,-(RB-.01)> rotate +y*030}
>                 cylinder{MyCylynder,S2 translate <0,RB,-(RB-.01)> rotate +y*090}
>                 cylinder{MyCylynder,S2 translate <0,RB,-(RB-.01)> rotate +y*150}
>                 cylinder{MyCylynder,S2 translate <0,RB,-(RB-.01)> rotate +y*210}
>                 cylinder{MyCylynder,S2 translate <0,RB,-(RB-.01)> rotate -y*030}
>                 cylinder{MyCylynder,S2 translate <0,RB,-(RB-.01)> rotate -y*090}
>                 sphere  {0,RB,-100 scale <1,.65,1> translate -y*(RB*.35)}
>                 }
>
> Moon47 wrote:
> >
> > Basically how do i declare a blob component such as a cylinder...?
> > It will not seem to accept the strength as a valid cylinder entry...?
> >
> > I want to declare a component and use i.e. MyCylinder to rotate ti
> > around the central components w/ out rewriting the entire component...?
>
> --
> Mr. Art
>
> "Often the appearance of reality is more important
> than the reality of the appearance."
> Bill DeWitt 2000


Post a reply to this message

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