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

  1. # rfFace4.rwx    build a dual sided quad with two opacities
  2. ModelBegin
  3.       ClumpBegin
  4.  
  5.     Vertex -0.60 -0.60  0.60    # vertex 1
  6.     Vertex  0.60 -0.60  0.60    # vertex 2
  7.     Vertex  0.60  0.60  0.60    # vertex 3
  8.     Vertex -0.60  0.60  0.60    # vertex 4
  9.  
  10.     Surface 0.40    0.50    0.50
  11.     Color    0.0    0.5    0.5
  12.     Opacity .30
  13.     Quad    1    2    3    4    # quad defined by vertex 1, 2, 3, 4
  14.     Color    0.0    0.5    0.5
  15.     Opacity .80
  16.     Quad    4    3    2    1    # quad defined by vertex 1, 2, 3, 4
  17.      ClumpEnd
  18. ModelEnd
  19.  
  20.