I finally finished up the first release of this addon which was a collaboration of myself with Andreas Müller (nanika) with some tips and suggestions from the OF regulars, especially Memo, plus some unreleased GUI code from Theo which proved very useful as well.
As it stands, this addon is meant to be extensible such that you can eventually plug in your own camera SDKs and also customize the GUI (albeit using the same GUI elements).
The addon currently defaults to using Libdc1394, a very useful library which connects well with (mostly firewire) IIDC cameras such as those from Point Grey research and the popular Fire-i from Unibrain.
Currently this addon only has compiled Libdc1394 libraries for Linux and OSX. I’m going to have a try at compiling for Windows, but it’s lower priority because windows currently supports the Fly Capture SDK for Point Grey cameras.
A Fly Capture SDK using the new version 2.0 API from Point Grey is forthcoming…actually if anyone wants to help out with this I would appreciate it.
Current (minor) issues:
-
I have supplied a font in the download because currently you need to supply a font for the GUI drop downs to render properly. The default bitmapfont has issues on OSX (couldn’t get it to render behind opengl quads even with depth testing switched on).
-
Also I was getting an occasional hang on OSX on app exit. I seemed to have fixed this by sleeping a little after shutting down the capture thread before stopping the camera. I you experience any weird issues please let me know.
-
Saving and loading of settings is not implemented yet
I’ve zipped up a version of the code with Codeblocks Linux and XCode projects here:
http://code.google.com/p/digitalstarcode
You can also check out the svn if you like.