Welcome

This is a blog sharing what i have learn and experience from my internship in A*Star IHPC
- Zac Kwan

Wednesday, November 10, 2010

Day 27 - OpenGL ES2.0

After decided that this project would make use of the ES2.0, started to research on how to create a simple hellogl project. Before i start, i read through the blog by Jeff(i posted the link on the previous post) which discuss about opengl es2.0 from chapter 1 to 4. Is really interesting read, it also contain some history and maths. But i believe that there is still alot more needed to be understand.

From there onwards, i started to make use of the apple provided template, understanding the code line by line, trying to understand as much as i can. Due to know pass experience on any opengl before, i have to debug on every method, understand how is the flow of the code, then started to refer to the blog explanation as i go through. Although the project template already draw a sample 2d square, but as the debugging mode is hard to apply on the rendering on every vertices is almost impossible to debug. However when i started to understand how the openGL work and what is the flow of it, i start to be able to set my own vertices and create it.

On the second half of the day, i try importing obj model object and draw it out. It wasn't as complicated as what i expected as first, but there is still some learning curve in understanding how it work. Manage to draw the obj model, not a perfect one before i leave the office. My aim for tomorrow would be to do a perfect one and do simple manipulation with it.

No comments:

Post a Comment