File: OLIVE.inc

package info (click to toggle)
tkgate 2.1%2Brepack-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 28,384 kB
  • sloc: ansic: 62,300; tcl: 20,345; xml: 2,731; yacc: 1,177; lex: 839; sh: 664; makefile: 180; perl: 39
file content (151 lines) | stat: -rw-r--r-- 4,816 bytes parent folder | download | duplicates (7)
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
//XXXXXXXXXXXXXXXXXXXXX S E T T I N G S XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
//TREE
#declare BRANCHES=5;
#declare TWIGS=5*BRANCHES;
#declare BUNCHES=5*TWIGS;
#declare LEAVES=0*BUNCHES;
#declare BLOSSOMS=0*BUNCHES;
#declare ROOTS=4;
#declare BRANCH_RANDOM=24.9977;
#declare TWIG_RANDOM=2.37;
#declare ROOT_RANDOM=13;
//TRUNK
#declare TRUNK_RADIUS=22;
#declare TRUNK_STRENGTH=1;
#declare TRUNK_BEND_X=-30;
#declare TRUNK_BEND_Z=30;
#declare TRUNK_BEND_X_FREQUENCY=1.;
#declare TRUNK_BEND_Z_FREQUENCY=1.;
#declare TRUNK_CURVE=-10;
#declare TRUNK_CURVE_FREQUENCY=3;
#declare TRUNK_SNAG=5;
#declare TRUNK_SNAG_FREQUENCY=10;
#declare TRUNK_SPIRAL=0;
#declare TRUNK_TAPER=.5;
#declare FIRST_BRANCH_AT_TRUNK=150;
#declare BRANCH_AREA_AT_TRUNK=150;
//BRANCH
#declare BRANCH_THICKNESS_CHANGE=.8;
#declare BRANCH_STRENGTH=3;
#declare BRANCH_BEND=-40;
#declare BRANCH_BEND_FREQUENCY=3;
#declare HORIZONTAL_BRANCH_BEND_SWITCH=1;
#declare EXTRA_NOISE_SWITCH=1;
#declare BRANCH_CURVE=10;
#declare BRANCH_CURVE_FREQUENCY=5;
#declare HORIZONTAL_BRANCH_CURVE_SWITCH=1;
#declare BRANCH_LONGITUDINAL_CURVE=.4;
#declare BRANCH_SNAG=5;
#declare BRANCH_SNAG_FREQUENCY=-10;
#declare BRANCH_REDUCTION=.3;
#declare BRANCH_TAPER=.3;
#declare BRANCH_END_EQUALIZER=1;
#declare BRANCH_TIP=0;
#declare BRANCH_TURN_SWITCH=1;
#declare BRANCH_ALTERNATE_SWITCH=0;
#declare BRANCH_SPIRAL=0;
#declare BRANCH_ANGLE=20;
#declare BRANCH_ANGLE_SCOPE=0;
#declare BRANCH_ALIGNMENT=.8;
#declare STRAIGHTEN_TOWARDS_TOP=0;
#declare FIRST_TWIG_AT_BRANCH=50;
#declare TWIG_AREA_AT_BRANCH=200;
//TWIG
#declare TWIG_STRENGTH=1;
#declare TWIG_THICKNESS_CHANGE=.55;
#declare HORIZONTAL_TWIG_ANGLE=40;
#declare VERTICAL_TWIG_ANGLE=40;
#declare HORIZONTAL_TWIG_ANGLE_SCOPE=0;
#declare VERTICAL_TWIG_ANGLE_SCOPE=0;
#declare HORIZONTAL_TWIG_ALIGNMENT=.85;
#declare VERTICAL_TWIG_ALIGNMENT=.85;
#declare TWIG_TURN_SWITCH=1;
#declare TWIG_ALTERNATE_SWITCH=0;
#declare TWIG_CURVE_ADJUSTMENT=1.1;
#declare TWIG_CURVE_FREQUENCY_ADJUSTMENT=.75;
#declare TWIG_TAPER=1;
#declare TWIG_TIP=0;
#declare STRAIGHTEN_TOWARDS_BRANCH_END=0;
#declare TWIG_RAMIFICATION_ORDER=3;
#declare LAST_RAMIFICATION_NUMBER=5;
#declare TWIG_RAMIFICATION_THICKNESS_CHANGE=1;
#declare TWIG_RAMIFICATION_CURVE_ADJUSTMENT=1;
#declare RAMI_CURVE_FREQUENCY_ADJUSTMENT=1;
#declare TWIG_RAMIFICATION_STRENGTH=1;
#declare FIRST_BUNCH_AT_TWIG=50;
#declare BUNCH_AREA_AT_TWIG=200;
//BUNCH
#declare BUNCH_MAJOR_RADIUS=200;
#declare BUNCH_MINOR_RADIUS=50;
#declare HORIZONTAL_BUNCH_FUNNEL=0;
#declare VERTICAL_BUNCH_FUNNEL=0;
#declare ROTATION_BUNCH_FUNNEL=80;
#declare HORIZONTAL_BUNCH_ANGLE=40;
#declare VERTICAL_BUNCH_ANGLE=-35;
#declare HORIZONTAL_BUNCH_ANGLE_SCOPE=0;
#declare VERTICAL_BUNCH_ANGLE_SCOPE=0;
#declare BUNCH_TURN_SWITCH=1;
#declare BUNCH_TURN_SHIFT=0;
#declare BUNCH_ALTERNATE_SWITCH=0;
#declare HORIZONTAL_BUNCH_ALIGNMENT=.85;
#declare VERTICAL_BUNCH_ALIGNMENT=.85;
#declare BUNCH_TAPER_OFF_AT_TWIG=.3;
#declare BUNCH_TAPER_OFF_AT_BRANCH=0;
#declare BUNCH_TAPER_OFF_AT_TREE=0;
#declare BUNCH_ARC_AT_TWIG=<0,0,0>; 
#declare BUNCH_ARC_AT_BRANCH=<0,0,0>;
#declare BUNCH_DEFORM=<1,1,1>;
//LEAF 
#include "TOMLEAF.inc"
#declare LEAF_TYPE=LEAF
#declare LEAF_LENGTH=15;
#declare LEAF_BREADTH=4;
#declare LEAF_HEIGHT=2;
#declare MAX_LEAF_TILT=20;
#declare MAX_LEAF_TURN=30;
#declare LEAF_INCLINATION=40;
#declare LEAF_INCLINATION_SCOPE=30;
//BLOSSOM
#declare BLOSSOM=BLOSSOM2
#declare BLOSSOM_LENGTH=15;
#declare BLOSSOM_WIDTH=30;
#declare BLOSSOM_INCLINATION=0;
#declare BLOSSOM_COLOR=<1,1,1>;
//ROOT
#declare FIRST_ROOT_AT_TRUNK=70;
#declare ROOT_LENGTH=200;
#declare ROOT_THICKNESS_CHANGE=.7;
#declare ROOT_STRENGTH=3;
#declare ROOT_BEND=50;
#declare ROOT_BEND_FREQUENCY=1;
#declare ROOT_CURVE=15;
#declare ROOT_CURVE_FREQUENCY=5;
#declare ROOT_SNAG=5;
#declare ROOT_SNAG_FREQUENCY=20;
#declare ROOT_TURN_SWITCH=1;
#declare ROOT_ANGLE=45;
#declare ROOT_ALIGNMENT=.25;
//BARK
#declare SUNKEN_TRUNK_COLOR=<-.2,-.2,-.2>;
#declare RAISED_TRUNK_COLOR=<0.5,0.3,0>;
#declare FOLIAGE_COLOR_AT_BRANCH_END=1;
#declare TRUNK_SCAR_WIDTH=8;
#declare TRUNK_SCAR_HEIGHT=24;
#declare HORIZONTAL_SCAR_SHRINKING=.3;
#declare VERTICAL_SCAR_SHRINKING=1.5;
#declare SCAR_DEPTH=-1; 
#declare PALM_TRUNK=0;
#declare BARK_PROFILE=.95;
#declare BRANCH_BARK_PROFILE_CHANGE=.95;
#declare BRANCH_BARK_PROFILE_TAPER_OFF=1;
#declare ROOT_BARK_PROFILE_CHANGE=.9;
//FOLIAGECOLOR
#declare BOTTOM_COLOR_1=<0.5,0.3,0.1>;
#declare BOTTOM_COLOR_2=<0.4,0.5,0.2>;
#declare TOP_COLOR_1=<0.5,0.5,0>;
#declare TOP_COLOR_2=<.3,0.5,0.3>;
#declare COLOR_TURB=.5;
#declare TRANSITION_BOTTOM_TOP=0.5;
#declare TRANSITION_TURB=.5;
#declare FOLIAGE_GLOSS=0.25;
//XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX