|
|
On Sat, 26 Feb 2000 19:29:53 -0700, Moon47 <rdm### [at] earthlinknet> 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...?
Here is something using the same technique as mr.art's reply, but more self
explanatory.
It may do what you are looking for.
#macro Cy(PitchRad) <PitchRad,0,0> <PitchRad,1,0> Rad, Strength #end
#local Rad =1;
#local Strength =2;
#local Ang=0;
blob {
#while (Ang<360)
cylinder { Cy(4) rotate y*Ang }
#local Ang=Ang+20;
#end
pigment {Red}
}
----------------------------
dav### [at] cwcomnet
http://www.hamiltonite.mcmail.com
----------------------------
Post a reply to this message
|
|