Name: Panfang Hua
Email: panfang-hua@uiowa.edu
Major: Graduate Student in Dept. of Biomedical Engineering, University of Iowa
CourseAdvisor: Prof. Chris Wyman
Homework01:

Homework02:
Problem01 Bresenham/midpoint line Drawing algorithm:


Problem02 Draw Lines by GLUT:


Homework03:
Problem01 Drawing Triangles by ourselves:

Problem02 Drawing Triangles by GLUT:

Extra Prob: OpenGL Rendering/ Scan Conversion of the colorful Triangles:

Scan Conversion of Triangles:
Homework05:
Draw a 3D Spinning Cone, a static cone and a static tea pot:
not using depth information:

using depth information:

another way to draw the cone, drawing the cortical surface first and then draw the base when the depth information is not used:

Homework06:
Lighting, Material, 3D Rotate:
PartA: load the object mesh

PartB: Rotate the object

PartC: Add menu to load different objects

PartD: Add a white light

PartF: Load the material for AL

PartG: Load different Materials

PartH: Manipulating the Light position

Homework07:
Texture Mapping:
PartA: creat a infinity floor with checker texture, creat a cube with different textures on its six facets

PartB: Creat a cone and figure out an appropriate texture map

Extra: Press "L" to turn the light on; Add Lighting and texture to complicated geometry objects

Homework08:
OpenGL Shader:
Prob1: texture shader and vertex shader
PartA. texture shader

PartB. vertex shader

Prob2: cel-shaded shark and automatic siwm
PartA: cel-shaded shark

PartB: swim shark

Extra Point
