GithubHelp home page GithubHelp logo

opengl-2's Introduction

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 API 8+

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 2.0, updated to OpenGL ES 3.0. 2D square and triangle with touch events to spin the triangle. API 18+

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.

OpenGL30Pryamid is Pyramid that spins and uses touchlistener to move up/down left/right.

OpenGL30CubeTextureView is the same renderer as OpenGL30Cube, except this uses a TextureView instead of surfaceView. The TextureView has to setup all the openGL stuff, which takes a chunk of code to do.

HelloOpenGLES31 is Google’s basic framework example from 2.0, updated to OpenGL ES 3.1. 2D square and triangle with touch events to spin the triangle. The setEGLContextClientVersion(3); maybe wrong, since I could not find how to set it for 3.1. All other entries are set correctly. API 21+

HelloOpenGLES32 is Google’s basic framework example from 2.0, updated to OpenGL ES 3.2. 2D square and triangle with touch events to spin the triangle. The setEGLContextClientVersion(3); maybe wrong, since I could not find how to set it for 3.2. All other entries are set correctly. API 24+

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

opengl-2's People

Contributors

jimseker avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.