Reference no: EM133217810
Question: 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.
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.