-
Notifications
You must be signed in to change notification settings - Fork 1
/
polyhedra_colors.inc
52 lines (36 loc) · 1.56 KB
/
polyhedra_colors.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#version 3.6;
global_settings { assumed_gamma 1.0 }
#default{ finish{ ambient 0.1 diffuse 0.9 conserve_energy}}
#include "colors.inc"
#include "math.inc"
#include "textures.inc"
///////////////////////////// camera and light
#declare Camera_Position = <13.2, 10.5, -45>;
camera{
location Camera_Position
right x*image_width/image_height
angle 10.45
look_at <0, 0, 0>
}
light_source{ <-400, 500, -300> color White*0.9 shadowless}
light_source{ <400, 200, 100> color White*0.4 shadowless}
light_source{ Camera_Position color rgb<0.9,0.9,1>*0.2 shadowless}
sky_sphere{ pigment{ White } }
///////////////////////////// sizes
#declare RadVert = .12;
#declare RadEdge = .045;
#declare Rotate = 0*x; // obsolete
///////////////////////////// colors
#declare TRed = texture{ pigment{color rgb<1, .03, .03>} };
#declare TBlue = texture{ pigment{color rgb<.05, .05, 1>} };
#declare TYellow = texture{ pigment{color rgb<1, .65, 0>} };
#declare TGray = texture{ pigment{color rgb .62} };
#declare TLightgray = texture{ pigment{color rgb .85} };
#declare TLightblue = texture{ pigment{color rgb<.5, .5, .8>} };
#declare TReddish = texture{ pigment{color rgb<.7, .3, .3>} };
#declare TYellowish = texture{ pigment{color rgb<.72, .52, .25>} };
#declare TBrown = texture{ pigment{color rgb<1,0.8,0.65>*.4} };
#declare TDarkbrown = texture{ pigment{color rgb<1,0.8,0.65>*.2} };
#declare TLightbrown = texture{ pigment{color rgb<1,0.8,0.65>*.5} };
#declare TSphere = texture{ pigment{color rgbt<1, 1, 1, .4>} }
#declare TFaceTransp = texture{ pigment{color rgbt<1, 1, 1, .7>} }