Thursday, March 19, 2009

Web Exercise in lieu of Friday, March 6

When using the Open Graphics Library with Processing, the OpenGL accelerated graphics card's speed is utilized. With this, drawing more to the screen and creating larger windows is allowed. OpenGL ES is used across many platforms including consoles, phones, appliances, and vehicles. The flexible and powerful low-level interface between software and graphics acceleration provides enhanced functionality, improved image quality and optimizations to increase performance while reducing memory bandwidth usage to save power! It is an absolute pleasure to work with.

.................................................


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