POV-Ray : Newsgroups : povray.binaries.images : Final version RandWall and RandStairs macros Server Time
13 Nov 2024 07:24:07 EST (-0500)
  Final version RandWall and RandStairs macros (Message 1 to 8 of 8)  
From: Thomas de Groot
Subject: Final version RandWall and RandStairs macros
Date: 15 Nov 2004 08:46:52
Message: <4198b34c@news.povray.org>
Both macros have been finalised, especially RandStairs that allows now
cement between the stones.
This example to show the result, using isosurface stones (using iso_csg.inc,
thanks to Christoph Hormann).

Thomas


Post a reply to this message


Attachments:
Download 'iso_csg test.jpg' (58 KB)

Preview of image 'iso_csg test.jpg'
iso_csg test.jpg


 

From: Remy Closset
Subject: Re: Final version RandWall and RandStairs macros
Date: 15 Nov 2004 11:21:24
Message: <4198d784@news.povray.org>
Hi Thomas,

Just a little remark about the macro. A builder never lays stones with 
continuous joins between two rows of masonry; as I show it on your drawing.

friendly



4198b34c@news.povray.org...
> Both macros have been finalised, especially RandStairs that allows now
> cement between the stones.
> This example to show the result, using isosurface stones (using 
> iso_csg.inc,
> thanks to Christoph Hormann).
>
> Thomas
>
>
>


Post a reply to this message


Attachments:
Download 'RandWall_mcr.jpg' (99 KB)

Preview of image 'RandWall_mcr.jpg'
RandWall_mcr.jpg


 

From: Thomas de Groot
Subject: Re: Final version RandWall and RandStairs macros
Date: 16 Nov 2004 03:28:43
Message: <4199ba3b@news.povray.org>
"Remy Closset" <rem### [at] tiscalifr> schreef in bericht
news:4198d784@news.povray.org...
> Hi Thomas,
>
> Just a little remark about the macro. A builder never lays stones with
> continuous joins between two rows of masonry; as I show it on your
drawing.
>
Yes.... I know!  :-(
I have to think about solving that somehow...

Thomas


Post a reply to this message

From: Thomas de Groot
Subject: Re: Final version RandWall and RandStairs macros
Date: 17 Nov 2004 03:31:52
Message: <419b0c78@news.povray.org>
"Remy Closset" <rem### [at] tiscalifr> schreef in bericht
news:4198d784@news.povray.org...
> Hi Thomas,
>
> Just a little remark about the macro. A builder never lays stones with
> continuous joins between two rows of masonry; as I show it on your
drawing.
>

Have been thinking about the problem... But there I would need help!
I just don't know how to solve this elegantly, and without making the macro
too slow.
So, any smart idea is welcome!!

Thomas


Post a reply to this message

From: Bryan Valencia
Subject: Re: Final version RandWall and RandStairs macros
Date: 17 Nov 2004 09:50:23
Message: <419b652f@news.povray.org>
Well, I haven't looked at your macro, but if you kept a list of where the 
seams are on the row below (as an array), you could use those numbers to 
'repel' seams on the current level.  Alternately, if it's easier, you can 
mark the centers of the stones on the row below and use that to 'attract' 
the seams on the current row.

An even better way would be to use a 2D array of numbers and just layout the 
seams in the array, making sure that the consecutive layers don't have seams 
at the same places.



"Thomas de Groot" <t.d### [at] internlnet> wrote in message 
news:419b0c78@news.povray.org...
>
> "Remy Closset" <rem### [at] tiscalifr> schreef in bericht
> news:4198d784@news.povray.org...
>> Hi Thomas,
>>
>> Just a little remark about the macro. A builder never lays stones with
>> continuous joins between two rows of masonry; as I show it on your
> drawing.
>>
>
> Have been thinking about the problem... But there I would need help!
> I just don't know how to solve this elegantly, and without making the 
> macro
> too slow.
> So, any smart idea is welcome!!
>
> Thomas
>
>


Post a reply to this message

From: Thomas de Groot
Subject: Re: Final version RandWall and RandStairs macros
Date: 18 Nov 2004 03:54:24
Message: <419c6340$1@news.povray.org>
"Bryan Valencia" <bry### [at] 209softwarecom> schreef in bericht
news:419b652f@news.povray.org...
> Well, I haven't looked at your macro, but if you kept a list of where the
> seams are on the row below (as an array), you could use those numbers to
> 'repel' seams on the current level.  Alternately, if it's easier, you can
> mark the centers of the stones on the row below and use that to 'attract'
> the seams on the current row.
>
> An even better way would be to use a 2D array of numbers and just layout
the
> seams in the array, making sure that the consecutive layers don't have
seams
> at the same places.
>
>
Thanks Bryan!
Yes, I have been thinking on the line of your first suggestion. I shall
probably going that way. The second seems good, but maybe will hamper the
random effect... Third, hm... the 2D array should be calculated first in the
macro, before placing the stones, right?

Thomas


Post a reply to this message

From: Stephen McAvoy
Subject: Re: Final version RandWall and RandStairs macros
Date: 18 Nov 2004 04:17:57
Message: <c2qop0l2srbfjirpfrait7g0rdiacoja5t@4ax.com>
On Thu, 18 Nov 2004 09:54:22 +0100, "Thomas de Groot"
<t.d### [at] internlnet> wrote:

>The second seems good, but maybe will hamper the
>random effect... 

But that is the point Thomas. Walls are not random, they have rules to
keep them standing.

Regards
        Stephen


Post a reply to this message

From: Thomas de Groot
Subject: Re: Final version RandWall and RandStairs macros
Date: 19 Nov 2004 07:52:50
Message: <419deca2@news.povray.org>
"Stephen McAvoy" <mca### [at] aolcom> schreef in bericht
news:c2qop0l2srbfjirpfrait7g0rdiacoja5t@4ax.com...
> But that is the point Thomas. Walls are not random, they have rules to
> keep them standing.
>

Aah! But there are no rules in my universe!   :-)

Seriously: Yes, that is correct, but I want the walls to be as random as
possible. So... more work to do...

Thomas


Post a reply to this message

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