POV-Ray : Newsgroups : povray.binaries.images : Pavement conundrum : Re: Pavement conundrum Server Time
1 Aug 2024 16:25:03 EDT (-0400)
  Re: Pavement conundrum  
From: Thomas de Groot
Date: 10 Sep 2008 04:42:46
Message: <48c78886$1@news.povray.org>
"Jim Charter" <jrc### [at] msncom> schreef in bericht 
news:48c49700$1@news.povray.org...
>>
> This is pretty close to what I did with the circular mosaic patterns on 
> the table tops I posted recently.
> The code is real messy, it probably would be more work for you to try and 
> read it than to write your own but I will try to annotate it if you are 
> interested.
> Basically what I contrived, was a set of concentric bands or rings of a 
> preset width. Since the tiles were considered squares the width of the 
> band determined the number of tiles along the inner circumference.  But 
> each sucessive band, as you expand from the center, does not add enough 
> circumference to accommodate a whole new tile along it each time.  So what 
> I did was average the growing discrepency across the gaps of all the 
> tiles, rather than leave a gap or try to make a partial tile at the end. 
> Then when the circumference had expanded enough, I added a new tile.  Also 
> I randomized the 'starting' point for each ring of tiles.

Thank you Jim! I shall have to read this very carefully. Unfortunately, my 
math is a bit below average which is why I could not find a way out of this 
conundrum. However, there are great minds here (yours, and Chris' and Tek's) 
who readily find a solution. I am truly deeply impressed.

Thomas


Post a reply to this message

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