Hey all!
I just checked in a big chunk of new code and a new interface for BBTouch. (now up to r151)
I moved some of the interface stuff around, I put the TUIO stuff and the Screen Selector into sheets to unclutter the main interface a bit. I also added a button to open the filter config window. as well as the new config library :-) more on that in a sec.
I added a whole new configuration control system. Now you can save and load configurations on the fly very easily through the config library.
It is pretty straight forward: just get all the settings to where you like them, then open the library, hit “+” and it will add a new configuration (double click to edit the name). each configuration holds every value on the interface as well as both the camera mesh and the projection mesh. So now you can configure all the various surfaces/situations you might need and just switch them easily on the fly.
Thanks again to Sandor for funding all these new changes (as well as the other code that I am working on that will be posted next week; a few demo apps like a cocoa based lightbox (all TUIO of course, so you can use it even if you dont want to use BBTouch). Also, Sandor and I are rushing to get these apps working by Monday, so if you want to help out, load up bbtouch and break the hell out of it and let me know what bugs you find.
Here is a binary of r151:
bbtouchr151app (check more recent posts for newer binaries)
also the code is up on the repo, link in the sidebar to the right.
I will probably be changing the BBTouch code a few times this week, so check back for the most recent stuff. (i will always commit the code to the google repo too, so that will always be updated)
Cheers!
-b













Sandor already found a bug :-)
When you are changing resolutions (which requires you to restart BBTouch anyway) it looks like the mesh stays in the proper scale, but it does not. It is drawing it in the right scale, but the actual mesh is in the coordinate system of the old rez, so you will have to recalibrate for the new resolution.
If you are going to be changing rez a bunch, i would suggest using the new config system to save off the configs at the various resolutions (note: if you load up a config with a different rez, you still need to restart BBTouch)
I will try to get to this in the next few days.
Cheers!
-b