|
Assignments
This is where I will post the homework assignments by date.
Week 7
[ 2005 . 02. 28 ]
Take-home quiz (due March 14 (Mon)):
Email Dr. Wong your C++ files and the .exe.
Description
Sample .raw image files available to download:
Week 6
[ 2005 . 02. 21 ]
Assignment (due Feb 28 (Mon)):
Email Dr. Wong your C++ files.
Description: Modify the example code given in class to make use of texture
object and bind the texture object. (Look at the textbook example.)
Sample .raw image files to download:
Week 5
[ 2005 . 02. 14 ]
Assignments (due Feb 21 (Mon)):
Email Dr. Wong your C++ files.
Two projects:
- Fog: Add fog (GL_LINEAR or GL_EXP) to your maze that is from the
previous week
- Lights and Materials:
includes the following in the scene:
- a grid (using triangle strip or quad strip) with material
- a sphere (using glutSolidSphere(GLdouble
radius, GLint longitude, GLint latitude))
with material (add shininess)
- optional: a torus (using glutSolidTorus(GLdouble
innerRadius, GLdouble outerRadius, GLint nsides, GLint rings))
with material
- use glLightModel to define a global ambient
- a flashlight (one that moves around the world with the eye),
shining at the grid; experiment with the GL_SPOT_CUTOFF and
GL_SPOT_EXPONENT to create a soft spot light
- a static spot light, shining at the grid
- keep your key functions from the previous assignments so you
can use your keys to move around the scene
Week 4
[ 2005 . 02. 07 ]
Assignments (due Feb 11 (Fri)):
Email Dr. Wong your C++ files.
Two projects:
- Build a simple frustum model
- Create a maze using transformations
Week 3
[ 2005 . 01 . 31 ]
Assignments (due Feb 7 (Mon)):
Email Dr. Wong your C++ files.
- Build a "primitive" forest using primitives such as
quads (as land), triangles (as trees), and polygons. Download: start
codes and supplementary.
- Build a cube, each face has a different color.
|