POV-Ray : Newsgroups : povray.advanced-users : Fractal noise Server Time
1 Nov 2024 03:15:34 EDT (-0400)
  Fractal noise (Message 1 to 10 of 13)  
Goto Latest 10 Messages Next 3 Messages >>>
From: Andrew Coppin
Subject: Fractal noise
Date: 10 May 2003 06:41:05
Message: <3ebcd741$1@news.povray.org>
Hi folks.

OK, maybe not totally POV-related, but... I'm curiose to know how POV-Ray's
"random" textures work. Textures like bozo...

If you pick two distant points in space, the value at each of those points
is random. And yet, if you pick to near-by points, you get similar values.
I'm curiose to know how on earth they managed to do that...

I can't think of a single way you could use a traditional PRNG to create a
3D texture like this without building the entire texture in memory and
referring to it. But that would require a stupid amount of RAM. But if you
were to try to compute the function at individual points, surely you'd have
great difficulty with seeding issues...

The documentation says these functions are fractal noise. Well, I know about
fractals, but I know nothing about fractal noise functions. (Last time I
read such a book - when I was 17, I believe - the statistics was WAY over my
head!) Can anyone enlighten me?

Thanks.
Andrew.


Post a reply to this message

From: Christoph Hormann
Subject: Re: Fractal noise
Date: 10 May 2003 06:51:42
Message: <3EBCD9BD.B80337A7@gmx.de>
Andrew Coppin wrote:
> 
> Hi folks.
> 
> OK, maybe not totally POV-related, but... I'm curiose to know how POV-Ray's
> "random" textures work. Textures like bozo...
> 
> [...]

A fairly good introduction can be found on:

http://freespace.virgin.net/hugo.elias/models/m_perlin.htm

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 28 Feb. 2003 _____./\/^>_*_<^\/\.______


Post a reply to this message

From: Andrew Coppin
Subject: Re: Fractal noise
Date: 10 May 2003 07:23:00
Message: <3ebce114$1@news.povray.org>
> A fairly good introduction can be found on:
>
> http://freespace.virgin.net/hugo.elias/models/m_perlin.htm

Thanks. This was helpful.

So, essentially, the Perlin noise function is built on a normal random
function where a point (in whatever dimensionallity of space) is the seed,
yielding the randomness between distant points. Then interpolation is used
to make points nearby have similar values. Oh, and the fractal bit - several
different interpolated random functions of different wavelengths and
amplitudes are added together for extra "natralness". Is that about how it
works?

Andrew.


Post a reply to this message

From: sascha
Subject: Re: Fractal noise
Date: 10 May 2003 13:06:24
Message: <3ebd3190$1@news.povray.org>
The perlin-noise function itself has got nothing to do with fractals 
(correct me if I'm wrong :-)

You get something that's called "Fractal Brownian Motion" (FBM) when you 
add "turbulence" to the pigment. The POV-Documentation explains how 
turbulence works.

-Sascha

Andrew Coppin wrote:
> A fairly good introduction can be found on:
> 
> http://freespace.virgin.net/hugo.elias/models/m_perlin.htm
> 
> 
> Thanks. This was helpful.
> 
> So, essentially, the Perlin noise function is built on a normal random
> function where a point (in whatever dimensionallity of space) is the seed,
> yielding the randomness between distant points. Then interpolation is used
> to make points nearby have similar values. Oh, and the fractal bit - several
> different interpolated random functions of different wavelengths and
> amplitudes are added together for extra "natralness". Is that about how it
> works?
> 
> Andrew.
> 
>


Post a reply to this message

From: Christoph Hormann
Subject: Re: Fractal noise
Date: 10 May 2003 13:56:47
Message: <3EBD3D5F.E6047064@gmx.de>
sascha wrote:
> 
> You get something that's called "Fractal Brownian Motion" (FBM) when you
> add "turbulence" to the pigment. The POV-Documentation explains how
> turbulence works.

'fBm' stands for 'fractional Brownian motion'.

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 28 Feb. 2003 _____./\/^>_*_<^\/\.______


Post a reply to this message

From: sascha
Subject: Re: Fractal noise
Date: 11 May 2003 03:18:55
Message: <3ebdf95f@news.povray.org>
You're right, of course.

Christoph Hormann wrote:
> 
> sascha wrote:
> 
>>You get something that's called "Fractal Brownian Motion" (FBM) when you
>>add "turbulence" to the pigment. The POV-Documentation explains how
>>turbulence works.
> 
> 
> 'fBm' stands for 'fractional Brownian motion'.
> 
> Christoph
>


Post a reply to this message

From: Peter Popov
Subject: Re: Fractal noise
Date: 12 May 2003 04:19:15
Message: <q7lubvcvspu6h4f1sabho2niej44dcp26q@4ax.com>
On Sat, 10 May 2003 19:06:21 +0200, sascha
<sas### [at] userssourceforgenet> wrote:

>The perlin-noise function itself has got nothing to do with fractals 
>(correct me if I'm wrong :-)

I think what "fractal" stands for in this context is that is
inherently self-similar in different scales (to a limited extent
though, unlike "true" fractals)


Peter Popov ICQ : 15002700
Personal e-mail : pet### [at] vipbg
TAG      e-mail : pet### [at] tagpovrayorg


Post a reply to this message

From: Warp
Subject: Re: Fractal noise
Date: 12 May 2003 07:36:13
Message: <3ebf872c@news.povray.org>
Peter Popov <pet### [at] vipbg> wrote:
> I think what "fractal" stands for in this context is that is
> inherently self-similar in different scales (to a limited extent
> though, unlike "true" fractals)

  No, the word "fractal" does not imply self-similarity. The origin of
the word is related to mathematical calculations of the dimensions of
a fractal shape, which is fractional in a mathematical sense.

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

From: Christopher James Huff
Subject: Re: Fractal noise
Date: 12 May 2003 12:13:55
Message: <cjameshuff-1A40E6.12140512052003@netplex.aussie.org>
In article <3ebf872c@news.povray.org>, Warp <war### [at] tagpovrayorg> 
wrote:

>   No, the word "fractal" does not imply self-similarity. The origin of
> the word is related to mathematical calculations of the dimensions of
> a fractal shape, which is fractional in a mathematical sense.

Actually, it has nothing to do with that. The words "fractal" and 
"fraction" have a common root, but "fractal" is more closely related to 
"fractured" and "fragment". Mandelbrot coined the word "fractal" from 
the Latin "fractus", which means rough, irregular, or broken, and it 
does refer to the self-similarity aspect: if you were to break a fractal 
into pieces ("fracts"?), each fragment would appear similar to the 
others.

Here's a quote from Mandelbrot himself: "I coined fractal from the Latin 
adjective fractus. The corresponding Latin verb fragere means 'to 
break': to create irregular fragments...how appropriate for our needs!"

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

From: Christopher James Huff
Subject: Re: Fractal noise
Date: 12 May 2003 12:20:41
Message: <cjameshuff-EB9197.12204512052003@netplex.aussie.org>
In article <q7lubvcvspu6h4f1sabho2niej44dcp26q@4ax.com>,
 Peter Popov <pet### [at] vipbg> wrote:

> >The perlin-noise function itself has got nothing to do with fractals 
> >(correct me if I'm wrong :-)
> 
> I think what "fractal" stands for in this context is that is
> inherently self-similar in different scales (to a limited extent
> though, unlike "true" fractals)

Perlin noise is not self-similar at different scales, though. It is 
self-similar at one scale only.
Now, things like sum 1/F-noise are fractal. (wrinkles, granite)

http://astronomy.swin.edu.au/~pbourke/texture/perlin/

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

Goto Latest 10 Messages Next 3 Messages >>>

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