home *** CD-ROM | disk | FTP | other *** search
/ Learn 3D Graphics Programming on the PC / Learn_3D_Graphics_Programming_on_the_PC_Ferraro.iso / rwwin / rftrans1.rw_ / rftrans1.bin
Text File  |  1995-11-14  |  634b  |  42 lines

  1. ModelBegin
  2. ProtoBegin Sphere1
  3.     Color 1.0 0.0 0.0  # red
  4.     Surface 0.5 0.5 0.0
  5.     Texture NULL
  6.     Sphere 0.5 10
  7. ProtoEnd
  8.  
  9. ProtoBegin Sphere2
  10.     Color 0.0 0.0 1.0  # blue
  11.     Surface 0.5 0.5 0.0
  12.     Texture NULL
  13.     Sphere 0.5 10
  14. ProtoEnd
  15.  
  16. ProtoBegin Sphere3
  17.     Color 0.0 1.0 0.0  # green
  18.     Surface 0.5 0.5 0.0
  19.     Texture NULL
  20.     Sphere 0.5 10
  21. ProtoEnd
  22.  
  23.  
  24.     ClumpBegin
  25.     ProtoInstance Sphere1
  26.  
  27.     TransformBegin
  28.          ClumpBegin
  29.             Translate 1.0 0 0
  30.             ProtoInstance Sphere2
  31.          ClumpEnd
  32.     TransformEnd
  33.  
  34.     Translate -1.0 0 0
  35.      ClumpBegin
  36.         TransformBegin
  37.             ProtoInstance Sphere3
  38.         TransformEnd
  39.      ClumpEnd
  40.   ClumpEnd
  41. ModelEnd
  42.