|
Français
Deutsch |
Surface Design by "texture""color_map { ... }" - a pattern of color stripes
The pattern of color stripes is repeated in the height of 1 unit. If we want the pattern to be repeated
in the height of i.e. 7 units so we have to add to the "pigment" statement "scale 7" . The change from one color to the other color_map {[0.0 color White] // hard
[0.5 color White] // hard
[0.5 color Blue ]
[1.0 color Blue ] }
Mixing hard and soft is also possible:
color_map {[0.0 color White]
[0.5 color White] // hard
[0.5 color Blue ]
[1.0 color White] } // soft
color_map {[0.0 color White]
[0.5 color Blue ] // soft
[1.0 color White] } // soft to White at the beginning
|