.................................................
1.) Here is my 'lstrips' modification! I basically took the code from the bezier curve assignment in Processing and changed it up just a little to work with OpenGL.
2.) For the perspect example, lighting and shading code is found in the setup function that we haven't seen yet. The perspective projection performs perspective division to shorten and shrink objects that are farther away from the viewer. An object of the same logical dimensions appears larger at the front of the viewport than if it were drawn at the back. I removed the quad-based faces and put triangles in the place of them.

No comments:
Post a Comment