|
|
Xplo Eristotle schrieb:
>
>:::::::, and I don't
> care to try to discern a working syntax by trial and error... >_<;
>
hi,
seems this can be subsumed to FAQ list meanwhile. ;-)
a working syntax for first trials will be something like follows:
//pov code
#declare SPHERE = function{x^2+y^2+z^2-1} //a basic shape
isosurface{
function{SPHERE(x,y,z)+0.2*noise3d(3*x, 3*y, 3*z)}
threshold 0.5
accuracy 0.001
eval method 1
pigment{...}
}
//end of example
now play around with the multiplicators in your noise3d function:
raising the values will yield smalles structures and vice versa.
replace e.g. 3*y by a constant, like 1; or another function like
sin(10*y) and watch, what will happen. btw: the multiplicator (0.2 in my
example) for noise function determines, how much noise you apply to your
basic function (best to be compared with bump_size value in the normal{}
statement.)
Now apply noise function not to the sphere as a whole but eg. to the
y-component selectively:
...function{SPHERE(x, (y-0.2*noise3d(3*x, 3*y, 3*z)), z)
and again watch, what will happen...
play around further, and again... have fun
ReVerSi
Post a reply to this message
|
|