//XXXXXXXXXXXXXXXXXXXXX S E T T I N G S XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
//TREE
#declare BRANCHES=3;
#declare TWIGS=2*BRANCHES;
#declare BUNCHES=0*TWIGS;
#declare LEAVES=0*BUNCHES;
#declare BLOSSOMS=0*BUNCHES;
#declare ROOTS=4;
#declare BRANCH_RANDOM=15.397; 
#declare TWIG_RANDOM=77.37;
#declare ROOT_RANDOM=170;
//TRUNK
#declare TRUNK_RADIUS=20;
#declare TRUNK_STRENGTH=.5;
#declare TRUNK_BEND_X=15;
#declare TRUNK_BEND_Z=20;
#declare TRUNK_BEND_X_FREQUENCY=1.5;
#declare TRUNK_BEND_Z_FREQUENCY=1.5;
#declare TRUNK_CURVE=10;
#declare TRUNK_CURVE_FREQUENCY=5;
#declare TRUNK_SNAG=5;
#declare TRUNK_SNAG_FREQUENCY=10;
#declare TRUNK_SPIRAL=50;
#declare TRUNK_TAPER=0.2;
#declare FIRST_BRANCH_AT_TRUNK=0;
#declare BRANCH_AREA_AT_TRUNK=0;
//BRANCH
#declare BRANCH_THICKNESS_CHANGE=.6;
#declare BRANCH_STRENGTH=1;
#declare BRANCH_BEND=-20;
#declare BRANCH_BEND_FREQUENCY=2;
#declare HORIZONTAL_BRANCH_BEND_SWITCH=1;
#declare EXTRA_NOISE_SWITCH=1;
#declare BRANCH_CURVE=-5;
#declare BRANCH_CURVE_FREQUENCY=2;
#declare HORIZONTAL_BRANCH_CURVE_SWITCH=1;
#declare BRANCH_LONGITUDINAL_CURVE=.5;
#declare BRANCH_SNAG=3;
#declare BRANCH_SNAG_FREQUENCY=5;
#declare BRANCH_REDUCTION=.0;
#declare BRANCH_TAPER=.2;
#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=35;
#declare BRANCH_ANGLE_SCOPE=0;
#declare BRANCH_ALIGNMENT=.8;
#declare STRAIGHTEN_TOWARDS_TOP=0.6;
#declare FIRST_TWIG_AT_BRANCH=50;
#declare TWIG_AREA_AT_BRANCH=60;
//TWIG
#declare TWIG_STRENGTH=.5;
#declare TWIG_THICKNESS_CHANGE=.55;
#declare HORIZONTAL_TWIG_ANGLE=0;
#declare VERTICAL_TWIG_ANGLE=30;
#declare HORIZONTAL_TWIG_ANGLE_SCOPE=0;
#declare VERTICAL_TWIG_ANGLE_SCOPE=0;
#declare HORIZONTAL_TWIG_ALIGNMENT=1;
#declare VERTICAL_TWIG_ALIGNMENT=1;
#declare TWIG_TURN_SWITCH=1;
#declare TWIG_ALTERNATE_SWITCH=0;
#declare TWIG_CURVE_ADJUSTMENT=.8;
#declare TWIG_CURVE_FREQUENCY_ADJUSTMENT=1;
#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=.5;
#declare FIRST_BUNCH_AT_TWIG=20;
#declare BUNCH_AREA_AT_TWIG=30;
//BUNCH
#declare BUNCH_MAJOR_RADIUS=15;
#declare BUNCH_MINOR_RADIUS=5;
#declare HORIZONTAL_BUNCH_FUNNEL=40;
#declare VERTICAL_BUNCH_FUNNEL=40;
#declare ROTATION_BUNCH_FUNNEL=0;
#declare HORIZONTAL_BUNCH_ANGLE=0;
#declare VERTICAL_BUNCH_ANGLE=30;
#declare HORIZONTAL_BUNCH_ANGLE_SCOPE=5;
#declare VERTICAL_BUNCH_ANGLE_SCOPE=5;
#declare BUNCH_TURN_SWITCH=1;
#declare BUNCH_TURN_SHIFT=1;
#declare BUNCH_ALTERNATE_SWITCH=0;
#declare HORIZONTAL_BUNCH_ALIGNMENT=1;
#declare VERTICAL_BUNCH_ALIGNMENT=1;
#declare BUNCH_TAPER_OFF_AT_TWIG=.3;
#declare BUNCH_TAPER_OFF_AT_BRANCH=-.3;
#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=HF_LEAF
#declare LEAF_LENGTH=10;
#declare LEAF_BREADTH=7;
#declare LEAF_HEIGHT=1;
#declare MAX_LEAF_TILT=30;
#declare MAX_LEAF_TURN=30;
#declare LEAF_INCLINATION=50;
#declare LEAF_INCLINATION_SCOPE=10;
//BLOSSOM
#declare BLOSSOM=LEAF
#declare BLOSSOM_LENGTH=50;
#declare BLOSSOM_WIDTH=100;
#declare BLOSSOM_INCLINATION=0;
#declare BLOSSOM_COLOR=<.4,.4,.4>;
//ROOT
#declare FIRST_ROOT_AT_TRUNK=30;
#declare ROOT_LENGTH=150;
#declare ROOT_THICKNESS_CHANGE=.8;
#declare ROOT_STRENGTH=1;
#declare ROOT_BEND=30;
#declare ROOT_BEND_FREQUENCY=1;
#declare ROOT_CURVE=30;
#declare ROOT_CURVE_FREQUENCY=5;
#declare ROOT_SNAG=5;
#declare ROOT_SNAG_FREQUENCY=15;
#declare ROOT_TURN_SWITCH=1;
#declare ROOT_ANGLE=30;
#declare ROOT_ALIGNMENT=.6;
//BARK
#declare SUNKEN_TRUNK_COLOR=<.1,.1,.1>;
#declare RAISED_TRUNK_COLOR=<.6,.4,.3>;
#declare FOLIAGE_COLOR_AT_BRANCH_END=.5;
#declare TRUNK_SCAR_WIDTH=60;
#declare TRUNK_SCAR_HEIGHT=15;
#declare HORIZONTAL_SCAR_SHRINKING=.2;
#declare VERTICAL_SCAR_SHRINKING=2;
#declare SCAR_DEPTH=-1; 
#declare PALM_TRUNK=0.2;
#declare BARK_PROFILE=1;
#declare BRANCH_BARK_PROFILE_CHANGE=1;
#declare BRANCH_BARK_PROFILE_TAPER_OFF=1;
#declare ROOT_BARK_PROFILE_CHANGE=0;
//FOLIAGECOLOR
#declare BOTTOM_COLOR_1=<0.5,0.4,.4>;
#declare BOTTOM_COLOR_2=<0.4,0.5,.4>;
#declare TOP_COLOR_1=<0.5,0.5,.4>;
#declare TOP_COLOR_2=<.8,.4,.4>;
#declare COLOR_TURB=.2;
#declare TRANSITION_BOTTOM_TOP=0.4;
#declare TRANSITION_TURB=.25;
#declare FOLIAGE_GLOSS=0.0;
//XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
