Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

For the unit 5 assignment, you will utilize many of the capabilities that we have already learned within the course to create, using geometry, lighting,

For the unit 5 assignment, you will utilize many of the capabilities that we have already learned within the course to create, using geometry, lighting, color, transformation and the other aspects of the 3D graphics environment, a model of the Methane molecule. The methane molecule is comprised of 5 atoms including 1 carbon atom and 4 hydrogen atoms.

U5%20Assignment%201.jpg

Your model should look like the figure above and be constructed using sphere objects for the atoms and cylinders or tubes to represent the bonds. You should use the color blue for the hydrogen atoms, the color red for the carbon atom and the bonds should be white.

You must enable animation for your model and mouse controls should be enabled so that the user of your program can rotate the molecule in any direction.

You must also add a Plane object to your scene. The plane object simply provides a flat surface behind the object that can both reflect light and also show the shadows that are created by the position of the object interacting with the light source. Make sure that only YOUR OBJECT moves and not the plane.

Make sure that you document your code with liberal comments to ensure that a reviewer understands what you were attempting to do within the assignment.

Grading Rubric

When you have completed the assignment, you must click on the share button and copy both the Live and Full Preview and the Code View URLs and submit with your assignment.

You will have ONE WEEK to complete this assignment. It will be due the end of this unit. Your assignment will be assessed (graded) by your peers using the following rubric. You should post this assignment by submitting the URLs from the Jsbin.com environment for both the Live and Full Preview and the Code View. You can also submit your javascript code but you should only cut and paste the code into the submission dialogue box. DO NOT attached the source code document:

Rubric Items

You will have ONE WEEK to complete this assignment. It will be due the end of this unit. Your assignment will be assessed (graded) by your peers using the following rubric. You should post this assignment, the results, and other requirements in one of the following formats:

Directly cut-and-pasted into the text box for the posting.

As a document in either RTF or Word 97/2003 format.

Rubric Items

Does the assignment display a model of a Methane molecule? (Yes/No)

Does the assignment display a plane in the scene? (Yes/No)

Does the object within the assignment generate shadows on the surface of the plane as it interacts with the lighting source? (Yes/No)

Are mouse controls enabled so that the molecule object can be rotated by the programs user? (Yes/No)

Do the mouse controls move only the object and not the plane or lighting sources? (Yes/No)

Was the javascript / Three.js code well documented (Scale of 1-4 where 1 is no comments and 4 is comprehensive comments)

Code not working in http://jsbin.com/?html,output

Look here at version:

http://jsbin.com/defewiq/edit?html,output

Assignment #4 for CS4406 Computer Graphics

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions