POV-Ray : Newsgroups : povray.newusers : making a a-symetrical roof : Re: making a a-symetrical roof Server Time
29 Jul 2024 06:16:17 EDT (-0400)
  Re: making a a-symetrical roof  
From: joost 1972
Date: 16 Jul 2006 08:00:01
Message: <web.44ba2838d56302e3ef5b9f0a0@news.povray.org>
"Charles C" <nomail@nomail> wrote:
> Write your roof code with variable names in place of the hard numbers....
> Then put it in a #macro like:
>
> #macro (Roof_Height, Roof_Width, Roof_Type, More_Parameters_etc)
> // roof building code here
> #end
>
> Although I bet somebody around here has some macros for this already...  It
> just depends on whether you want to write your own.
>
Thanks! The macro is just what I needed for my mutiple roofs (pffew, I was
afraid I had to give up my social life to create al my roofs. Maybe I
should try to learn POV-Ray the old fashioned way: first read the whole
tutorial and then start building my scene ......)

I am still stuck with my own complex roof building code (using a box and
subtracting four rotated boxes of the different sides). Do you (or anybody
else reading this message) know if there is a better way of building a
roof? (using prism's didn't work for me, because the sweeps are all
symetrical, and I need an a-symetrical roof).

Thanks again, Joost


Post a reply to this message

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