ios-samples/GLCameraRipple
Joel Martinez 195db80fe3 Added gallery opt-in to metadata 2014-02-20 10:22:07 -05:00
..
Resources [GLCameraRipple] updating README, screenshots and app icons 2013-10-22 15:49:24 +01:00
Screenshots [GLCameraRipple] updating README, screenshots and app icons 2013-10-22 15:49:24 +01: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 [GLCameraRipple] updating README, screenshots and app icons 2013-10-22 15:49:24 +01:00
GLCameraRipple.sln Add the beginning of the GLCameraRipple sample 2012-03-08 19:04:38 -05:00
Info.plist [GLCameraRipple] updating README, screenshots and app icons 2013-10-22 15:49:24 +01:00
Metadata.xml Added gallery opt-in to metadata 2014-02-20 10:22:07 -05:00
README.md [GLCameraRipple] updating README, screenshots and app icons 2013-10-22 15:49:24 +01:00
Ripple.cs Reformat sample with tabs 2012-08-14 15:20:06 -04:00
RippleViewController.cs [GLCameraRipple] updating README, screenshots and app icons 2013-10-22 15:49:24 +01: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)