Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jlyonsmith/gles2tutorial

OpenGL ES 2.0 with MonoTouch and OpenTK Tutorial
https://github.com/jlyonsmith/gles2tutorial

Last synced: 6 days ago
JSON representation

OpenGL ES 2.0 with MonoTouch and OpenTK Tutorial

Awesome Lists containing this project

README

        

This project is a port of the Objective-C sample code provided with the wonderful OpenGL ES 2.0 for iPhone tutorials [Part 1](http://www.raywenderlich.com/3664/opengl-es-2-0-for-iphone-tutorial) and [Part 2](http://www.raywenderlich.com/4404/opengl-es-2-0-for-iphone-tutorial-part-2-textures) at [RayWenderlich.com](http://raywenderlich.com) to the iOS platform using [MonoTouch](http://xamarin.com).

The code makes use of the [OpenTK](http://opentk.com) libraries which wrap the iOS implementation of [OpenGL ES 2.0](http://www.khronos.org/api/opengles/2_X). This is a tough API to get a handle on, primarily because of all the little platform specific differences. Hence the need for lots of good sample code.

The code is a little different from the Wunderlich.com example, but all the same elements are there.

Enjoy!

### Project 01

This is the starting point for an OpenGL project on iOS.

### Project 02

Now we create the color buffer, clear the background and add the CADisplayLink for rendering the frames.

### Project 03

Adding some vertex buffers and a simple static square.

### Project 04

Adding a project matrix.

### Project 05

Adding a model/view matrix.

### Project 06

Creating a box and introducing face culling and the depth buffer.

### Project 07

Adding a Vertex struct and rotating the box.

### Project 08

Showing how to use textures on a simple flat surface.