My 3d graphics projects

Development of 3D graphics

I used V python to make a box I went to vpython.org and then went to documentation and then clicked on full documentation then went to choose an object and chose box and copy and pasted the code for a box and then I changed the color to red and put the position i wanted the box to be in.

I used V python to make the earth revolve around the sun I had to make the earth so I made a sphere and used a material called earth then I had to put the position of the earth then I had to make the rotate and then I had to make my second object the sun I made a sphere and I had to make it bigger than the earth then i used a material called emissive that makes the sun have a glow look then I made the earth rotate around the sun at first my code was not working when I tried to run it then I addressed the problem I did not have my code properly indented

I learned how to use a program called sketch up first I used the rectangle tool to make my platform then I made another rectangle on top of that one then used the push/pull tool to lift the rectangle to be the base of my house and then I used the tape measure tool to determine the center of my house so that I could put a line in the center and make my triangle for the roof then I used the push/pull tool to make the roof cover my whole house Then I made some windows using the rectangle tool and the paint bucket tool to make the windows translucent_glass_blue and I made the house brick_antique and the roofing_tile_spanish

First I had to open up v python then I had to set my scene using the scene tag then I had to make my ball which I used the sphere tag for then I had to make a platform for the ball to bounce on so I used the box tag and made a thin rectangle then I had to make the ball bounce so I used the vector tags then I had to put in the tags for acceleration and gravity then I ran my model and it successfully bounced.