Question: Draw an application using OpenGL/GLUT or WebGL which does the following: Consider our solar system to be a 3D space system with our sun, Sol,
Draw an application using OpenGL/GLUT or WebGL which does the following: Consider our solar system to be a 3D space system with our sun, Sol, being at the origin of the system, rotating on its own axis and all the planets in the solar system around it rotating on their own axis as well as making complete revolutions around the sun itself. (a) Prepare the window for a reshape function.
(b) Represent all the planets and the sun in our solar system as spheres with different textures. Make the sun a single point light in which the planets receive light from.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
