Sin_Wav
INFO: Steve Thorpe Application Visualization System Specialist International AVS Center North Carolina Supercomputing Center 3021 Cornwallis Road, PO Box 12889 Research Triangle Park, NC 27709-2889 avs@ncsc.org
sin_wav.c
DATA
NONE
Name Type vector_field field 1D 1-space 1-vector uniform float
Name Type Default Min Max npoints integer 128 1 360
This little module was written while playing with the graph viewer. I wanted a simple module to spit out a 1D field, and this did the trick. It computes a sin wave, over the range 1..npoints degrees, and spits out a "field 1D 1-space 1-vector uniform float" suitable for display with the graph viewer module. This may be a useful "starter module" if you want to learn how to get your 1D data into AVS. SAMPLE NETWORK: Sin_Wave | | graph viewer