POV-Ray : Newsgroups : povray.advanced-users : Lizard skins or condensation droplets patterns : Re: Lizard skins or condensation droplets patterns Server Time
30 Jul 2024 00:21:04 EDT (-0400)
  Re: Lizard skins or condensation droplets patterns  
From: Josh English
Date: 7 Sep 2000 17:48:44
Message: <39B80D39.AEF1FC19@spiritone.com>
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] spiritonecom
The POV-Ray Cyclopedia http://www.spiritone.com/~english/cyclopedia/


Post a reply to this message

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