Download

The latest revision of TUIO Smoke is v0.6.

The latest Windows binary (32bit) is available here: tuiosmoke-0.6-win32.zip

The latest sources are available here: tuiosmoke-0.6-source.tar.gz,
or in a zip archive here: tuiosmoke-0.6-source.zip

You can also check out the latest development snapshot via SVN:

svn checkout http://svn.edencomputing.com/tuiosmoke tuiosmoke

Compiling

TODO: Mac OSX compiling instructions

Linux

Included in the source is a simple Makefile, so you should be able to simply unpack the source and make.

Required Headers/Libraries for compilation are:

These packages should be available from your distro's package manager / sources.

Windows

Download and install Code::Blocks, get the full version with the MinGW GCC compiler.

Grab one of the source packages, and open up the file tuiosmoke.cbp

Build away!

The executable should be written to \tuiosmoke\bin\tuiosmoke.exe

Note that if you move the executable, you should bring the FFTW and SDL DLL's with it - these are not statically compiled into the executable by default.

Usage

tuiosmoke [port] {flags}
   [port]      This should be the port number your TUIO UDP data is broadcast on (Default UDP 3333).

   -f | --fullscreen                Start fullscreen
   -d | --debug                     Debugging mode
   -h|-u | --help|-usage            Show this help

   -m | --meshsize [int]            Set smoke mesh size (default 100)
   -v | --viscosity [float]         Set viscosity (default 0.005)
   -t | --timestep [float]          Set fluid timestep (default 0.5)
   -w | --width WIDTH               Set the window width
                                      (with -f set the fullscreen width)
   -h | --height HEIGHT             Set the window height
                                      (with -f set the fullscreen height)
   --fdelay [float]                 Set the frame-delay [ms] (default 5)
   --velocity                       Draw the velocity map at start

    Keyboard interaction:

    f        Toggle fullscreen
    w        Toggle wireframe mode
    c        Toggle FPS display
    d        Toggle draw fingers
    v        Toggle velocity map
    q|ESC        Exit the program

Also available in: HTML TXT