CSE 690 - General Purpose Computing on Graphics
This project’s goals are:
to get the Cg-related materials. Go here
to get the tutorial materials.
- set up your machine with the Cg programming environment
- get used to CG itself
- if you know Cg already well, then just skip the first four exercises
and do only the last two
- finish by Feb 24
The first four exercises relate to the examples in the Cg book.
Exercise 2.5.2: Modify the C2E1V_green vertex program to color the vertices
red instead of green.
Exercise 2.5.3: Change the one triangle vertex position by extending the
vertex coordinates outside the [-1,+1] range. Run the example. Is the triangle
clipped as expected?
Exercise 3.4.3: Modify the C3E4v_twist example so that the twisting cnters
on some arbitrary 2D point specified as a uniform float2 parameter, rather
than on the origin (0,0).
Exercise 3.4.4: Modify the C3E5v_twoTextures and C3E7f_twoTextures programs
to provide "quadruple vision". make sure your program works on both
basic and advanced profiles.
Exercise 5: Implement the Voronoi diagram example from lecture 5.
Exercise 6: Implement the Nearest neighbor example from lecture 5.