3D Graphics



On the first day of 3D graphics, we started by using Alice, one of many 3D graphics softwares. On Alice, I started at first with no idea about what was going on. I just placed objects around randomly and didn't know what to do. Then I began testing with things and figured out how to code movement and things like that. I ended up making an angel that the camera goes on in first person. You can move around and things like that but I didn't manage to do very much. I also made a moving igloo that was supposed to stop and say you won if you touched it but that paart never worked. Here is a picture of what the thing looked like:

Through the whole thing I was just messing around and didn't actually know much about what I was doing. I would then test out this stuff I slapped together. Below is another picture, this time showing me testing the thing:

Sketch Up

During the second day of 3D graphics, we used another program named SketchUp. In this program we were unable to program movements but we had a stronger sense of the designing part. I started by building a house with a tower on it. After a while I added a many things such as a giant wall around it and a cannon like object on top of the tower. I learned that the thing really isn't that hard to use and is mostly trying to find out whether its going in the direction you want it to. Below are some pictures of the area from diferent perspectives.

Close up front:

Close up back:

Aerial view from afar:

Visual Python!

On the third day of 3D graphics, we went over the usage of visual python, a form of python in which you can code visual movements with preset objects such as spheres and rectangular prisms. At first we started by making a "ball" drop. To do so we made vectors to represent the force of gravity. Then we had the object change position according to these vectors. Later we made objects such as a ground out of rectangular prisms and set the falling object to "bounce" off of these objects by just making them go in the oppsite dircetion when they have the same position as the objects (multiply vectors by a negative number). Here is the code for how I did that:

Also, here is what it looks like after the program is ran:

After that we made a visual representation of a solar system. To do so we used Newton's formula on the gravitational pull between objects as a vector. Then we made another vector (representing the inertia of a planet). We proceded to have the objects change position according to these vectors and altered the vector until it would have an orbit. Here is the code I used:

Also, here is what it looks like when you run it: