POV-Ray : Newsgroups : povray.newusers : making a gray and white marblized object : Re: making a gray and white marblized object Server Time
5 Nov 2024 01:24:42 EST (-0500)
  Re: making a gray and white marblized object  
From: Mike Williams
Date: 10 Aug 2002 03:03:03
Message: <p5vRDCAulLV9Ewzf@econym.demon.co.uk>
Wasn't it Wade who wrote:
>Would I use this texture when I am making a gray and white marblized object?
>there's the texture:
>
>texture {
> pigment { marble
>   color_map {
>    [0/4 color rgb <1,1,1>]
>    [1/4 color rgb <1,1,1>]
>    [1/4 color rgb <1,1,1>*.5]
>    [2/4 color rgb <1,1,1>*.5]
>    [2/4 color rgb <1,1,1>]
>    [3/4 color rgb <1,1,1>*.5]
>    [3/4 color rgb <1,1,1>]
>    [4/4 color rgb <1,1,1>]
>    }
>  }
>}

Marbelization usually involves turbulence. Try adding "turbulence 0.6"
or "turbulence 3" or some other value.
Marbelization also doesn't tend to have such sharp colour boundaries, so
the colour_map might be better like this:

  colour_map {
    [0/4 colour rgb <1,1,1>]
    [1/4 colour rgb <1,1,1>*.5]
    [2/4 colour rgb <1,1,1>]
    [3/4 colour rgb <1,1,1>*.5]
    [4/4 colour rgb <1,1,1>]
  }

You might also consider adding extra stripes (e.g. by splitting your
colour map into eighths instead of quarters) and varying the "*.5"
values slightly. It depends on the exact effect you are looking for.

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

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