Monday, March 23, 2009
Web Exercise in lieu of Friday, March 20
Example 3.1 from the OpenGL Programming Guide draws a cube that's scaled by a modeling transformation. The viewing transformation, gluLookAt(), positions and aims the camera towards where the cube is drawn. Here is Example 3.1 running!
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.
.................................................
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.
Tuesday, March 3, 2009
I found some really awesome pictures in the UNCW SHARED Departmental Folder and decided to use them as central images in my project. Twisted around these central images are random interesting images from Flickr. My code allows me to search Flickr with a keyword and a count of images to grab. It then downloads them into an array that is then appended to my canvas. The first image that I created uses a picture of a sunrise at Johnny Mercer 's Pier and does a search in Flickr for clouds. The twirl and bumpdistortion filter effects are added. I really like how it turned out. The next image uses a picture of the Cultural Arts Building at night. I did a search for "art" in Flickr and applied a twirl and kaleidoscope filter (which you can see in the upper left hand corner). The next image uses a picture of sun down in Downtown Wilmington, right on the Cape Fear River. I applied a filter of kaleidoscope, bloom, and twirl and did a search for "nightlife" in Flickr. It turned out really colorful! The final image that I created uses a picture taken somewhere on campus of some pretty flowers. I did a Flickr search for "garden" and used the twirl, bloom, and starshine effect. My inspiration for the project came from the Twisted World example by Tom De Smedt. Used his code as a reference for mine!
http://nodebox.net/code/index.php/Twisted_world



http://nodebox.net/code/index.php/Twisted_world



Subscribe to:
Posts (Atom)

