ios-samples/GLCameraRipple
Craig Dunn 4c80fc02b3 fix GLCameraRipple
reverts 87581fb701
2017-08-09 14:10:51 -07: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 Pull from upstream 2015-01-19 20:39:40 +05:30
Entitlements.plist Further resolved warnings and errors in monotouch-samples 2015-04-28 17:48:55 -04:00
GLCameraRipple.csproj Updated architecture setting to 32&64 bit, and specified iOS 9 as minimum SDK version. 2017-07-19 13:27:52 +01:00
GLCameraRipple.sln Add the beginning of the GLCameraRipple sample 2012-03-08 19:04:38 -05:00
Info.plist Updated architecture setting to 32&64 bit, and specified iOS 9 as minimum SDK version. 2017-07-19 13:27:52 +01:00
Metadata.xml Update brief tags description 2015-03-27 06:09:51 +03:00
README.md [GLCameraRipple] updating README, screenshots and app icons 2013-10-22 15:49:24 +01:00
Ripple.cs Further resolved warnings and errors in monotouch-samples 2015-04-28 17:48:55 -04:00
RippleViewController.cs fix GLCameraRipple 2017-08-09 14:10:51 -07: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)