Hello world exercises for WebGL
- The triangle should be centered in camera/clip space, with a side length of 0.6.
- It should have one red corner, one blue corner, and one green corner, and interpolate color between them.
- The scene must utilize an ortholinear projection matrix.
- Try moving the triangle and the projection matrix together and separately.
- Recreate scene 1 with a perspective projection matrix.
- The scene must utilize a perspective projection matrix.
- No lighting or shadows are required.
- Each face of the cube must be a different color.
- This scene should demonstrate simple diffuse lighting.
- This scene should not display shadows.
- The cube should have the same material for all faces.
- This scene should demonstrate simple diffuse lighting.
- The scene should demonstrate phong lighting (interpolated normals).
- The plane should be texture mapped.
- The scene should display accurate shadows via shadow mapping.
- This scene should read the bunny model in from a file.
- The scene should demonstrate phong lighting (interpolated normals).
- The scene should have accurate shadows via shadow mapping.
- The plane should be texture mapped.
- Stretch goal: The scene should have 2 lights.