Posts Tagged ‘c++’

ofxiPhoneAlertView

Wednesday, June 10th, 2009

Here is a (really) basic wrapper for the UIAlertView in openFrameworks of iPhone. Not all of the necessary delegate methods have been implemented yet, but this is enough for me to get the proof of concept rolling in an app I’m building.

Feel free to let me know how I can do things better, or just tinker with the code directly at github: ofxiPhoneWrappers

Check out the example project. This is a bit of a kludge. I would like to figure out how to avoid having to declare main and testApp as mixed source files (.mm). It works for now, however.

Here are the notes on using the class: (more…)

Toy Design: Talking Blocks sketches

Tuesday, April 7th, 2009

sketch_v01_darkAlex and I have been developing the plans for the blocks in preparation for building the prototypes in the next week. For this, I built the community edition of QCad (open source FTW!) and have been teaching myself how to draw with it. There was a bit of a learning curve to the interface and the modal model of the application tools, but I’m now relatively comfortable with the basics. (more…)

openFrameworks + iPhone libs

Wednesday, March 25th, 2009

of_iphoneI’ve had a few days to test the libraries I cobbled together for using openFrameworks with iPhone and also received positive reports from some folks who tried out the Makefiles I provided to them, so here they are for anyone who’s willing to try them out. -please make these instructions better if you see fit- (more…)

openFrameworks + iPhone

Monday, March 16th, 2009

particles-iphoneI’ve heard about openFrameworks 0.6 (as of yet unreleased) and specifically efforts to support building apps using oF for the iPhone. There are a few developers who have published videos of their efforts and even several apps in the AppStore.

Memo Atken has a very informative article about setting up the prerelease 0.6 version for use with the ofxiPhone addon. However, there is a HUGE simplification of the steps necessary for getting the supporting libraries installed for use with iPhone.

Update: freetype/freeimage building instructions have been posted. (more…)

Spatial Media: Camera Coding

Friday, January 30th, 2009

Assignment 2(b):

cameracoding_grab

Make an app that allows you to get a single pixel color from live video and fill a rectangle with that color.

I’ve done similar things countless times in Processing (and Director before that), so I used this as an opportunity to dive into openFrameworks. I have been building up my experience of coding with C++ through working with Golden Cheetah and I can finally (sort-of) read the syntax of the code comfortably. I’m also getting used to working in Xcode.

Anyway, here is the result of the quick sketch of the app. I still need to check over my coding conventions to make sure that I’m not doing anything really inefficient, but this works for now. I feel like I’m starting over again…which is fine.

Here is the application (os x) and source code (xcode project, for use with oF v0.05).