POV-Ray : Newsgroups : povray.binaries.images : Randomized orientation of pattern instances: an infinite procedural texture Server Time
30 Jul 2024 16:27:33 EDT (-0400)
  Randomized orientation of pattern instances: an infinite procedural texture (Message 1 to 10 of 17)  
Goto Latest 10 Messages Next 7 Messages >>>
From: Samuel Benge
Subject: Randomized orientation of pattern instances: an infinite procedural texture
Date: 7 Mar 2011 01:40:00
Message: <web.4d747b835109701b942c68130@news.povray.org>
Hello,

The basis for this texture is the 'cells' pattern.

At each cell, another (visible) pattern is copied across space and randomly
translated along each axis. Each cell references eight neighboring cells,
producing a random, but coherent orientation of pattern instances stretching off
to infinity.

For this image, four images of leaves were used for input. These four images
were used to make seven images of overlapping leaves. These seven images were
used in a gradient z pattern. The resulting pattern was then unevenly scaled and
twisted along the z-axis.

In this way, an infinite texture is produced from just a few images, and it
doesn't exhibit the usual repetition present when using straight image_maps.
Common elements still show up regularly, but new images can be tossed into the
array until it's too hard to tell anymore.

Unfortunately, the input pattern is sampled 9 times. For each of those 9 times,
the cells pattern is sampled 3 times and another function is used two times
(9*(3+2))... so it renders slowly :(

~Sam


Post a reply to this message


Attachments:
Download 'mpo-leaves-a25_58b.jpg' (255 KB)

Preview of image 'mpo-leaves-a25_58b.jpg'
mpo-leaves-a25_58b.jpg


 

From: Thomas de Groot
Subject: Re: Randomized orientation of pattern instances: an infinite procedural texture
Date: 7 Mar 2011 03:07:12
Message: <4d749230$1@news.povray.org>
"Samuel Benge" <stb### [at] hotmailcom> schreef in bericht 
news:web.4d747b835109701b942c68130@news.povray.org...
> [...]
> In this way, an infinite texture is produced from just a few images, and 
> it
> doesn't exhibit the usual repetition present when using straight 
> image_maps.
> Common elements still show up regularly, but new images can be tossed into 
> the
> array until it's too hard to tell anymore.
>
> Unfortunately, the input pattern is sampled 9 times. For each of those 9 
> times,
> the cells pattern is sampled 3 times and another function is used two 
> times
> (9*(3+2))... so it renders slowly :(

I have often dreamed of something like this, Sam. This is a perfectly 
beautiful result and who cares if it renders slowly? ;-)

One more limb to your impressive POV applications tree!

Thomas


Post a reply to this message

From: clipka
Subject: Re: Randomized orientation of pattern instances: an infinite procedural texture
Date: 7 Mar 2011 03:45:22
Message: <4d749b22$1@news.povray.org>
Am 07.03.2011 07:30, schrieb Samuel Benge:

> The basis for this texture is the 'cells' pattern.
>
> At each cell, another (visible) pattern is copied across space and randomly
> translated along each axis. Each cell references eight neighboring cells,
> producing a random, but coherent orientation of pattern instances stretching off
> to infinity.

I have not the slightest idea what you're talking about, but it looks great!


Post a reply to this message

From: Edouard
Subject: Re: Randomized orientation of pattern instances: an infinite procedural tex=
Date: 7 Mar 2011 04:15:00
Message: <web.4d74a1bd9fd12700c4633eb90@news.povray.org>
"Samuel Benge" <stb### [at] hotmailcom> wrote:
> Hello,
>
> The basis for this texture is the 'cells' pattern.
>
> At each cell, another (visible) pattern is copied across space and randomly
> translated along each axis. Each cell references eight neighboring cells,
> producing a random, but coherent orientation of pattern instances stretching off
> to infinity.
>
> For this image, four images of leaves were used for input. These four images
> were used to make seven images of overlapping leaves. These seven images were
> used in a gradient z pattern. The resulting pattern was then unevenly scaled and
> twisted along the z-axis.
>
> In this way, an infinite texture is produced from just a few images, and it
> doesn't exhibit the usual repetition present when using straight image_maps.
> Common elements still show up regularly, but new images can be tossed into the
> array until it's too hard to tell anymore.
>
> Unfortunately, the input pattern is sampled 9 times. For each of those 9 times,
> the cells pattern is sampled 3 times and another function is used two times
> (9*(3+2))... so it renders slowly :(
>
> ~Sam

Ahhhhhh, fantastic!

Can't wait for the source to try it out!

A friend of mine sent me a link a few days ago to this:

http://johanneskopf.de/publications/blue_noise/

Similar idea, based on Wang Tiles (they also do recursive Wang Tiles, which is
even cleverer).

So that's twice in about 4 days I've had my ind blown with seamless tiling!

Cheers,
Edouard.


Post a reply to this message

From: Paolo Gibellini
Subject: Re: Randomized orientation of pattern instances: an infinite procedural texture
Date: 7 Mar 2011 07:02:31
Message: <4d74c957@news.povray.org>
>Samuel Benge  on date 07/03/2011 07:30 wrote:
> Hello,
>
> The basis for this texture is the 'cells' pattern.
>
> At each cell, another (visible) pattern is copied across space and randomly
> translated along each axis. Each cell references eight neighboring cells,
> producing a random, but coherent orientation of pattern instances stretching off
> to infinity.
>
> For this image, four images of leaves were used for input. These four images
> were used to make seven images of overlapping leaves. These seven images were
> used in a gradient z pattern. The resulting pattern was then unevenly scaled and
> twisted along the z-axis.
>
> In this way, an infinite texture is produced from just a few images, and it
> doesn't exhibit the usual repetition present when using straight image_maps.
> Common elements still show up regularly, but new images can be tossed into the
> array until it's too hard to tell anymore.
>
> Unfortunately, the input pattern is sampled 9 times. For each of those 9 times,
> the cells pattern is sampled 3 times and another function is used two times
> (9*(3+2))... so it renders slowly :(
>
> ~Sam

Very nice result, as usually.
I started something similar a few years ago while searching to place 
building pieces in order to achieve an infinite house (I was reading a 
Ray Bradbury novel), but render was too slow and I'm too lazy ;-)

I'm curious to see your infinite texture in action with colored 'cells' 
patterns.

;-)
Paolo


Post a reply to this message

From: Robert McGregor
Subject: Re: Randomized orientation of pattern instances: an infinite procedural tex=
Date: 7 Mar 2011 09:35:01
Message: <web.4d74ecfc9fd1270086ff1d480@news.povray.org>
"Samuel Benge" <stb### [at] hotmailcom> wrote:
> Hello,
>
> The basis for this texture is the 'cells' pattern.
>
> At each cell, another (visible) pattern is copied across space and randomly
> translated along each axis. Each cell references eight neighboring cells,
> producing a random, but coherent orientation of pattern instances stretching off
> to infinity.

Wow Sam, an amazing technique! I'm really looking forward to trying this :)

-------------------------------------------------
www.McGregorFineArt.com


Post a reply to this message

From: Ive
Subject: Re: Randomized orientation of pattern instances: an infinite procedural texture
Date: 7 Mar 2011 18:35:16
Message: <4d756bb4@news.povray.org>
Am 07.03.2011 07:30, schrieb Samuel Benge:

The image looks awesome and your technique sounds awesome - especially 
as I do not understand a word ;)

-Ive


Post a reply to this message

From: Samuel Benge
Subject: Re: Randomized orientation of pattern instances: an infinite procedural tex=
Date: 7 Mar 2011 19:10:00
Message: <web.4d7573159fd127009b77d6800@news.povray.org>
Thank you for the replies, everyone!

I have finished writing the #include and have also prepared a few example
scenes. You can find them at p.t.scene-files:

http://news.povray.org/povray.text.scene-files/thread/%3C4d756fe3%40news.povray.org%3E/

Happy Raytracing!

~Sam


Post a reply to this message

From: stbenge
Subject: Re: Randomized orientation of pattern instances: an infinite procedural texture
Date: 7 Mar 2011 19:11:08
Message: <4d75741c@news.povray.org>
On 3/7/2011 12:07 AM, Thomas de Groot wrote:
> "Samuel Benge"<stb### [at] hotmailcom>  schreef in bericht
>> ...(9*(3+2))... so it renders slowly :(
>
> I have often dreamed of something like this, Sam. This is a perfectly
> beautiful result and who cares if it renders slowly? ;-)

Thanks, Thomas. I personally avoid slow-rendering scenes like the 
plague... but some are worth the wait :)

~Sam


Post a reply to this message

From: stbenge
Subject: Re: Randomized orientation of pattern instances: an infinite proceduraltexture
Date: 7 Mar 2011 19:12:34
Message: <4d757472@news.povray.org>
On 3/7/2011 12:44 AM, clipka wrote:
> Am 07.03.2011 07:30, schrieb Samuel Benge:
>
(snip unintelligible jargon)
>
> I have not the slightest idea what you're talking about, but it looks
> great!

I should have simply stated that it makes seamless patterns...

~Sam


Post a reply to this message

Goto Latest 10 Messages Next 7 Messages >>>

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