;;; Demo World Fly File
;;; National Center for Supercomputing Applications at
;;; University of Illinois in Urbana-Champaign
;;;
;;; PURPOSE
;;; Controls a PolyView "flight" through the demo.hdf sample world.
;;; Camera tracks across field of tetrahedrons and through an aisle
;;; of them, stops at a wall and pans 270 degrees to its left, then travels
;;; through a tunnel of cubes and zooms up to view the world from on high.
;;; After a few orbits, it then flies back to its original position.

;;; Initialize Position to edge of array.
from abs .25 0.0 10
at abs .25 .25 4.0

;;; Move the at point to the end of the aisle.
at abs 1.75 .25 .25

;;; Move the camera to the other end of the aisle.
from abs 1.75 0.0 10

;;; Move the camera down the aisle until the wall stops it.
from abs 1.75 .25 .75

;;; Pan the camera to the left 270 degrees.
at abs .25 .25 .75
at abs 1.75 .25 10
at abs 20 .25 .75

;;; Move the camera through the tunnel
from abs 15 .25 .75

;;; And pull the camera up to view the entire scene.
from abs 15 2 .75
at abs .25 .25 4
from abs 15 8 .75

;;; Circle the world.
from abs .75 5 15
from abs -15 5 .75
from abs -.75 5 -15
from abs 15 5 .75

;;; Swoop down over the top of the tunnel
from abs 13 2 .75
from abs 1.5 1.5 .75

;;; And then underneath the bottom plane.
from abs -3.5 -4 8
from abs -.5 -2 12

;;; Then back to the original position.
from abs .25 0.0 10

;;; Track along the perimeter of the world.
from abs 3 .5 10
from abs 3 .5 2
from abs 13 1 2
from abs 13 1 -.5
from abs -.5 0.0 -.5
from abs -.5 1 10

;;; Back to the original position.
from abs .25 0.0 10
