CSE 160 -- Prog 2

Early if time stamp is before midnight Oct 26, 2019.
On time if time stamp is before midnight Oct 27, 2019.
Late submissions will not be accepted/graded.

Objectives:

Flesh out the tree and add perspective projection. Also save scenes to file and load scenes from a file.

Description:

The key requirement for this assignment is to replace the line segments in your 3D skeleton tree with the tapered cylinder that you made in Lab 2. You can download and use the generated vertices for trees with recursive levels 1, 2, 3, 4, 5 and 6 from the links here trees.js, trees1.js. Align the skeleton with the main axis of the cylinder. Since the line segments are of different lengths, you will also need to scale the cylinder to the length of the line segment. If all is done properly, your tree should now have girth instead of just a stick figure.

Details:

Resource:

Check out the parser in OBJViewer code from the Matsuda-Lea book.

PerspectiveView code from the Matsuda-Lea book.

Input types handled by HTML5. Try out the button and range input types for use with your toggles and sliders.

Grading:

Submission:

See course overview for instructions on what to submit and what not to submit.

Put materials in a folder named prog2 and zip it up. Submission must be done using Canvas.


Last modified Sunday, 27-Oct-2019 22:53:22 PDT.