Project 1a ©Jorg Peters

Points: 5+5+5 (increase points)

Purpose

Learn to move objects via the mouse in OpenGL

Set up

Project 0

Task 1: Create Scene

Display 8 points on the screen each of a different color and arranged uniformly on a circle.

Task 2: Picking

Upon mouse click, change the color of the selected point to highlight it. Restore the original color upon release.
Use orthogonal projection.

Task 3: Dragging

Implement the ability to move the points with the mouse

Make all points suitably large.

Task 4: Redo in wehGL

Implement Tasks 1--3 in webGL using code base webGL
(which uses the ideas of picking )

WHAT TO SUBMIT