Category Archives: Graphics

Phong Shading

  Phong shading is actually kind of interpolation method for 3D graphics surface shading, it was developed by Bùi Tường Phong. Rather than Phong shading, I want to talk about Phong reflection model here. As Phong reflection model says, we can split light into three separate parts: Ambient, Diffuse, and Specular, and in the reverse way, we […]

Posted in Graphics | Tagged , , , , | Leave a comment

Way to add GLUT and GLEW into xcode project

What are: OpenGL is a graphics library that you can use to write 2D and 3D graphics displays and interfaces. Most of the code is cross-platform (will run on Windows, Mac, and Linux), but the different platforms do have different ways of creating new windows and monitoring user input. GLUT is a wrapper that hides […]

Posted in Graphics | Leave a comment