B582 - Lecture 3.3



 

Outline - CAVE Lib Examples



Another Shared Memory Example

fireworks.c - no synchronization
fireworks_locks.c - using memory locks & process barriers
fireworks_doublebuffer.c - using data double-buffering & locks
Makefile



 

Text example - using X

text_x.c
Makefile



 

Data File Examples

(from AVL, by J.N.Huffman)

read_file1.c - point rendering
read_file2.c - sphere rendering
read_file3.c - colored sphere rendering
Makefile
data1.dat - for read_file1 & 2
data3.dat - for read_file3


Manipulation Examples

(from NCSA Tutorial)

Get the following files from the NCSA site; source code here, data files here.
Run with magicWand trm or controlOrder trm

magicWand.cc - zero order manipulation (direct manipulation)
controlOrder.cc - first order manipulation (control rate of change)
Makefile
molecule.cc
basics.cc
trm.atom
trm.bond