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