|
About the syntax of the "texture" components
"pigment { ... }"
|
This statement defines the color properties and the transparency of the
surface of a shape. "pigment" should always be defined, otherwise the shape will
appear only as a black filled outline.
This meight be done by following:
1) by a predefined color
pigment{ color Red } |
|
2) by a rgb< , , > - defined color
pigment{ color rgb<1,0.8,0,>} |
|
|
3) by a rgbt< , , , > - transparent color
pigment{ color rgbt<1,1,1,0.8>} or
pigment{ color rgbf<1,1,1,0.8>} |
|
|
4) by a color pattern
pigment{ Candy_Cane } |
. |
Color patterns also can be scaled, rotated and translated inside the "pigment" statement without effects to the geometic properties of the shape.
quick_color
In this statement also a "quick_color" can be defined i.e. by
pigment{quick_color Yellow} . This "quick_color" will be used for fast test renderings instead of other
only slowly calculatable textures.
|