Scripts


The script sets variables, and uses them to perform OpenGL drawing instructions. 







Scripting Overview

Vizzy scripts determine how each frame is drawn from the current music data.   The scripts use a sequence like this (various steps may be omitted or repeated):
  1. Set up the background (clear it? fade it? import an image?)
  2. Set up the data: how many seconds of music are we seeing? etc..
  3. Place the camera and rotate the scene to the desired angle, possibly using time-dependancies
  4. Set up an array of coordinates and colors
  5. Modify the coordinate arrays
  6. Draw
Results depend on getting instructions in the right order!  Also, some types of instructions are much faster than others, so getting the hang of the system results in better, faster movies.

Much of the documentation is in the tooltips, which can also be seen in the value inspector.



The most basic types of instructions are: Prep, Color, Adjust, and Draw.
Additional types help with special cases:



The presets are useful example scripts.


There really should be some documentation here about the specific panels and how they work.