home *** CD-ROM | disk | FTP | other *** search
/ VRML Tools for 3D Cyberspace / VRML_Tools_For_3D_Cyberspace.iso / amber / bin / bird.wrl next >
Text File  |  1996-07-01  |  4KB  |  253 lines

  1. #VRML V1.0 ascii
  2.  
  3. Separator {
  4.     Transform {
  5.         translation 0 0 0 
  6. #        scaleFactor 0.08 0.08 0.08
  7.         scaleFactor 0.5 0.5 0.5
  8.     }
  9.     Group {
  10.     NormalBinding {
  11.         value PER_FACE
  12.     }
  13. #    LightModel {
  14. #        model    PHONG
  15. #    }
  16.     Group {
  17.         Separator {
  18. #        Label {
  19. #            label "bird body"
  20. #        }
  21.         Transform {
  22.             translation 0 0 0
  23.         }
  24.         Coordinate3 {
  25.             point [ 0.0  0.0  0.4,
  26.                 1.8  0.0  0.3,
  27.                 1.8  0.0 -0.3,
  28.                 0.0  0.0 -0.4,
  29.                 0.2 -1.0  0.0,
  30.                 1.7 -0.8  0.0]
  31.         }
  32.         Normal {
  33.             vector [ 0 1 0,
  34.                 0 -.5 1,
  35.                 0 -.5 -1,
  36.                 -1 -.2 0,
  37.                 1 .2 0]
  38.         }
  39.         IndexedFaceSet {
  40.             coordIndex [ 0, 1, 2, 3, -1,
  41.                 0, 4, 5, 1, -1,
  42.                 2, 5, 4, 3, -1,
  43.                 0, 3, 4, -1,
  44.                 1, 5, 2, -1 ]
  45.         }
  46.         }
  47.         Separator {
  48. #            Label {
  49. #            label "bird head"
  50. #            }
  51.             Coordinate3 {
  52.             point [ 0.0  0.0  0.4,
  53.                 0.0  0.0 -0.4,
  54.                    -1.2 -0.6  0.0,
  55.                    -0.2 -1.1  0.0]
  56.             }
  57.             Normal {
  58.             vector [ -.5 1 0,
  59.                 0 -.5  1,
  60.                 0 -.5 -1,
  61.                 .5 -.5 0]
  62.             }
  63.  
  64.             IndexedFaceSet {
  65.             coordIndex [ 0, 1, 2, -1,
  66.                 3, 0, 2, -1,
  67.                 1, 3, 2, -1,
  68.                 3, 1, 0, -1]
  69.             }
  70.         }
  71.         Separator {
  72. #            Label {
  73. #            label "bird tail"
  74. #            }
  75.             Material { emissiveColor 1 0 0 }
  76.             Transform {
  77.             translation 1.8 0 0
  78.             }
  79.             Coordinate3 {
  80.             point [ 0.0  0.0  0.3,
  81.                 1.4 -0.6  0.7,
  82.                 1.4 -0.6 -0.7,
  83.                 0.0  0.0 -0.3,
  84.                 0.2 -0.8  0.0]
  85.             }
  86.             Normal {
  87.             vector [ .3 1 0,
  88.                  -.1 -.5 1,
  89.                  .25 -1  0,
  90.                  -.1 -.5 -1,
  91.                  -.5 -.5 0
  92.                 ]
  93.             }
  94.  
  95.             IndexedFaceSet {
  96.             coordIndex [ 0, 1, 2, 3, -1,
  97.                 0, 4, 1, -1,
  98.                 1, 4, 2, -1,
  99.                 2, 4, 3, -1,
  100.                 0, 3, 4, -1]
  101.             }
  102.         }
  103.         Separator {
  104. #        Label {
  105. #            label "bird left wing"
  106. #        }
  107.         Transform {
  108.             translation 0 0 0.4
  109.             rotation 0 1 0 0
  110.         }
  111.         Coordinate3 {
  112.             point [ 0.0 0.0  0.0,
  113.                 1.8 0.0 -0.1,
  114.                 1.4 0.2  2.0,
  115.                 0.0 0.2  2.0,
  116.                 0.0 -.02  0.0,
  117.                 1.8 -.02 -0.1,
  118.                 1.4 0.18  2.0,
  119.                 0.0 0.18  2.0]
  120.         }
  121.         Normal {
  122.             vector [ 0  1 -.1,
  123.                  0 -1 -.1,
  124.                  0  0   1,
  125.                  1  0   0,
  126.                  0  0  -1,
  127.                 -1  0   0]
  128.         }
  129.         NormalBinding {
  130.             value PER_FACE
  131.         }
  132.         IndexedFaceSet {
  133.             coordIndex [3, 2, 1, 0, -1,
  134.                 4, 5, 6, 7, -1,
  135.                 0, 1, 5, 4, -1,
  136.                 1, 2, 6, 5, -1,
  137.                 2, 3, 7, 6, -1,
  138.                 3, 0, 4, 7, -1
  139.                 ]
  140.         }
  141.  
  142.         Transform {
  143.             translation 0 0.2 2.0
  144.             rotation 0 1 0 0
  145.         }
  146.         Coordinate3 {
  147.             point [ 0.0  0.0 0.0,
  148.                 1.4  0.0 0.0,
  149.                 1.8 -.1 1.6,
  150.                 1.0 -.1 1.4,
  151.                 0.0 -.02 0.0,
  152.                 1.4 -.02 0.0,
  153.                 1.8 -.12 1.6,
  154.                 1.0 -.12 1.4]
  155.         }
  156.         Normal {
  157.             vector [ 0  1 .05,
  158.                  0 -1 .05,
  159.                  0  0  1,
  160.                  1  0  0,
  161.                  0  0 -1,
  162.                 -1 0  0]
  163.         }
  164.         NormalBinding {
  165.             value PER_FACE
  166.         }
  167.         IndexedFaceSet {
  168.             coordIndex [3, 2, 1, 0, -1,
  169.                 4, 5, 6, 7, -1,
  170.                 0, 1, 5, 4, -1,
  171.                 1, 2, 6, 5, -1,
  172.                 2, 3, 7, 6, -1,
  173.                 3, 0, 4, 7, -1
  174.                 ]
  175.         }
  176.         }
  177.         Separator {
  178. #        Label {
  179. #            label "bird right wing"
  180. #        }
  181.         Transform {
  182.             translation 0 0 -0.4
  183.             rotation 0 1 0 0
  184.         }
  185.         Coordinate3 {
  186.             point [ 0.0 0.00  0.0,
  187.                 1.8 0.00  0.1,
  188.                 1.4 0.20 -2.0,
  189.                 0.0 0.20 -2.0,
  190.                 0.0 -0.02 0.0,
  191.                 1.8 -0.02  0.1,
  192.                 1.4  0.18 -2.0,
  193.                 0.0  0.18 -2.0]
  194.         }
  195.         Normal {
  196.             vector [ 0 1 .1,
  197.                  0 -1 .1,
  198.                  0  0  1,
  199.                  1  0  0,
  200.                  0  0 -1,
  201.                  -1 0  0]
  202.         }
  203.         NormalBinding {
  204.             value PER_FACE
  205.         }
  206.         IndexedFaceSet {
  207.             coordIndex [ 0, 1, 2, 3, -1,
  208.                  7, 6, 5, 4, -1,
  209.                  4, 5, 1, 0, -1,
  210.                  5, 6, 2, 1, -1,
  211.                  6, 7, 3, 2, -1,
  212.                  7, 4, 0, 3, -1
  213.                    ]
  214.         }
  215.         Transform {
  216.             translation 0 0.2 -2.0
  217.             rotation 0 1 0 0
  218.         }
  219.         Coordinate3 {
  220.             point [ 0.0 0.0 0.0,
  221.                 1.4 0.0 0.0,
  222.                 1.8 -.1 -1.6,
  223.                 1.0 -.1 -1.4,
  224.                 0.0 -.02 0.0,
  225.                 1.4 -.02 0.0,
  226.                 1.8 -.12 -1.6,
  227.                 1.0 -.12 -1.4]
  228.         }
  229.         Normal {
  230.             vector [ 0  1  -.05,
  231.                  0 -1  -.05,
  232.                  0  0  1,
  233.                  1  0  0,
  234.                  0  0 -1,
  235.                  -1 0  0]
  236.         }
  237.         NormalBinding {
  238.             value PER_FACE
  239.         }
  240.         IndexedFaceSet {
  241.             coordIndex [ 0, 1, 2, 3, -1,
  242.                  7, 6, 5, 4, -1,
  243.                  4, 5, 1, 0, -1,
  244.                  5, 6, 2, 1, -1,
  245.                  6, 7, 3, 2, -1,
  246.                  7, 4, 0, 3, -1
  247.             ]
  248.         }
  249.         }
  250.     }
  251.     }
  252. }
  253.