Reference no: EM132235633
Advanced Graphics Assignment - Using Geometry, Material and Lights to simulate our solar system
Objective for this assignment:
- To be able to create basic geometry.
- To use the built-in material.
- To use lights
- You will provide an interface to adjust the speed of rotation of the planets up to 0 (stopped)
- Do all the assigned problems on your own.
The workflow for all of the labs in this will comprise of the following:
1. Create an appropriate folder structure for VS Code.
2. Add the necessary javascript libraries to the html page.
3. Code the required javascript statements to complete the lab is a separate javascript file.
Tasks:
Build a threejs application having:
nine planets
and their moons
with the sun at the center.
Your geometry and position must be relatively to scale.
Absolute scale will not be appropriate because of the distances and sizes involved.
You must use the trackball controller to provide zooming, panning and dragging. [See the url at the end of this document for information on our solar system.]
Orbiting planets (nine planets including Pluto). You may assume that the paths are circular instead of elliptical. You may also assume that all the planets orbit around the same solar equator.
Different orbit speeds for each planet.
Different appearance for each planet. Do not use textures in this assignment; just use different materials that are configured differently.
Orbiting moons (Earth: 1, Jupiter: 5, Saturn: 3). You may assume that all the moons of a particular planets are orbiting at the same speed but not in the same plane.
Adjusting the speed to rotation of the planets around the sun.
Adjusting the orbiting speeds of the moons.
Attachment:- Assignment File.rar