What are 3D Graphics
Since our computer screens are 2D and holograms wont come out for a couple more years. The trick is to make a 3D image seem to appear on a 2D screen like how you can draw a cube on paper. But we don't want the computer to guess so instead we have to have the computer do a lot of math that would be very hard for humans to make just a cube. Luckily this math has been figured out and a lot of programs have been made to help with make 3D objects.
The Utah Teapot
The Utah Teapot was an early 3D model to help with 3D graphics. The teapot was a good choice because it had a hole on it, saddle points, can cast a shadow on it self, and its roundish.
Visual Python is a module that allows you to make 3D objects easily.
Table and Cake
I first made a table then I need to put something on it so I went for a cake then I made the table rotate to test out the code. Here is the code used to make an object.
cos and sin solar system
On Thursday we had a crash course on trigonometry and learned how to make curricular orbits with both cos and sin. I went on to making all the planets and major moons with the correct size and average distance from the sun.
In order I have the Sun, Mercury, Venus, Earth, Moon, Mars, Phobos, Deimos, Ceres, Jupiter, Io, Europa, Ganymede, Callisto, Saturn, Maimas, Ebceladus, Tethys, Dione, Rhea, Titan, Iapetus, Uranus, Miranda, Ariel, Umbriel, Titania, Oberon, Neptune, and Triton. Here is the code that allows earth to spin around the sun.
Alice is like scratch but for 3D. My friend and I made a program that made a every part of this zombies roll and turn ending up to looking like this.
Here is some of the code.
SketchUp is a another program made to help make things in 3D. I tried to make something in SketchUp but it keep crashing on me and I only was able to save a barn I was working on.