|
1 | 1 | OpenGl Examples
|
2 | 2 | ===========
|
3 |
| -eclipse/ has the examples that eclipse can load (no longer updated). Otherwise, everything uses android studio. |
| 3 | +`eclipse/` has the examples that eclipse can load (no longer updated). Otherwise, everything uses android studio. |
4 | 4 |
|
5 |
| -<b>OpenGL11examples</b> has all the open GL 1.1 examples |
| 5 | +`OpenGL11examples/` has all the open GL 1.1 examples No longer updated. |
6 | 6 |
|
7 |
| -<h3>OpenGL 2.0 examples</h3> |
8 |
| -<b>HelloOpenGLES20</b> is Google’s basic framework example. 2D square and triangle with touch events to spin the triangle API 8+ |
| 7 | +--- |
9 | 8 |
|
10 |
| -<b>Opengl2ex1</b> uses a renderer (lessonOne from http://www.learnopengles.com/android-lesson-one-getting-started/) and mainactivity to setup everything |
| 9 | +**OpenGL 2.0 examples:** |
| 10 | + |
| 11 | +`HelloOpenGLES20` is Google’s basic framework example. 2D square and triangle with touch events to spin the triangle API 8+ |
| 12 | + |
| 13 | +`Opengl2ex1` uses a renderer (lessonOne from http://www.learnopengles.com/android-lesson-one-getting-started/) and mainactivity to setup everything |
11 | 14 | NOTE: this example may fail in the emulators, but works on a physical device.
|
12 | 15 |
|
13 |
| -<b>Opengl2ex2</b> extends a GLsurfaceView to setup everything. Again, use the Lessonone renderer. |
| 16 | +`Opengl2ex2` extends a GLsurfaceView to setup everything. Again, use the Lessonone renderer. |
| 17 | + |
| 18 | +--- |
| 19 | + |
| 20 | +**OpenGL 3.X examples:** |
14 | 21 |
|
15 |
| -<h3>OpenGL 3.0 examples</h3> intended to get you started in OpenGL 3.0, but don't provide any depth of coverage. |
| 22 | +intended to get you started in OpenGL 3.0, but don't provide any depth of coverage. |
16 | 23 |
|
17 |
| -<b>HelloOpenGLES30</b> 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+ |
| 24 | +`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+ |
18 | 25 |
|
19 |
| -<b>Opengl3ex1</b> is based on Opengl2ex1, with references changed to GLES30. Note this may fail in emulators. |
| 26 | +`Opengl3ex1` is based on Opengl2ex1, with references changed to GLES30. Note this may fail in emulators. |
20 | 27 |
|
21 |
| -<b>Opengl3ex2</b> is based on Opengl2ex2, again with references changed. Note this may fail in emulators. |
| 28 | +`Opengl3ex2` is based on Opengl2ex2, again with references changed. Note this may fail in emulators. |
22 | 29 |
|
23 |
| -<b>Opengl3ex3</b> is from the OpenGL ES 3.0 Programing Guide, which can be found here: http://opengles-book.com/samplecode.html |
| 30 | +`Opengl3ex3` is from the OpenGL ES 3.0 Programing Guide, which can be found here: http://opengles-book.com/samplecode.html |
24 | 31 |
|
25 |
| -<b>OpenGL30Cube</b> is Cube that spins and uses touchlistener to move up/down left/right. |
| 32 | +`OpenGL30Cube` is Cube that spins and uses touchlistener to move up/down left/right. |
26 | 33 |
|
27 |
| -<b>OpenGL30Pryamid</b> is Pyramid that spins and uses touchlistener to move up/down left/right. |
| 34 | +`OpenGL30Pryamid` is Pyramid that spins and uses touchlistener to move up/down left/right. |
28 | 35 |
|
29 |
| -<b>OpenGL30CubeTextureView</b> 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. |
| 36 | +`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. |
30 | 37 |
|
31 |
| -<b>HelloOpenGLES31</b> 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+ |
| 38 | +`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+ |
32 | 39 |
|
33 |
| -<b>HelloOpenGLES32</b> 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+ |
| 40 | +`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+ |
34 | 41 |
|
| 42 | +--- |
35 | 43 |
|
36 |
| -These are example code for University of Wyoming, Cosc 4730 Mobile Programming course. |
| 44 | +These are example code for University of Wyoming, Cosc 4730 Mobile Programming course and cosc 4735 Advance Mobile Programing course. |
37 | 45 | All examples are for Android.
|
0 commit comments