Skip to content

Commit 4a1af5a

Browse files
committed
reformat
1 parent ee3e1ad commit 4a1af5a

File tree

1 file changed

+25
-17
lines changed

1 file changed

+25
-17
lines changed

README.md

Lines changed: 25 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,45 @@
11
OpenGl Examples
22
===========
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.
44

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.
66

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+
---
98

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
1114
NOTE: this example may fail in the emulators, but works on a physical device.
1215

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:**
1421

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.
1623

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+
1825

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.
2027

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.
2229

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
2431

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.
2633

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.
2835

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.
3037

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+
3239

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+
3441

42+
---
3543

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.
3745
All examples are for Android.

0 commit comments

Comments
 (0)