3D Graphics Development

The introduction of 3D was introduced when map makers wanted to map the 3D Earth onto 2D pieces of paper

One of the more well known 3D grahics, is the Utah Teapot.

The Utah teapot is the most well known as a standard model for 3D grphics.

3D Graphics on Python

Using Python, I was able to crate a cube.

While trying to create my cube, I realized that Python wasn't working on my computer. I then spent the entire first half of class, trying to get Python to open, while other people were making ice cream cones and such. In the end, I only managed to create a dull colored cube, which is shown above.

Although I wasn't able to do much experimentation, I was able to learn a few things about VPython. You can specify which shape you want(cube, sphere). You can also specify certain dimensions such as length, width, height, radius, etc. You can also specify which point in the three dimensional plane is the center of your shape. You can even make your shape rotate around a specified point. Another intersting feature is that you can change the color of your shape.

Alice

Alice is a program that is sort of like Scratch and 3D graphics combined

Using Alice, I created a satanic angel, wielding a kitchen knife

I spent most of my time, trying to get the camera to follow my angel. Here is the code I used.

I also made some code that would allow you to move the angel.

Sketchup

Using sketch, we can design 3D objects in a sandbox type world. This was the first thing I created.

After messing around with sketch up, I turned the house into a greenhouse, I even added some plants.

After making the house on Sketchup, I decided I wanted to try something new. I don't know where the idea came from but I decided to try and create a square in Sketch up. My first step, was to create three squares, allowwith the same center, and each would be parallel to a different axis.

But after seeing this, a new idea came to mind. I wanted to create rings that went around the threee circles.

Triginometry

Today, we learned about triginometry to help with our 3D graphics. This will help us because these triginometric function, will help us to create a constant circular loop. To show our understanding of triginometry, we created part of the solar system.

The white trail shows the path that the Earth has taken, and in the center, is the sun. To create this, we had to set the Earth's coordinates to a sine function, and a cosine function. Then we had it loop.

Next I wanted to create a moon, that would spin around the Earth, while the Earth was spinning. Here is my code.

When the moon was spinning, I decided to make the moon leave a trail to see what path it took.

I then started experimenting with the moons orbitting speed, and I created a few cool designs

Vectors

Friday, we modeled projectile motion using vecors. We were able make a ball bouce, utilizing vectors. To see the path that the ball leaves behind, we ut in code to make it visible, the path that the ball takes.

And here is the code for the balls bounce