🌈 ESP32-S3 Rainbow: ZX Spectrum Emulator Board! Get it on Crowd Supply →
Teaser Image
atomic14

OPENGL

Want to keep up to date with the latest posts and videos? Subscribe to the newsletter
  Â·     Â·     Â·     Â·     Â·   Posts  Â·   Videos  Â·   Tags  Â·   Support

NeHe OpenGL tutorial 2, 3 and 4 ported to ES 2.0

As I strove to learn OpenGLES 2.0 for new gaming projects on iPhone and Palm Pre, I faced certain challenges due to the introduction of a programmable graphics pipeline in OpenGLES 2.0. With this mechanism, we are responsible for writing the code to generate our graphics, which was overwhelming at first. To help others, I ported some of the NeHe tutorials over to OpenGLES2.0 on iPhone in an easily-digestible way. In this post, you will find a walkthrough of the first 4 tutorials, complete with codes, explanations and screenshots to make learning easier.
05 October 2010

NeHe OpenGL tutorial 6 ported to ES2.0

This tutorial guides you through applying textures to a rotating 3D cube using OpenGL. We will be utilizing the esUtils code, specifically its function esGenCube, and modify our shaders to accommodate our texture coordinates. After setting up our new mvp matrix and position vertex attribute, we will apply a texture to our rotating cube. The code can be found via a provided link.
28 September 2010

NeHe OpenGL tutorial 5 ported to ES2.0

In this blog post, I delve into the specifics of porting code for drawing 3D shapes in ES2.0. I detail how to overcome the lack of depth buffer in the default OpenGL template and describe how to add rotation to objects by saving the model view matrix. This post offers a useful walkthrough, especially for those keen to deepen their understanding of 3D rendering nuances in ES2.0.
22 September 2010
Subscribe!
All content copyright Chris Greening © 2025 • All rights reserved.
Made with Jekyll

This website uses cookies to enhance your browsing experience and analyze site traffic.