4)椅子の色指定

 椅子に木のような色合いを指定します。
 //**********************************************************************************
  #ifndef (P_wood) #local P_wood =
   pigment { wood
          turbulence 0.06 octaves 3 scale < 0.01, 0.01, 0.5 >
          color_map { [ 0.1 rgb < 0.60, 0.44, 0.24 > ]
               [ 0.9 rgb < 0.44, 0.32, 0.20 > ] }
          scale 5 translate -10*x }
  #end
 //**********************************************************************************