This program continually draw the ROWs and SLICEs of the 3D Persistence of Vision Display to make up a static volume. The volume is then animated by sending new volume to the display.
Note the Library must be build with raw memory mapped IO for greater speed. This is completed with the following two commands.
cd fgcBeagleboneIO/src ./configure -enable-gpiomem=yes make install
Once the the above library is install the Dive program itself is build with:
cd dive make
The dive code runs with the highest priority with the swimming.sh shell script which should be automatically started on boot.
#!/bin/sh LD_LIBRARY_PATH=/usr/local/lib export LD_LIBRARY_PATH nice --20 /home/root/dive/dive
A complete Flash Disk Image (741MB) is available too for an 2BG SD Card.