software for "3D Sandbox", and interactive video toy by Clay Burton, Shaurjya Banerjee, and James Anderson
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
analglyph.xcodeproj
analglyphSerialTest
bin/data
src
.gitignore
Makefile
Project.xcconfig
README.md
addons.make
config.make
openFrameworks-Info.plist

README.md

3dsandbox

this is the software component of "3d sandbox." it is an openFrameworks application that processes video frames from a USB camera. One stereo channel shows the newest frame, and the other side shows a delayed frame. The camera is mechanically actuated to move along a linear track, perpendicularly to the camera's view ray. When the camera reaches the end of the track, in either direction, this application receives a message via the Arduino usbserial adapter, and responds by swapping the stereo images.

settings are given as command line arguments, so the app has to be launched from the command line, like so:

analglyph.app/Contents/MacOS/analglyph 0 1280 720 20 0 0

0 is which camera (every time you run it they are listed) 1280 720 is the desired resolution (if it's too large there will be an error describing how large it can be) 20 is the amount of frames to delay (max is 60) 0 is the serial device (you probably only have one anyway)

the last 0 flips the left/right if you change it to something that isnt 0.