|
![](/i/fill.gif) |
"MPunk3" <zer### [at] yahoo com> wrote:
> Does anybody have (or feel like writing) a macro which would generate a
> couple of cones using the parameters which copied the planned spotlight's
> location, look_at, radius, and falloff settings?
How about this one; you givit the cone's tip and base coordinates, plus an
angle (in your case, radius or falloff angle):
#macro cone_angle(Tip,Base,Angle)
#local Rad=tan(radians(Angle))*vlength(Tip-Base);
cone{Tip,0,Base,Rad open}
#end
--
Margus Ramst
Personal e-mail: mar### [at] peak edu ee
TAG (Team Assistance Group) e-mail: mar### [at] tag povray org
Home page http://www.hot.ee/margusrt
Post a reply to this message
|
![](/i/fill.gif) |