|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
This is the scene code shown in the image in p.b.i.
Thomas
Post a reply to this message
Attachments:
Download 'windows-1252' (15 KB)
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Thomas de Groot <tho### [at] degrootorg> wrote:
> This is the scene code shown in the image in p.b.i.
>
> Thomas
Hi Thomas,
first of all: great work !
I had a SHORT look into your code and stumbled about a minor problem:
quote:
#while (Counter < Numbers)
#local Scaling = 1.0;
#if (Counter < Numbers*0.33) #local Scaling = 1.50; #end
#if (Counter < Numbers*0.66) #local Scaling = 1.25; #end
:endquote
Scaling == 1.50 is NEVER used, because if the counter is less than 0.33*Numbers,
it is also less than 0.66*Numbers, and then the second line sets Scaling == 1.25
!
These two lines have to be swapped or #elseif has to be used in the second line
for the desired effect!
Sorry ;-)
Sadly I'm involved with too many other projects at the moment (most of them NOT
raytracing-related) to play around with this...
Greetings
Karl
Post a reply to this message
|
|
| |
| |
|
|
From: Thomas de Groot
Subject: Re: Simulated urbanism macro scene: new version
Date: 12 Mar 2013 04:04:13
Message: <513ee17d$1@news.povray.org>
|
|
|
| |
| |
|
|
On 11-3-2013 21:37, Karl Anders wrote:
> Hi Thomas,
>
> first of all: great work !
Thanks!
> I had a SHORT look into your code and stumbled about a minor problem:
>
> quote:
> #while (Counter < Numbers)
>
> #local Scaling = 1.0;
> #if (Counter < Numbers*0.33) #local Scaling = 1.50; #end
> #if (Counter < Numbers*0.66) #local Scaling = 1.25; #end
>
> :endquote
> Scaling == 1.50 is NEVER used, because if the counter is less than 0.33*Numbers,
> it is also less than 0.66*Numbers, and then the second line sets Scaling == 1.25
> !
> These two lines have to be swapped or #elseif has to be used in the second line
> for the desired effect!
Oops! You are perfectly right. I did not think this through correctly.
>
> Sorry ;-)
That's all right :-) I tend to get blind to my own errors at some stage.
>
> Sadly I'm involved with too many other projects at the moment (most of them NOT
> raytracing-related) to play around with this...
Understandable. No problem.
Thomas
Post a reply to this message
|
|
| |
| |
|
|
From: Thomas de Groot
Subject: Re: Simulated urbanism macro scene: new version (2013.03.12)
Date: 12 Mar 2013 05:04:55
Message: <513eefb7@news.povray.org>
|
|
|
| |
| |
|
|
On 11-3-2013 21:37, Karl Anders wrote:
> I had a SHORT look into your code and stumbled about a minor problem:
Here is the corrected version. Thanks again, Karl.
Thomas
Post a reply to this message
Attachments:
Download 'windows-1252' (16 KB)
|
|
| |
| |
|
|
|
|
| |