|
![](/i/fill.gif) |
"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
|
![](/i/fill.gif) |