// TREE_NAME=povtree_330; //ROOT #declare ROOTS=7; #declare ROOT_RANDOM=0.7192; #declare FIRST_ROOT_AT_TRUNK=6.14035; #declare ROOT_LENGTH=184.21053; #declare ROOT_THICKNESS_CHANGE=0.54386; #declare ROOT_STRENGTH=1.0; #declare ROOT_BEND=3.15789; #declare ROOT_BEND_FREQUENCY=3.50877; #declare ROOT_CURVE=17.54386; #declare ROOT_CURVE_FREQUENCY=4.38596; #declare ROOT_SNAG=2.14035; #declare ROOT_SNAG_FREQUENCY=5.26316; #declare ROOT_ANGLE=7.89474; #declare ROOT_ALIGNMENT=0.2; #declare ROOT_TURN_SWITCH=0.1; //TRUNK #declare TRUNK_RADIUS=18; #declare TRUNK_STRENGTH=0.71053; #declare TRUNK_BEND_X=3.5677; #declare TRUNK_BEND_X_FREQUENCY=4.36; #declare TRUNK_BEND_Z=10; #declare TRUNK_BEND_Z_FREQUENCY=1.75439; #declare TRUNK_CURVE=0; #declare TRUNK_CURVE_FREQUENCY=0; #declare TRUNK_SNAG=0; #declare TRUNK_SNAG_FREQUENCY=0; #declare TRUNK_SPIRAL=0; #declare TRUNK_TAPER=0.3; //BRANCH #declare BRANCHES=22; #declare BRANCH_RANDOM=0.7216; #declare FIRST_BRANCH_AT_TRUNK=115.78947; #declare BRANCH_AREA_AT_TRUNK=300; #declare BRANCH_THICKNESS_CHANGE=0.41228; #declare BRANCH_STRENGTH=1; #declare BRANCH_BEND=-30; #declare BRANCH_BEND_FREQUENCY=2; #declare HORIZONTAL_BRANCH_BEND_SWITCH=0.64912; #declare EXTRA_NOISE_SWITCH=0.84211; #declare BRANCH_CURVE=-5; #declare BRANCH_CURVE_FREQUENCY=2; #declare HORIZONTAL_BRANCH_CURVE_SWITCH=1.0; #declare BRANCH_LONGITUDINAL_CURVE=0.5; #declare BRANCH_SNAG=3; #declare BRANCH_SNAG_FREQUENCY=5; #declare BRANCH_REDUCTION=0.0; #declare BRANCH_TAPER=0.81579; #declare BRANCH_END_EQUALIZER=1; #declare BRANCH_TIP=0.23684; #declare BRANCH_TURN_SWITCH=1.0; #declare BRANCH_ALTERNATE_SWITCH=0.0; #declare BRANCH_SPIRAL=0; #declare BRANCH_ANGLE=12.63158; #declare BRANCH_ANGLE_SCOPE=0; #declare BRANCH_ALIGNMENT=0.8; #declare STRAIGHTEN_TOWARDS_TOP=0.6; //TWIG #declare TWIGS=5*BRANCHES; #declare TWIG_RANDOM=0.4412; #declare FIRST_TWIG_AT_BRANCH=30; #declare TWIG_AREA_AT_BRANCH=60; #declare TWIG_THICKNESS_CHANGE=0.55; #declare TWIG_STRENGTH=0.75439; #declare HORIZONTAL_TWIG_ANGLE=12.63158; #declare HORIZONTAL_TWIG_ANGLE_SCOPE=0; #declare HORIZONTAL_TWIG_ALIGNMENT=1; #declare VERTICAL_TWIG_ANGLE=30; #declare VERTICAL_TWIG_ANGLE_SCOPE=0; #declare VERTICAL_TWIG_ALIGNMENT=1; #declare TWIG_TURN_SWITCH=1.0; #declare TWIG_ALTERNATE_SWITCH=0.0; #declare TWIG_CURVE_ADJUSTMENT=0.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=2; #declare LAST_RAMIFICATION_NUMBER=1; #declare TWIG_RAMIFICATION_THICKNESS_CHANGE=1; #declare TWIG_RAMIFICATION_CURVE_ADJUSTMENT=1; #declare RAMI_CURVE_FREQUENCY_ADJUSTMENT=1; #declare TWIG_RAMIFICATION_STRENGTH=0.81579; //BUNCH #declare BUNCHES=3*TWIGS; #declare FIRST_BUNCH_AT_TWIG=17.54386; #declare BUNCH_AREA_AT_TWIG=14.03509; #declare BUNCH_MAJOR_RADIUS=150; #declare BUNCH_MINOR_RADIUS=50; #declare HORIZONTAL_BUNCH_FUNNEL=15.78947; #declare VERTICAL_BUNCH_FUNNEL=15.78947; #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.0; #declare BUNCH_TURN_SHIFT=1; #declare BUNCH_ALTERNATE_SWITCH=0.0; #declare HORIZONTAL_BUNCH_ALIGNMENT=1; #declare VERTICAL_BUNCH_ALIGNMENT=1; #declare BUNCH_TAPER_OFF_AT_TWIG=0.42982; #declare BUNCH_TAPER_OFF_AT_BRANCH=0.17544; #declare BUNCH_TAPER_OFF_AT_TREE=0.0; #declare BUNCH_ARC_AT_TWIG=<0, 0, 0>; #declare BUNCH_ARC_AT_BRANCH=<0, 0, 0>; #declare BUNCH_DEFORM=<1, 1, 1>; //BARK #declare SUNKEN_TRUNK_COLOR=<0.105, 0.127, 0.078>; #declare RAISED_TRUNK_COLOR=<0.356, 0.304, 0.185>; #declare FOLIAGE_COLOR_AT_BRANCH_END=0; #declare TRUNK_SCAR_WIDTH=2; #declare TRUNK_SCAR_HEIGHT=10.0; #declare HORIZONTAL_SCAR_SHRINKING=0.2; #declare VERTICAL_SCAR_SHRINKING=0.5; #declare SCAR_DEPTH=-2.98246; #declare BARK_PROFILE=1.5; #declare BRANCH_BARK_PROFILE_CHANGE=0; #declare BRANCH_BARK_PROFILE_TAPER_OFF=1; #declare ROOT_BARK_PROFILE_CHANGE=0; #declare PALM_TRUNK=0; //FOLIAGE #include "TOMLEAF.inc" #declare CustomMesh = mesh { triangle{<0.05, 0.05, 0.55>, < 0.19, 0.05, 0.45>, <0.0, 0.0, 2.9802322E-8>} triangle{<0.05, 0.05, 0.55>, <-0.12, 0.05, 0.41>, <0.0, 0.0, 2.9802322E-8>} triangle{<0.35, 0.05, 0.50>, <0.60, 0.0, 0.50>, <0.0, 0.0, 2.9802322E-8>} triangle{<0.6, 0.0, 0.50>, <0.55, 0.05, 0.25>, <0.0, 0.0, 2.9802322E-8>} triangle{<0.0, 0.0, 2.9802322E-8>, <0.75, 0.05, 0.19999999>, <1.0, 0.0, 0.0>} triangle{<0.0, 0.0, 2.9802322E-8>, <0.75, 0.05, -0.19999999>, <1.0, 0.0, 0.0>} triangle{<0.0, 0.0, 2.9802322E-8>, <0.54999995, 0.05, -0.25>, <0.59999996, 0.0, -0.5>} triangle{<0.0, 0.0, 2.9802322E-8>, <0.34999996, 0.05, -0.5>, <0.59999996, 0.0, -0.5>} triangle{<0.05, 0.05,-0.65>, < 0.163, 0.05,-0.45>, <0.0, 0.0,-2.9802322E-8> } triangle{<0.05, 0.05,-0.65>, <-0.125, 0.05,-0.41>, <0.0, 0.0,-2.9802322E-8> } }; #declare LEAF_TYPE=CustomMesh; #declare LEAVES=40*BUNCHES; #declare LEAF_LENGTH=17.98246; #declare LEAF_BREADTH=31.14035; #declare LEAF_HEIGHT=1; #declare MAX_LEAF_TILT=40; #declare MAX_LEAF_TURN=30; #declare LEAF_INCLINATION=50; #declare LEAF_INCLINATION_SCOPE=10; #declare BOTTOM_COLOR_1=<0.455, 0.640, 0.010, 0.1, 0.0>; #declare BOTTOM_COLOR_2=<0.205, 0.408, 0.024, 0.1, 0.0>; #declare TOP_COLOR_1=<0.535, 0.62024, 0.0, 0.1, 0.0>; #declare TOP_COLOR_2=<0.379, 0.52683, 0.0, 0.1, 0.0>; #declare COLOR_TURB=0.36905; #declare TRANSITION_BOTTOM_TOP=0.27381; #declare TRANSITION_TURB=0.39286; #declare FOLIAGE_GLOSS=1; #declare FOLIAGE_FILTER=0.1; #declare FOLIAGE_TRANSPARENCY=0.08; //BLOSSOM #declare BLOSSOM="NONE"; #declare BLOSSOMS=0*BUNCHES; #declare BLOSSOM_LENGTH=50; #declare BLOSSOM_WIDTH=100; #declare BLOSSOM_INCLINATION=0; #declare BLOSSOM_COLOR=<1, 1, 1>;