Descriptions and Examples for the POV-Ray Raytracer by Friedrich A. Lohmüller
Design of Surfaces by "texture" with POV-Ray -
Deutsch Deutsch
Italiano Italiano
Français français

Home
- POV-Ray Tutorial

  Design of Surfaces
  - Colors and Textures
    Index

    texture Syntax
    Ready-made Textures
    Do-it-yourself Colors
    Patterns
    - pattern types
      Regular patterns
    - checker, hexagon
    - brick
      Stripes pattern
    - color_map{...}
    Patterns Lists
    - Regular Patterns
    - Random Patterns
   > Fractal Patterns
    - Other Patterns
    Warps
    - warp mapping
    Mapping
    Superpositions

    Your own Textures
    Insert Menu Add-on
      & Download
 
                                       

Patterns for 'pigment' and 'normal'

Fractal Patterns

Name

Example

mandel

pigment{ mandel 50 exponent 2 //2...33
         scale 0.60 translate<0.15,0,0>
         color_map{[0.00 color rgb <0.5,0,0.25>]
                   [0.08 color rgb <0.8,0,0.10>]
                   [0.20 color rgb <1,0.4,0>]
                   [0.30 color rgb <1,0.7,0>]
                   [1.0 color rgb <1,1,1>]}
        } // end of pigment
pigment{ color rgb <1,1,1>}
normal { mandel 1.25 scale 0.10
       } // end of normal

julia

pigment{ julia <0.360, 0.250>, 20
         interior 1, 1  scale 0.60
         color_map{[0.0 color rgb <0,0,0>]
                   [0.2 color rgb <1,0,0>]
                   [0.4 color rgb <1,1,0>]
                   [1.0 color rgb <1,1,1>]
                   [1.0 color rgb <0,0,0>]}
        } // end of pigment

magnet

pigment{ magnet 1 // magnet type 1 or 2
         mandel 20  interior 1, 1
         scale 0.25 rotate<0,30,0>
         color_map{[0.0 color rgb <0,0,0>]
                   [0.2 color rgb <1,0,0>]
                   [0.4 color rgb <1,1,0>]
                   [1.0 color rgb <1,1,1>]
                   [1.0 color rgb <0,0,0>]}
        } // end of pigment
pigment{ magnet 2 // magnet type 1 or 2
         mandel 20  interior 1, 1
         scale  0.36 rotate<0,40,0>
         color_map{[0.0 color rgb <0,0.5,0>]
                   [0.2 color rgb <0,0,1>]
                   [0.4 color rgb <1,0.5,0>]
                   [1.0 color rgb <1,1,1>]
                   [1.0 color rgb <0,0,0>]}
        } // end of pigment
pigment{ magnet 1 // magnet type 1 or 2
         julia <0.360, 0.250>, 20  interior 1, 1
         scale 0.26 rotate<0,40,0>
         color_map{[0.0 color rgb <1,0.5,0>]
                   [0.1 color rgb <1,0,0.5>]
                   [0.4 color rgb <1,1,0>]
                   [1.0 color rgb <1,1,1>]
                   [1.0 color rgb <0,0,0>]}
        } // end of pigment
top

© Friedrich A. Lohmüller, 2010
email email: Friedrich.Lohmueller_at_t-online.de
homepage:http://www.f-lohmueller.de