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

  1. ModelBegin
  2.  
  3. ProtoBegin Face
  4.     Vertex -0.4 0.65 0.5 UV 0.00 0.00    #1  was 1
  5.     Vertex -0.4 -0.15 0.5 UV 0.00 1.00    #2  was 21
  6.     Vertex 0.4 -0.15 0.5 UV 1.00 1.00     #3  was 25
  7.     Vertex 0.4 0.65 0.5 UV 1.00 0.00    #4  was 5
  8.     LightSampling Vertex
  9.     GeometrySampling Solid
  10.     Surface 0.2 0.6 0.8
  11.     TextureMode Lit
  12.     Texture face
  13.     Quad  1 2 3 4   # split screen into squares
  14. ProtoEnd
  15.  
  16. ProtoBegin Base
  17.     # 1 - 8  BASE
  18.     Vertex -0.2 -0.25 0.2 
  19.     Vertex 0.2 -0.25 0.2  
  20.     Vertex 0.5 -0.75 0.5  
  21.     Vertex -0.5 -0.75 0.5 
  22.     Vertex -0.2 -0.25 -0.2
  23.     Vertex 0.2 -0.25 -0.2 
  24.     Vertex 0.5 -0.75 -0.5 
  25.     Vertex -0.5 -0.75 -0.5
  26.     LightSampling Facet
  27.     GeometrySampling Solid
  28.     Texture NULL
  29.     Surface 0.2 0.6 0.8
  30.     Color 0.0 0.0 1.0        #Blue
  31.     Quad 4 3 2 1
  32.     Quad 5 6 7 8
  33.     Quad 8 4 1 5
  34.     Quad 6 2 3 7
  35. #    Translate -0.51 0.25 0.52
  36. ProtoEnd
  37.  
  38. ProtoBegin Door
  39.     Tag 2 # Tag 2 means this object is manipulatable.
  40.     LightSampling Facet
  41.     GeometrySampling Solid
  42.     Surface 0.2 0.6 0.8
  43.     Color 0.0 1.0 0.0  #Green
  44.     Translate 0.0 0.25 0.55
  45.     Block 1.0 1.0 0.05
  46. ProtoEnd
  47.  
  48. ProtoBegin TV
  49.     # x=1.0 y =1.5 z=1.0
  50.     LightSampling Facet
  51.     GeometrySampling Solid
  52.     Surface 0.2 0.6 0.8
  53.     Color 1.0 0 0      #Red
  54.     Vertex -0.5 0.75 0.5  #1 - 8 are box corners
  55.     Vertex 0.5 0.75 0.5
  56.     Vertex 0.5 -0.25 0.5
  57.     Vertex -0.5 -0.25 0.5
  58.     Vertex -0.4 0.65 -0.5
  59.     Vertex 0.4 0.65 -0.5
  60.     Vertex 0.4 -0.25 -0.5
  61.     Vertex -0.4 -0.25 -0.5
  62.     # 9 - 12  screen bevel
  63.     Vertex -0.39 0.64 0.5  # 9 -12 are bevel vertices
  64.     Vertex 0.39 0.64 0.5
  65.     Vertex 0.39 -0.14 0.5
  66.     Vertex -0.39 -0.14 0.5
  67.  
  68.     # front face bevels
  69.     Quad 4 12 9 1  # left side bevel
  70.     Quad 1 9 10 2  # top bevel
  71.     Quad 2 10 11 3  # right bevel
  72.     Quad 3 11 12 4  # bottom bevel
  73.     # TV box  (no front)
  74.     Quad 5 6 7 8   # back of box
  75.     Quad 1 2 6 5  #top of box
  76.     Quad 3 4 8 7  #bottom of box
  77.     Quad 2 3 7 6  #right of box
  78.     Quad 1 5 8 4 # left of box
  79.     
  80.     ClumpBegin
  81.         ProtoInstance Door  # door belongs to TV
  82.     ClumpEnd
  83. ProtoEnd
  84.  
  85. ClumpBegin
  86.     ProtoInstance Base
  87.     ClumpBegin
  88.         ProtoInstance TV
  89.         ProtoInstance Face
  90.     ClumpEnd
  91. ClumpEnd
  92.  
  93. ModelEnd
  94.