18 June, 2010
First draft of Soundscape
I'm working on a new iPhone app, and I've got the basics of the 3D layout working.
I'm using the Cinder library and OpenGL to draw a 3D sheet to the screen.
I followed the lead of this terrain map tutorial quite closely to get the basic data structure layout of the sheet. After a lot of banging my head against the wall, I think I finally understand how to construct efficient height maps in OpenGL.
For the height and color, I just use a simple sine wave slightly offset from the z-axis.
In the future, the heights will be determined by sound coming in from the microphone, processed by an FFT. My goal is to emulate, on the iPhone and iPad, this audio-generated landscape by the ever-great flight404.