小枝の形状を定義します。
//**********************************************************************************
#local Twig_seg =
union {
cylinder { < Org_size, Org_size*Twn_size, 0 >,
< Org_size, -Org_size-0.01, 0 >, Twig_Width }
object { Torus_seg rotate < 180, 0, 0 > translate Org_size*-y }
object { Torus_seg rotate < 180, 0, 180 > translate Org_size*3*-y }
pigment { color rgb Cv1 } normal { bumps 0.8 scale 2 } finish { reflection 0.2 }
translate Org_size*x rotate -20*z translate Org_size*1.026*x }
#local Twig_obj =
union {
object { Twig_seg rotate y*90*0 }
object { Twig_seg rotate y*90*1 }
object { Twig_seg rotate y*90*2 }
object { Twig_seg rotate y*90*3 }
}
//**********************************************************************************