home *** CD-ROM | disk | FTP | other *** search
/ Learn 3D Graphics Programming on the PC / Learn_3D_Graphics_Programming_on_the_PC_Ferraro.iso / rwwin / rfrobot5.rw_ / rfrobot5.bin
Text File  |  1995-11-14  |  2KB  |  119 lines

  1. ModelBegin
  2.     GeometrySampling Solid
  3.  
  4.     ProtoBegin Base
  5.     LightSampling Facet
  6.     Surface 0.7 0.6 0.8
  7.     Color 0.0 0.0 1.0
  8.     Cylinder 0.2 1.0 0.5 12
  9.     Translate 0.0 0.2 0.0
  10.     Cylinder 1.0 0.5 0.3 12
  11.     Translate 0.0 1.0 0.0
  12.     Color 0.9 0.0 0.0
  13.     LightSampling Vertex
  14.     Hemisphere 0.3 3
  15.     ProtoEnd
  16.  
  17.     ProtoBegin ForeFinger
  18.     Surface 0.5 0.7 0.3
  19.     Color 1.0 0.8 0.0
  20.     LightSampling Facet
  21.     ClumpBegin
  22.         Tag 7           # Tag 7 is the forefinger
  23.         Color 0.5 0.7 0.3
  24.         LightSampling Facet
  25.         Translate 0.0 0.2 0.0
  26.         Block 0.3 0.3 0.1
  27.     ClumpEnd
  28.     ProtoEnd
  29.  
  30.     ProtoBegin UpperFinger
  31.     Surface 0.5 0.7 0.3
  32.     Color 1.0 0.8 0.0
  33.     LightSampling Facet
  34.     Translate 0.0 0.35 0.0
  35.     Block 0.3 0.4 0.1
  36.     TransformBegin
  37.         Translate 0.0 0.2 0.0
  38.         TransformBegin
  39.         Color 0.9 0.0 0.0
  40.         LightSampling Vertex
  41.         Rotate 0.0 0.0 1.0 90.0
  42.         Translate 0.05 -0.15 0.0
  43.         Cylinder 0.3 0.05 0.05 6
  44.         Disc 0.0 -0.05 6
  45.         Disc 0.3 0.05 6
  46.         TransformEnd
  47.                   Translate 0.0 0.05 0.0
  48.          ProtoInstance ForeFinger
  49.     
  50. TransformEnd
  51.     ProtoEnd
  52.  
  53.     ProtoBegin Hand
  54.     Surface 0.6 0.4 0.8
  55.     Color 0.9 0.0 0.0
  56.     LightSampling Vertex
  57.     Sphere 0.15 3
  58.     TransformBegin
  59.         ClumpBegin    
  60.         Tag 5               # Tag 5 is the first finger.
  61.         ProtoInstance UpperFinger
  62.         ClumpEnd
  63.         ClumpBegin
  64.         Tag 6               # Tag 6 is the second finger.
  65.         ProtoInstance UpperFinger
  66.         ClumpEnd
  67.     TransformEnd
  68.     ProtoEnd
  69.  
  70. ProtoBegin ForeArm
  71.     Surface 0.6 0.4 0.8
  72.     Color 0.9 0.0 0.0
  73.     LightSampling Vertex
  74.     Sphere 0.2 3
  75.     ClumpBegin
  76.         Tag 3              # Tag for the forearm is 3
  77.         Color 0.9 0.9 0.0
  78.         Translate 0.0 0.2 0.0
  79.         Disc 0.0 -0.2 6
  80.         Cylinder 2.05 0.2 0.15 6
  81.         Disc 2.05 0.15 6
  82.         Translate 0.0 2.20 0.0
  83.         ClumpBegin
  84.             Tag 4           # Tag for the hand is 4
  85.             ProtoInstance Hand
  86.         ClumpEnd
  87.     ClumpEnd
  88.     ProtoEnd
  89.  
  90.   ProtoBegin Arm
  91.     Surface 0.6 0.4 0.8
  92.     Color 0.0 0.9 0.0
  93.     LightSampling Vertex
  94.     ClumpBegin
  95.         Disc 0.0 -0.3 6
  96.         Cylinder 2.0 0.3 0.2 6
  97.         Disc 2.0 0.2 6
  98.         Translate 0.0 2.2 0.0
  99.         ProtoInstance ForeArm
  100.     ClumpEnd
  101.     ProtoEnd
  102.  
  103.     ClumpBegin
  104.     ProtoInstance Base
  105.     TransformBegin
  106.     Translate 0.0 1.2 0.0
  107.     ClumpBegin
  108.         Tag 2           # Tag for the upper arm is 2
  109.         Translate 0.0 0.3 0.0
  110.         ProtoInstance Arm
  111.         Tag 1           # Tag for the second arm is 1
  112.         Translate 0.0 0.3 0.0
  113.         ProtoInstance Arm
  114.     ClumpEnd
  115.     TransformEnd
  116.     ClumpEnd
  117. ModelEnd
  118.  
  119.