# definition of colors, avoids using colors.inc of Povray.
# Contains less definitions, so should be more rapid.

c_red	=<1,0,0>
c_green	=<0,1,0>
c_blue	=<0,0,1>
c_yellow=<1,1,0>
c_cyan	=<0,1,1>
c_magenta=<1,0,1>
c_white	=<1,1,1>
c_black	=<0,0,0>

c_lightgray	=$c_white*0.75
c_gray		=$c_white*0.5
c_darkgray	=$c_white*0.3

c_brass		=<0.71,0.65,0.26>
c_bronze	=<0.55,0.47,0.14>
c_brown		=<0.647059,0.164706,0.164706>
c_coral		=<1,0.498039,0.313725>
c_flesh		=<0.96,0.8,0.69>
c_gold		=<0.8,0.498039,0.196078>
c_khaki		=<0.623529,0.623529,0.372549>
c_maroon	=<0.556863,0.137255,0.419608>
c_navy		=<0.137255,0.137255,0.556863>
c_orange	=<1,0.5,0>
c_orchid	=<0.858824,0.439216,0.858824>
c_pink		=<0.737255,0.560784,0.560784>
c_quartz	=<0.85,0.85,0.95>
c_salmon	=<0.435294,0.258824,0.258824>
c_silver	=<0.9,0.91,0.98>
c_skyblue	=<0.196078,0.6,0.8>
c_tan		=<0.858824,0.576471,0.439216>
c_turquoise	=<0.678431,0.917647,0.917647>
c_violet	=<0.309804,0.184314,0.184314>
c_wheat		=<0.847059,0.847059,0.74902>

f_dull		=specular 0.2 ambient 0.15 roughness 0.3 diffuse 0.4
f_shiny		=specular 1 roughness 0.001 diffuse 0.55 reflection 0.05
f_glossy	=specular 1 roughness 0.0006 reflection 0.15
f_luminous	=ambient 1  diffuse 0
f_metal		=ambient 0.25 brilliance 4 diffuse 0.5 metallic specular 0.80 roughness 1/80 reflection 0.5
f_mirror	=ambient 0.02  diffuse 0 reflection 1 roughness 0.01

p_uniform	=color $$color1
p_brick		=brick color $$color2, color $$color1 scale <0.07,0.07,0.07>
p_checker	=checker color $$color1, color $$color2 scale <0.2,0.2,0.2>
p_test		=wood color_map {[0 color $$color1] [1 color $$color2]} scale <0.05,0.05,0.05>
p_hexagon	=hexagon color $$color1, color $$color2, color $$color3 scale <0.15,0.15,0.15>
p_marble	=marble color_map {[0 color $$color1] [1 color $$color2]} scale <0.2,0.2,0.2>
p_spiral	=spiral2 2 color_map {[0 color $$color1] [0.8 color $$color2]} scale <0.2,0.2,0.2>
p_wood		=wood color_map {[0 color $$color1] [1 color $$color2]} scale <0.05,0.05,0.05>

clip_1		=box {<-1,-1,-1> <1,1,1>}
clip_2		=sphere {<0,0,0> 1.4142}

