LearningOpenGLES2-Android
Learning OpenGLES 2 for Android is written in Java language. There is an OpenGL ES 2.0 Tutorial at https://www.raywenderlich.com/69983/video-tutorial-beginner-opengl-es-glkit-part-0-introduction. This tutorial is really great! If you have to learn the opengl es 2.0, you'd like to watch the opengl es 2.0 video tutorial whatever you are iOS developer or Android developer. But This tutorial's example was written in ObjectiveC. So I've made the examples in Java while I am following the tutorial. I've excepted last four examples for making game in 3D.
- There is a
LearningOpenGLES2-iOS
: https://github.com/skyfe79/LearningOpenGLES2
Hello OpenGL
Red Alert
Star
Triangle
Square
ColoredSquare
ColoredIndexSquare
VertexArrayObject(VAO)
NOTE:
You must run this vao example on the real android device because android emulater supports only OpenGL ES 2.0. It's minimum sdk level is 21 because auto setting of EGL for OpenGL 3.0.
Model
MoelTransformation
MoelTransform with Animation
View(Camera) Transformation
Projection Transformation
Animate Cube
Depth & Culling
Texture
Dice(MultiTexture)
Masking
Ambiten Light
Diffuse Light
Specular Light
Ray Wenderlich License
The Ray Wenderlich License
Copyright (c) 2010, 2011 Ray Wenderlich https://www.raywenderlich.com/faq
Permission is hereby granted, free of charge, to any person obtaining a copy of this software to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED โAS ISโ, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.