POV-Ray : Newsgroups : povray.general : 3dnoise docs : Re: 3dnoise docs Server Time
10 Aug 2024 15:18:55 EDT (-0400)
  Re: 3dnoise docs  
From: Reinhard Rettelbach
Date: 9 Dec 1999 16:33:56
Message: <38502008.90A09A76@t-online.de>
Gilles Tran schrieb:
> .................
> The best way to test noise3d effects is to make a simple isosurface
> primitive (like a sphere or  a box) and then add the noise3d part to it.
> //sphere :
> isosurface{
>         function{x*x+y*y+z*z + 0.1*noise3d(5*x,5*y,5*z)        }
>         bounded_by {sphere {0,2}}
>         eval            sign 1        threshold 1
>         texture{pigment{Red}}
> }
> //box
> isosurface{
>         function{abs(x)&abs(y)&abs(z) +0.1*noise3d(5*x,5*y,5*z)}
>         bounded_by {box {-2,2}}
>         eval            sign 1        threshold 1
>         texture{pigment{Red}}
> }

You aren't even restricted to apply noise3d to a basic shape like sphere
or box as a whole, but you also might do so to selected terms, so try
something like that too:

isosurface{function
		{x^2 +(y+0.3*noise3d(1, y/3, 1))^2 +z^2 -3}
		.......}

nor there is any restriction on "mixing up" the noise3d parameters in a
manner like that:

		function{noise3d(y^2+z^2, x^2+y^2, x^2+y^2)}

again, play around with this stuff and enjoy the mostly strange but
sometimes also useful effects, that will occur. That's the best
tutorial.

ReVerSi


Post a reply to this message

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