POV-Ray : Newsgroups : povray.binaries.images : Dry stone wall - help! [12.4KB] Server Time
16 Aug 2024 10:28:57 EDT (-0400)
  Dry stone wall - help! [12.4KB] (Message 4 to 13 of 23)  
<<< Previous 3 Messages Goto Latest 10 Messages Next 10 Messages >>>
From: Tom Melly
Subject: Re: Dry stone wall - help! [12.4KB]
Date: 22 Mar 2002 09:09:54
Message: <3c9b3b32$1@news.povray.org>
"Tom Melly" <tom### [at] tomandlucouk> wrote in message
news:3c9b3ade$1@news.povray.org...
>
> I'll take a look at Ken's macro (arbre.jpg?) - many thanks.
>

Ah! - I suspect that this won't help me as his bricks are too regular for a
dry-stone wall (or at least of the type I'm trying to create).


Post a reply to this message

From:
Subject: Re: Dry stone wall - help! [12.4KB]
Date: 22 Mar 2002 09:22:58
Message: <9efm9u4qstnder7tssujbna65u56gr6ohc@4ax.com>
On Fri, 22 Mar 2002 14:09:54 -0000, "Tom Melly" <tom### [at] tomandlucouk> wrote:
> Ah! - I suspect that this won't help me as his bricks are too regular for a
> dry-stone wall (or at least of the type I'm trying to create).

I didn't looked at his macro (perhaps it is pigment) but You can use centers
of cells and dimensions as radius, then create isosurface and adjust
turbulencing.

ABX


Post a reply to this message

From: Bill DeWitt
Subject: Re: Dry stone wall - help! [12.4KB]
Date: 22 Mar 2002 09:53:22
Message: <3c9b4562@news.povray.org>
"Tom Melly" <tom### [at] tomandlucouk> wrote in message
news:3c9b304f@news.povray.org...
> I'm working on a macro that will hopefully eventually generate a dry-stone
wall,
> but I'm running into problems. In the image below, the wall should approx.
fill
> the area marked out by the yellow cylinders, but it ain't.
>
> If anyone can be bothered to:
>
> a) work out what I'm trying to do
> b) work out how I'm trying to do it
> and
> c) what's going wrong

    Well, skipping a) and b) and looking only at the image, it looks like
you have a mismatched loop somewhere. It goes across but not up. I will take
a few more minutes to look it over but so far your method befuddles* me.

    *Remembering that I am easily befuddled by math-like thingies.


Post a reply to this message

From: Bill DeWitt
Subject: Re: Dry stone wall - help! [12.4KB]
Date: 22 Mar 2002 09:55:58
Message: <3c9b45fe$1@news.povray.org>
#while(ThisLen <= WallLen & ThisHi <= WallHi)

    Doesn't the above fail as soon as one of the conditions are met?
Shouldn't they be in two statements, one repeating until the other fails?


Post a reply to this message

From: Shay
Subject: Re: Dry stone wall - I see the problem
Date: 22 Mar 2002 10:02:18
Message: <3c9b477a$1@news.povray.org>
Trace hits all of the stones in the first row, because they are all stacked
in a straight line. On subsequent rows, the trace is only hitting
occasionally. One miss starts you back on the ground.

 -Shay

Tom Melly <tom### [at] tomandlucouk> wrote in message
news:3c9b304f@news.povray.org...


Post a reply to this message

From: Tom Melly
Subject: Re: Dry stone wall - help! [12.4KB]
Date: 22 Mar 2002 10:09:51
Message: <3c9b493f$1@news.povray.org>
"Bill DeWitt" <bde### [at] cflrrcom> wrote in message
news:3c9b45fe$1@news.povray.org...
>   #while(ThisLen <= WallLen & ThisHi <= WallHi)
>
>     Doesn't the above fail as soon as one of the conditions are met?
> Shouldn't they be in two statements, one repeating until the other fails?
>

Ah! I think that's it - it should be an "or" rather than an "and". Ta.


Post a reply to this message

From: Tom Melly
Subject: Re: Dry stone wall - I see the problem
Date: 22 Mar 2002 10:10:30
Message: <3c9b4966$1@news.povray.org>
"Shay" <sah### [at] simcopartscom> wrote in message news:3c9b477a$1@news.povray.org...
> Trace hits all of the stones in the first row, because they are all stacked
> in a straight line. On subsequent rows, the trace is only hitting
> occasionally. One miss starts you back on the ground.
>

Hmm, no I think that's alright. At any rate, it's intended.... I think Bill has
spotted it.


Post a reply to this message

From: Shay
Subject: Re: Dry stone wall - help! [12.4KB]
Date: 22 Mar 2002 10:16:41
Message: <3c9b4ad9@news.povray.org>
Tom Melly <tom### [at] tomandlucouk> wrote in message
news:3c9b493f$1@news.povray.org...
>
> Ah! I think that's it - it should be an "or" rather than an "and". Ta.
>

Your stones will go on for a very long distance this way.

 -Shay


Post a reply to this message

From: Tom Melly
Subject: Re: Dry stone wall - help! [12.4KB]
Date: 22 Mar 2002 10:33:46
Message: <3c9b4eda$1@news.povray.org>
"Shay" <sah### [at] simcopartscom> wrote in message news:3c9b4ad9@news.povray.org...
>
> Tom Melly <tom### [at] tomandlucouk> wrote in message
> news:3c9b493f$1@news.povray.org...
> >
> > Ah! I think that's it - it should be an "or" rather than an "and". Ta.
> >
>
> Your stones will go on for a very long distance this way.
>

Yes - Bill's pointed out the problem, but I'm still working on the solution. I
don't think there's a perfect solution using this method, except to try
different random seeds. However, it's starting to look like it might produce
some nice results.... Hopefully I'll have a second image post RSN.


Post a reply to this message

From: Shay
Subject: Re: Dry stone wall - help! [12.4KB]
Date: 22 Mar 2002 10:40:23
Message: <3c9b5067$1@news.povray.org>
Tom Melly <tom### [at] tomandlucouk> wrote in message
news:3c9b4eda$1@news.povray.org...

I'm still confident that it is the trace problem. Leave your code exactly as
it is in your post except for the following lines, and you will see what I
mean.

#declare XScale = 1;//rand(Rand1)*2 + 0.5;
#declare YScale = 1;//rand(Rand1)*2 + 0.5;
#declare ZScale = 1;//rand(Rand1)*2 + 0.5;

 -Shay


Post a reply to this message

<<< Previous 3 Messages Goto Latest 10 Messages Next 10 Messages >>>

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