POV-Ray : Newsgroups : povray.binaries.images : House building : Re: House building - and city building Server Time
30 Jul 2024 14:24:29 EDT (-0400)
  Re: House building - and city building  
From: Alain
Date: 20 May 2012 18:23:32
Message: <4fb96ee4@news.povray.org>

> On 20-5-2012 8:47, Thomas de Groot wrote:
>> On 19-5-2012 17:07, Alain wrote:
>>> Little detail, great improvement.
>> Yes, isn't it? :-)
>>
>>> For close ups, you can use the tileroof macro. Look for tileroof.inc
>> Indeed, I have that one in my Treasure Chest, although I was not very
>> enthusiastic about Gena's macro at the time, iirc. I have my own macro
>> as well, but I shall certainly have to revisit that ancient one...
>>
>
> I don't know what is was that I did not like (or did not understand more
> probably) in the past, but revisiting the tileroof macros shows me that
> all is working well, except for one little glitch:
>
> The depth of the tile surface is given by the float parameter d.
> However, inside both Roof2() and SaveRoof(), a #local d parameter is
> used as a vector. This can generate an error when d (depth) is used for
> translating the mesh. I changed #local d into #local d1 and all is well.
>
> I also added a normal and a finish block to the macros, to be loaded
> from outside.
>
> The image below shows a test result using Roof1() at left and on top,
> and Roof2() at right, and the texture I built previously for the
> Gancaloon villas.
>
>
You should remove the turbulance. Now, it looks like that roof is 
painted using some camouflage pattern...



Alain


Post a reply to this message

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