home *** CD-ROM | disk | FTP | other *** search
/ Learn 3D Graphics Programming on the PC / Learn_3D_Graphics_Programming_on_the_PC_Ferraro.iso / rwdos / tree.rwx < prev    next >
Text File  |  1995-02-15  |  666b  |  40 lines

  1. # Tree
  2.  
  3. ModelBegin
  4.           ClumpBegin
  5.     Translate 0.0 0.5 0.0
  6.     Scale 0.5 0.5 0.5
  7.  
  8.         Surface 0.200000 0.600000 0.600000
  9.         LightSampling Facet
  10.         GeometrySampling Solid
  11.         Texture NULL
  12.  
  13.  
  14.     Vertex  0.0  1.0  0.0
  15.     Vertex -0.5 -0.5  0.3
  16.     Vertex  0.5 -0.5  0.3
  17.     Vertex  0.0 -0.5 -0.6
  18.  
  19.     Vertex -0.1 -0.5 -0.1
  20.     Vertex  0.1 -0.5 -0.1
  21.     Vertex  0.0 -0.5  0.1
  22.     Vertex -0.1 -1.0 -0.1
  23.     Vertex  0.1 -1.0 -0.1
  24.     Vertex  0.0 -1.0  0.1
  25.  
  26.         Color 0.000000 0.800000 0.000000
  27.  
  28.     Triangle 1 2 3
  29.     Triangle 1 3 4
  30.     Triangle 1 4 2
  31.     Triangle 3 2 4
  32.  
  33.     Color 0.6 0.1 0.1
  34.  
  35.     Quad 5 6 9 8
  36.     Quad 6 7 10 9
  37.     Quad 7 5 8 10
  38.     ClumpEnd
  39. ModelEnd
  40.