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

  1. # rfFace3.rwx    build a single sided quad with texture mapping
  2. ModelBegin
  3.       ClumpBegin
  4.  
  5.     Vertex -0.60 -0.60  0.60    UV 0.0 1.0    # vertex 1
  6.     Vertex  0.60 -0.60  0.60    UV 1.0 1.0    # vertex 2
  7.     Vertex  0.60  0.60  0.60    UV 1.0 0.0    # vertex 3
  8.     Vertex -0.60  0.60  0.60    UV 0.0 0.0    # vertex 4
  9.     Vertex -0.60 -0.60  0.60    UV 0.0 2.0    # vertex 5
  10.     Vertex  0.60 -0.60  0.60    UV 2.0 2.0    # vertex 6
  11.     Vertex  0.60  0.60  0.60    UV 2.0 0.0    # vertex 7
  12.     Vertex -0.60  0.60  0.60    UV 0.0 0.0    # vertex 8
  13.       
  14.     TextureModes Lit
  15.      Texture chilli
  16.     Surface 0.40    0.50    0.50
  17.     Quad    1    2    3    4    # quad defined by vertex 1, 2, 3, 4
  18.     Quad    8    7    6    5      # quad by vertex 8 7 6 5
  19.        ClumpEnd
  20. ModelEnd
  21.  
  22.  
  23.