POV-Ray : Newsgroups : povray.binaries.images : Four Dimensional Noise - now repeatable Server Time
18 Nov 2024 02:18:15 EST (-0500)
  Four Dimensional Noise - now repeatable (Message 1 to 10 of 20)  
Goto Latest 10 Messages Next 10 Messages >>>
From: Slime
Subject: Four Dimensional Noise - now repeatable
Date: 6 Oct 2002 21:51:08
Message: <3da0e88c@news.povray.org>
More improvement on my 4D noise generator. The code that generated the
sphere in this animated gif was:

sphere {
 0,1
 pigment {
  bozo
  color_map {[.1 rgb 0][.9 rgb 1]}

  noise_generator {
   4 // generator type
   slice clock*4 // amount through the 4th dimension
   repeat 4 // distance along the 4th dimension to repeat
  }

  warp {
   turbulence .5
   octaves 2
   omega .7
   lambda 2
  }

  scale .3
 }
}

questions/comments? Do you feel that this would be useful to *you*?

 - Slime
[ http://www.slimeland.com/ ]


Post a reply to this message


Attachments:
Download 'repeating_noise.gif' (328 KB)

Preview of image 'repeating_noise.gif'
repeating_noise.gif


 

From: Rafal 'Raf256' Maj
Subject: Re: Four Dimensional Noise - now repeatable
Date: 7 Oct 2002 11:14:11
Message: <Xns92A0AF153497Araf256com@204.213.191.226>
"Slime" <slm### [at] slimelandcom> wrote in news:3da0e88c@news.povray.org

> More improvement on my 4D noise generator. The code that generated the
> sphere in this animated gif was:
> questions/comments? Do you feel that this would be useful to *you*?

nice :) 
This is a path, right ?


-- 
#macro g(U,V)(.4*abs(sin(9*sqrt(pow(x-U,2)+pow(y-V,2))))*pow(1-min(1,(sqrt(
pow(x-U,2)+pow(y-V,2))*.3)),2)+.9)#end#macro p(c)#if(c>1)#local l=mod(c,100
);g(2*div(l,10)-8,2*mod(l,10)-8)*p(div(c,100))#else 1#end#end light_source{
y 2}sphere{z*20 9pigment{function{p(26252423)*p(36455644)*p(66656463)}}}//M


Post a reply to this message

From: Slime
Subject: Re: Four Dimensional Noise - now repeatable
Date: 7 Oct 2002 12:01:11
Message: <3da1afc7@news.povray.org>
> This is a path, right ?


What's a path?

 - Slime
[ http://www.slimeland.com/ ]


Post a reply to this message

From: Niytaan
Subject: Re: Four Dimensional Noise - now repeatable
Date: 7 Oct 2002 15:59:04
Message: <3da1e788@news.povray.org>
Cool.

I think it would look neat if you applied the pigment you used as a function
for an isosurface AND as a texture for that isosurface. :)

"Slime" <slm### [at] slimelandcom> wrote in message
news:3da0e88c@news.povray.org...
> More improvement on my 4D noise generator. The code that generated the
> sphere in this animated gif was:
>
> sphere {
>  0,1
>  pigment {
>   bozo
>   color_map {[.1 rgb 0][.9 rgb 1]}
>
>   noise_generator {
>    4 // generator type
>    slice clock*4 // amount through the 4th dimension
>    repeat 4 // distance along the 4th dimension to repeat
>   }
>
>   warp {
>    turbulence .5
>    octaves 2
>    omega .7
>    lambda 2
>   }
>
>   scale .3
>  }
> }
>
> questions/comments? Do you feel that this would be useful to *you*?
>
>  - Slime
> [ http://www.slimeland.com/ ]
>
>
>


Post a reply to this message

From: Ive
Subject: Re: Four Dimensional Noise - now repeatable
Date: 7 Oct 2002 16:15:56
Message: <3da1eb7c@news.povray.org>
Sorry, I'm a math dummy, but what is the advantage of
4 dimensional noise?
Or is it only useful for animations?
(I never did one, so I dunno.)

-Ive


Post a reply to this message

From: Tim Nikias
Subject: Re: Four Dimensional Noise - now repeatable
Date: 7 Oct 2002 17:54:09
Message: <3da20281$1@news.povray.org>
I guess he meant

patCh, not pat-h...


--
Tim Nikias
Homepage: http://www.digitaltwilight.de/no_lights/index.html
Email: Tim### [at] gmxde
"Slime" <slm### [at] slimelandcom> schrieb im Newsbeitrag
news:3da1afc7@news.povray.org...

> > This is a path, right ?
>
>
> What's a path?
>


Post a reply to this message

From: Slime
Subject: Re: Four Dimensional Noise - now repeatable
Date: 7 Oct 2002 18:04:16
Message: <3da204e0@news.povray.org>
> patCh, not pat-h...


Oh, I see. Well, to be honest, I don't know how one goes about *creating* a
patch. But if I find that out, I may release it, yes =)

 - Slime
[ http://www.slimeland.com/ ]


Post a reply to this message

From: Slime
Subject: Re: Four Dimensional Noise - now repeatable
Date: 7 Oct 2002 18:04:56
Message: <3da20508@news.povray.org>
> I think it would look neat if you applied the pigment you used as a
function
> for an isosurface AND as a texture for that isosurface. :)


First I'll have to make a function to interface with it (like f_noise3d()).
=)

 - Slime
[ http://www.slimeland.com/ ]


Post a reply to this message

From: Slime
Subject: Re: Four Dimensional Noise - now repeatable
Date: 7 Oct 2002 18:09:03
Message: <3da205ff$1@news.povray.org>
> Sorry, I'm a math dummy, but what is the advantage of
> 4 dimensional noise?
> Or is it only useful for animations?


Well, It's not really usefull for anything other than an animation. The
advantage is that you're able to animate textures with it.

Consider a plane that uses normal{bozo} to simulate wavy water. If you want
to animate the water over time, you can merely translate the normal pattern
vertically (normal{bozo translate clock*y}).

However, now pretend you have an unrealistic cube of water floating in
space. If you want to animate its waviness, you could try translating the
texture vertically - but that would only cause the intended look on the top
and bottom faces of the cube. The other faces would show the waves moving
up, but not changing otherwise.

With 4D noise, you can move the pattern through the 4th dimension, and it
changes uniformly *everywhere* in 3D space.

 - Slime
[ http://www.slimeland.com/ ]


Post a reply to this message

From: Rafal 'Raf256' Maj
Subject: Re: Four Dimensional Noise - now repeatable
Date: 7 Oct 2002 18:13:03
Message: <Xns92A11F742AFDraf256com@204.213.191.226>
"Slime" <slm### [at] slimelandcom> wrote in news:3da204e0@news.povray.org

>> patCh, not pat-h...
> Oh, I see. Well, to be honest, I don't know how one goes about
> *creating* a patch. But if I find that out, I may release it, yes =)

Maybe You can post a source code (or email it to me mailto:pov### [at] raf256com)

-- 
#macro g(U,V)(.4*abs(sin(9*sqrt(pow(x-U,2)+pow(y-V,2))))*pow(1-min(1,(sqrt(
pow(x-U,2)+pow(y-V,2))*.3)),2)+.9)#end#macro p(c)#if(c>1)#local l=mod(c,100
);g(2*div(l,10)-8,2*mod(l,10)-8)*p(div(c,100))#else 1#end#end light_source{
y 2}sphere{z*20 9pigment{function{p(26252423)*p(36455644)*p(66656463)}}}//M


Post a reply to this message

Goto Latest 10 Messages Next 10 Messages >>>

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