ios-samples/GLCameraRipple
NinaV e5ae35eac5 add new resources 2012-12-20 14:20:14 -05:00
..
Resources add new resources 2012-12-20 14:20:14 -05:00
Shaders Add the beginning of the GLCameraRipple sample 2012-03-08 19:04:38 -05:00
AppDelegate.cs Reformat sample with tabs 2012-08-14 15:20:06 -04:00
GLCameraRipple.csproj add new resources 2012-12-20 14:20:14 -05:00
GLCameraRipple.sln Add the beginning of the GLCameraRipple sample 2012-03-08 19:04:38 -05:00
Info.plist add new resources 2012-12-20 14:20:14 -05:00
Metadata.xml Add metadata and README for GLCameraRipple 2012-03-22 16:48:56 -04:00
README.md Add metadata and README for GLCameraRipple 2012-03-22 16:48:56 -04:00
Ripple.cs Reformat sample with tabs 2012-08-14 15:20:06 -04:00
RippleViewController.cs Converted Sample to use OpenTK-1.0 2012-04-09 12:42:40 -04:00

README.md

GLCameraRipple

This is a port of Apple's GLCameraRipple sample to C# and MonoTouch.

http://developer.apple.com/library/ios/#samplecode/GLCameraRipple/Introduction/Intro.html

This sample shows how to use GLKit [1] to render OpenGL frames, AVFoundation to fetch live video from the camera and OpenTK's API to load a couple of shaders that simulate a water ripple effect when the user touches the display.

This uses the CVOpenGLESTextureCache [2] class which was introduced with iOS 5.0 which binds CoreVideo buffers to OpenGL textures.

[1] http://iosapi.xamarin.com/?link=N%3aMonoTouch.GLKit [2] http://iosapi.xamarin.com/?link=T%3aMonoTouch.CoreVideo.CVOpenGLESTextureCache

Ported by: Miguel de Icaza (miguel@xamarin.com)