OpenGL render vs. own Phong Illumination Implementation
- by Myx
Hello:
I have implemented a Phong Illumination Scheme using a camera that's centered at (0,0,0) and looking directly at the sphere primitive. The following are the relevant contents of the scene file that is used to view the scene using OpenGL as well as to render the scene using my own implementation:
ambient 0 1 0
dir_light 1 1 1 -3 -4…