Skip to content

JulianVolodia/opengl

 
 

Repository files navigation

OpenGl Examples

eclipse/ has the examples that eclipse can load (no longer updated). Otherwise, everything uses android studio.

OpenGL11examples has all the open GL 1.1 examples

OpenGL 2.0 examples

HelloOpenGLES20 is Google’s basic framework example. 2D square and triangle with touch events to spin the triangle

Opengl2ex1 uses a renderer (lessonOne from http://www.learnopengles.com/android-lesson-one-getting-started/) and mainactivity to setup everything NOTE: this example may fail in the emulators, but works on a physical device.

Opengl2ex2 extends a GLsurfaceView to setup everything. Again, use the Lessonone renderer.

OpenGL 3.0 examples

intended to get you started in OpenGL 3.0, but don't provide any depth of coverage.

HelloOpenGLES30 is Google’s basic framework example from 20, updated to opengl3.0. 2D square and triangle with touch events to spin the triangle

Opengl3ex1 is based on Opengl2ex1, with references changed to GLES30. Note this may fail in emulators.

Opengl3ex2 is based on Opengl2ex2, again with references changed. Note this may fail in emulators.

Opengl3ex3 is from the OpenGL ES 3.0 Programing Guide, which can be found here: http://opengles-book.com/samplecode.html

OpenGL30Cube is Cube that spins and uses touchlistener to move up/down left/right.

These are example code for University of Wyoming, Cosc 4730 Mobile Programming course. All examples are for Android.

About

android OpenGL examples

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%