|
|
Le 24/07/2016 à 12:50, Thomas de Groot a écrit :
> ...
>
> Have you tried more contrasting colours? I do that to check how the
> pattern changes. Also be aware that in a density pattern colours are
> interpreted as grey tints.
grey tints... interesting.
>> 2) : here, spherical pattern is use for density. is it possible to use
>> other thing like gausssian curve for exemple. More generaly, how to
>> change pattern with f(x,y,z) for density pattern.
>
> You can use any pattern you like and also warp. See for example my
> sunset media in p.b.i. (there is an example there).
great exemples with 'standard' patterns.
I have difficulty understanding the relationship between the value of
the pattern and the value of the function and how to write pattern
function for Povray.
Classic equation for Gauss curve is :
x^2 z^2
- ( (-----)+(-----) )
2.a^2 2.b^2
y = A.e
Povray documentation sample
(http://www.povray.org/documentation/view/3.6.1/378/) say :
#declare Foo = function { x + y + z}
pigment {
function { Foo(x, y, z) }
[PIGMENT_MODIFIERS...]
}
So, #declare f_gauss = function { ? }
Thanks for your help.
--
Kurtz le pirate
Compagnie de la Banquise
Post a reply to this message
|
|