Descriptions and Samples for the POV-Ray Raytracer by Friedrich A. Lohmüller
Italiano Italiano
Français français
Deutsch Deutsch

"texture" - syntax textures "normal"

Surface Design by "texture"

About the syntax of the "texture" components:

The statement: "pigment { ... }"

This statement defines the color properties and the transparency of the surface of a shape. 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>}    
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.
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.
"pigment" should be defined, otherwise the shape will appear only as a black filled outline.


"texture" - Syntax textures "normal"

© Friedrich A. Lohmüller, 2004
email email: (legacy email redacted)
homepage:www.f-lohmueller.de