POV-Ray : Newsgroups : povray.binaries.images : Table Leg Using Surface of Revolution : Re: Table Leg Using Surface of Revolution Server Time
14 Aug 2024 05:12:02 EDT (-0400)
  Re: Table Leg Using Surface of Revolution  
From: Peter Hertel
Date: 15 Jan 2003 17:30:38
Message: <3e25e10e$1@news.povray.org>
> > Unleash the true power of POV-Ray =)
>
> Too bad he didn't ask for railing, loops are the true pover (;
>

#macro is another true power..
Lets see..

#macro Table_Leg(Table_Leg_Location)
    cylinder {0,y*2,0.1 pigment {rgb 1} translate Table_Leg_Location}
#end

#local Z = 0;
#while (Z <= 1)
    #local Q = 0;
    #while (Q <= 1)
        Table_Leg(<Q,0,Z>)
    #local Q = Q+1;
    #end
#local Z = Z+1;
#end

:)


Post a reply to this message

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