POV-Ray : Newsgroups : povray.binaries.scene-files : Simulated urbanism macro scene: new version : Re: Simulated urbanism macro scene: new version Server Time
5 May 2024 12:50:51 EDT (-0400)
  Re: Simulated urbanism macro scene: new version  
From: Karl Anders
Date: 11 Mar 2013 16:40:01
Message: <web.513e4072e19417fa587c21660@news.povray.org>
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

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