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

  1. #VRML V1.0 ascii
  2.  
  3. #Generated by VRMLExpress from grid3D.vxr
  4.  
  5. Separator {
  6.     renderCulling AUTO
  7.  
  8.     PerspectiveCamera {
  9.         position 25 25 25
  10.         orientation -0.707107  0.707107  0  0.955317
  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.     Material {
  89.         ambientColor 0.2 0.2 0.2
  90.         diffuseColor 1 1 1
  91.         specularColor 0 0 0
  92.         emissiveColor 0 0 0
  93.         shininess 0.2
  94.         transparency 0
  95.     }
  96.  
  97.     DEF gridDataXY Coordinate3 {
  98.         point [ 0 0 0,
  99.             10 0 0,
  100.             0 0 0,
  101.             0 10 0,
  102.             0 1 0,
  103.             10 1 0,
  104.             1 0 0,
  105.             1 10 0,
  106.             0 2 0,
  107.             10 2 0,
  108.             2 0 0,
  109.             2 10 0,
  110.             0 3 0,
  111.             10 3 0,
  112.             3 0 0,
  113.             3 10 0,
  114.             0 4 0,
  115.             10 4 0,
  116.             4 0 0,
  117.             4 10 0,
  118.             0 5 0,
  119.             10 5 0,
  120.             5 0 0,
  121.             5 10 0,
  122.             0 6 0,
  123.             10 6 0,
  124.             6 0 0,
  125.             6 10 0,
  126.             0 7 0,
  127.             10 7 0,
  128.             7 0 0,
  129.             7 10 0,
  130.             0 8 0,
  131.             10 8 0,
  132.             8 0 0,
  133.             8 10 0,
  134.             0 9 0,
  135.             10 9 0,
  136.             9 0 0,
  137.             9 10 0,
  138.             0 10 0,
  139.             10 10 0,
  140.             10 0 0,
  141.             10 10 0 ]
  142.     }
  143.  
  144.     DEF gridXY IndexedLineSet {
  145.         coordIndex [ 0, 1, -1, 2, 3, -1, 4, 5, -1, 6,
  146.              7, -1, 8, 9, -1, 10, 11, -1, 12, 13,
  147.              -1, 14, 15, -1, 16, 17, -1, 18, 19, -1,
  148.              20, 21, -1, 22, 23, -1, 24, 25, -1, 26,
  149.              27, -1, 28, 29, -1, 30, 31, -1, 32, 33,
  150.              -1, 34, 35, -1, 36, 37, -1, 38, 39, -1,
  151.              40, 41, -1, 42, 43, -1 ]
  152.         materialIndex -1
  153.         normalIndex -1
  154.         textureCoordIndex -1
  155.     }
  156.  
  157.     Material {
  158.         ambientColor 0.2 0.2 0.2
  159.         diffuseColor 1 1 1
  160.         specularColor 0 0 0
  161.         emissiveColor 0 0 0
  162.         shininess 0.2
  163.         transparency 0
  164.     }
  165.  
  166.     DEF gridDataYZ Coordinate3 {
  167.         point [ 0 0 0,
  168.             0 0 10,
  169.             0 0 0,
  170.             0 10 0,
  171.             0 1 0,
  172.             0 1 10,
  173.             0 0 1,
  174.             0 10 1,
  175.             0 2 0,
  176.             0 2 10,
  177.             0 0 2,
  178.             0 10 2,
  179.             0 3 0,
  180.             0 3 10,
  181.             0 0 3,
  182.             0 10 3,
  183.             0 4 0,
  184.             0 4 10,
  185.             0 0 4,
  186.             0 10 4,
  187.             0 5 0,
  188.             0 5 10,
  189.             0 0 5,
  190.             0 10 5,
  191.             0 6 0,
  192.             0 6 10,
  193.             0 0 6,
  194.             0 10 6,
  195.             0 7 0,
  196.             0 7 10,
  197.             0 0 7,
  198.             0 10 7,
  199.             0 8 0,
  200.             0 8 10,
  201.             0 0 8,
  202.             0 10 8,
  203.             0 9 0,
  204.             0 9 10,
  205.             0 0 9,
  206.             0 10 9,
  207.             0 10 0,
  208.             0 10 10,
  209.             0 0 10,
  210.             0 10 10 ]
  211.     }
  212.  
  213.     DEF gridYZ IndexedLineSet {
  214.         coordIndex [ 0, 1, -1, 2, 3, -1, 4, 5, -1, 6,
  215.              7, -1, 8, 9, -1, 10, 11, -1, 12, 13,
  216.              -1, 14, 15, -1, 16, 17, -1, 18, 19, -1,
  217.              20, 21, -1, 22, 23, -1, 24, 25, -1, 26,
  218.              27, -1, 28, 29, -1, 30, 31, -1, 32, 33,
  219.              -1, 34, 35, -1, 36, 37, -1, 38, 39, -1,
  220.              40, 41, -1, 42, 43, -1 ]
  221.         materialIndex -1
  222.         normalIndex -1
  223.         textureCoordIndex -1
  224.     }
  225.  
  226. }
  227.  
  228.