; 
; Sine Demo
; Code provided by Chris Walquist, Industrial Consultant
;
; Loads an animation sequence displaying a two-dimensional sine function.
;

; Open window
window open polyview Sine

; Set up props associated with the data
props grid XY

; Draw as nice outlined polygons when interactive, draw nothing when dragging.
draw outlined
drag nothing

; Set up data for window and load it.
data color pz
data z pz
data file sine.hdf
data frame /*
data load

; Position camera
jump camera 10.71 10.32 1.82

; Fly around the surface
move path spherical
move camera 4.283864e+00 4.102141e+00 2.321597e+00
move camera 4.631484e-01 -3.416277e+00 7.315938e-01

draw edges
move camera -2.332368e-01 9.058091e+00 -1.361524e+00
move camera 2.755669e+00 4.974810e+00 -4.697213e-01
move camera 2.017283e+00 1.006344e+01 -1.703114e+00
move camera 7.477687e+00 8.825567e+00 2.880981e-01
