home *** CD-ROM | disk | FTP | other *** search
/ The Best of Windows 95.com 1996 September / WIN95_09962.iso / vrml / MWE105.ZIP / EExamples / grid.wrl < prev    next >
Text File  |  1996-01-27  |  1KB  |  90 lines

  1. #VRML V1.0 ascii
  2.  
  3. #Generated by VRMLExpress from grid.vxr
  4.  
  5. Separator {
  6.     renderCulling AUTO
  7.  
  8.     PerspectiveCamera {
  9.         position 5 5 20
  10.         orientation -1  0  0  0.244979
  11.         focalDistance 20
  12.         heightAngle 0.7854
  13.     }
  14.  
  15.     DEF BackgroundColor Info {
  16.         string ".1 .5 .7"
  17.     }
  18.  
  19.     Material {
  20.         ambientColor 0.2 0.2 0.2
  21.         diffuseColor 1 1 1
  22.         specularColor 0 0 0
  23.         emissiveColor 0 0 0
  24.         shininess 0.2
  25.         transparency 0
  26.     }
  27.  
  28.     DEF gridDataXZ Coordinate3 {
  29.         point [ 0 0 0,
  30.             10 0 0,
  31.             0 0 0,
  32.             0 0 10,
  33.             0 0 1,
  34.             10 0 1,
  35.             1 0 0,
  36.             1 0 10,
  37.             0 0 2,
  38.             10 0 2,
  39.             2 0 0,
  40.             2 0 10,
  41.             0 0 3,
  42.             10 0 3,
  43.             3 0 0,
  44.             3 0 10,
  45.             0 0 4,
  46.             10 0 4,
  47.             4 0 0,
  48.             4 0 10,
  49.             0 0 5,
  50.             10 0 5,
  51.             5 0 0,
  52.             5 0 10,
  53.             0 0 6,
  54.             10 0 6,
  55.             6 0 0,
  56.             6 0 10,
  57.             0 0 7,
  58.             10 0 7,
  59.             7 0 0,
  60.             7 0 10,
  61.             0 0 8,
  62.             10 0 8,
  63.             8 0 0,
  64.             8 0 10,
  65.             0 0 9,
  66.             10 0 9,
  67.             9 0 0,
  68.             9 0 10,
  69.             0 0 10,
  70.             10 0 10,
  71.             10 0 0,
  72.             10 0 10 ]
  73.     }
  74.  
  75.     DEF gridXZ IndexedLineSet {
  76.         coordIndex [ 0, 1, -1, 2, 3, -1, 4, 5, -1, 6,
  77.              7, -1, 8, 9, -1, 10, 11, -1, 12, 13,
  78.              -1, 14, 15, -1, 16, 17, -1, 18, 19, -1,
  79.              20, 21, -1, 22, 23, -1, 24, 25, -1, 26,
  80.              27, -1, 28, 29, -1, 30, 31, -1, 32, 33,
  81.              -1, 34, 35, -1, 36, 37, -1, 38, 39, -1,
  82.              40, 41, -1, 42, 43, -1 ]
  83.         materialIndex -1
  84.         normalIndex -1
  85.         textureCoordIndex -1
  86.     }
  87.  
  88. }
  89.  
  90.