My 3D Graphics

Home

The start of the 3D graphics.

I learned today that 3D graphics involve a lot of Math. Cartographers wanted to build a 3D earth into a 2D map hundreds of years ago and that would be the start of 3D materials.

Utah Teapot

The Utah teapot seems to be one of the most complex shapes to make. Looks simple, yet so hard to develop. Newell seems to be the first person to make the idea of making a 3D teapot. The picture above is the result of his creation of a teapot.

Using Visual Python

3D Cube

This is a picture of a 3 dimensional cube that we made today in computer science on 2/2/15. We used Visual Python in order to complete the shape of the object. You can go to "vpython.org" and it can show you anything you need to know about python and their shapes.

Cube Code

This is the code we used in order to make the cube on visual python. You get to design your own cube, which means you can decide the Length, Width, and Height of it. You can also decide what type of material you want the shape of your cube to be and the color of it. The bottom code is the code to make it rotate if needed or wanted.

Ice cream Cone.

After we did the cube, we decided to start making two spheres and a cone to make an ice cream cone.

Ice cream Cone Code.

This would be the code in order to make the two spheres and the cone. Like every other circle the radius is very important so in this case one of the spheres have to be radius = 1 so they can combine. For the cone we would have to make a radius and an axis so it can easily combine with the sphere.

Alice

On 2/3/15 we learned how to use the 3D graphics program "Alice". I made Garfield and Odie go on an adventure to luigi's pizza because Garfield was hungry. They went on a space ship thinking it would be a ride to Luigi's but they were wrong.

After awhile, the spaceship appeared and Garfield was amazed to see it. Odie and Garfield got in it and they were getting ready for launch off.

At last the spaceship is starting to leave because it is moving away from the ground.

Alice Codes

This is the code that I used in order to make them walk, turn and talk.

Next I made a do together command meaning they will do every property together.

More "Do Together" commands.

Here we put in the spaceship as in the spaceship moves with Garfield and Odie.

At last, the spaceship leaves with Odie and Garfield.

SketchUp

Today, 2/4/15 we learned how to make a house using Sketchup. I learned how to make the house by going on sketchup.com and looking at the tutorial videos. Here is a sketch of my house from the front.

This is a view of my house from the top.

This is a view from another angle of my house which you can see the front of my house as well.

At last, this is the view of my house from the back of it.

Using vpython for trig

today on 2/5/15 =, we learned how to make an earth orbit the sun using trigonometry. All we needed to do is position the earth to a sin and cos matter of time.

Trigonometry code

This is the coding we used in order to make earth orbit the sun. We put it lighting so the sun's light affects the earth when it is rotating, we also made the earth rotate around the sun using con and sin.

Sketchup Pt. 2

Today, I worked on finishing my house. I added fencing and a garage with a sports car.

This would be the picture of the car I imported using the 3D warehouse.

I also made buildings in the back of my house because my virtual person would work in this exact building.

A full image of my 3D virtual sketch is provided to see how everything would look from the front view.

Using Vectors

Today on 2/6/15 we learned how to use vectors on vpython. We got a better concept of how vectors work and everything. With our knowledge of vectors, today we made a bouncing ball fall of the floor. The code of the ball and the floor is on top; an image of the ball bouncing of the floor is on the bottom.

Steady

Instead of the ball always bouncing off, I made the ball be steady and just bounce by itself. I also made a trail so you guys can see its steadiness.

This is the code I used in order to make the ball as steady as possible. I would say it would be the same as the bouncing ball but it really involves less coding.