|
![](/i/fill.gif) |
Bozo and Crackle? how about something like this, which I adapted from
Rune's incredible pigment:
#declare MyPigment =
pigment {
bozo
scale 2 triangle_wave
pigment_map {
#declare X = 0;
#declare Y = 255;
#while (X<Y)
#declare V = X/Y;
#declare A = pow(V,3);
[V,
crackle triangle_wave scale 0.1 // rotate 30*z
warp {turbulence 0.5 octaves 1}
color_map {
[A, color rgb <1,1,1>]
[A, color rgb <0,0,0>]
}
]
#declare X = X+1;
#end
}
}
Just a thought. I really like the effect.
Josh
Gilles Tran wrote:
> I've been wondering about how to make these, either as a pigment
> pattern, or at least as a function enabling to position and scale
> objects. Basically, it looks like crackle, but with zones of increasing
> or decreasing cell sizes. I've made experiments using a blob density
> function that attracts/repels the elements (spheres) according to their
> proximity to centres. The size (radius) of each object is afterwards
> calculated as the minimum distance from its 8 neighbours (it's in 2D).
> It works, but it's very difficult to control to obtain a desired effect
> (like a pinching or bulging at a particular place). Anyone would have
> pointers to algorithms, or ideas ???
>
> G.
--
Josh English -- Lexiphanic Lethomaniac
eng### [at] spiritone com
The POV-Ray Cyclopedia http://www.spiritone.com/~english/cyclopedia/
Post a reply to this message
|
![](/i/fill.gif) |