Sunday, May 1, 2011

Tank Final

For my final project I edited my midterm significantly. I added a hatch and mounted machine gun to the tank itself, and attached particle emitters to the vents on the back so that the tank would have exhaust plumes behind it. I also swapped out the polygonal plane I originally used for a NURBS plane so that I could create a more varied landscape of smooth hills by manipulating the vertices. By using more subdivisions you can create more detailed hills. Trying to do this with polygons yields a series of unnatural sharp points instead of rolling hills. You can see these changes in this image:

In the movie, the tank would drive forward a ways, then the camera would move to a view centered behind the tank's cannon. The tank then aims at the bank of hills in the upper left of the image and fires two shots that cause fluid effect explosions. I especially like how mental ray's Physical Sun and Sky creates a nice shadow effect from the smoke plume. This still is a split second after the second explosion:

I learned how to make the effect from a tutorial on youtube: http://www.youtube.com/watch?v=-2Q4G-0M0og . The video itself explains the very basics, but I was left to strain my eyes to find the exact values of heat and density needed. Basically, you have to key a point at which the heat and density values are very high, then one or two frames later reduce them to zero. for density I used a value of 10000, and for heat I used 5000. If you keep the heat half of the density, you can get a nice effect no matter how big you make the values.


Unfortunately, neither mental ray nor Maya Software could batch render either of the explosions reliably. As a result, I could not make a movie that includes the firing of the cannon. I will have to look into it when I have more time on my hands. In the interim, I will probably Playblast the firing portion for everyone on presentation day. This is my biggest disappointment with the project, as I worked hard on the explosions and now they cannot be seen as they were meant to be. I have, however, posted the first driving portion of the animation on youtube so I have something that can be seen here: http://www.youtube.com/watch?v=kEzKPccygD0 .

There were some additional, more minor problems that I had to overcome. The reason that I am referring to the animation in "halves" is because for some reason, if I animated the swiveling of the turret right after the drive forward, the turret would detach from the chassis and move ahead of it until they caught up with another at the stopping point. I solved this by creating each half of the animation in separate maya documents and planned to edit them together. Also, the camera acted up while I animated it, because it somehow created for itself some bizarre animation curves that caused it to fidget around a lot. I had to go into the graph editor and smooth these out, and even then there were some small shakes that I could not locate and fix. On the plus side, these shakes nicely simulate a more realistic camera instead of one that stays bolt stiff no matter what.

There were several other features I wanted to add but could not due to time constraints. I wanted to put some real caterpillar treads on the tank to replace the wheels, but I think the wheels still look pretty good. I wanted to create a muzzle flash effect for the main cannon, and to have the machine gun fire a few tracer rounds as well. Perhaps if I can obtain a copy of maya for myself I can do some more work on it over the summer.

Overall, I am happy I was able to get this far in my learning to create something like this for my final. I cannot wait for additional modeling classes so I can hone my skills and hopefully create something incredible.

Wednesday, March 23, 2011

Tank Midterm

For my midterm project I decided to make a short animation of a tank firing its main cannon and then driving off. The entire tank is made up of polygons. Specifically, the turret and body are cubes, the barrel and wheels are cylinders, and the exhaust vents at the back ate prisms. I created the wheel channel through the Boolean Difference tool using two rectangular prisms. For the lighting, I used the mental ray Physical Sun and Sky feature which you can find under Indirect Lighting in the Render Settings window. The camera I used was a Camera and Aim, which allows you to control the camera and what it is looking at separately. I had the aim focused on the tank throughout, and moved the camera itself at different times in order to get different angles. The recoil animation was done by slightly rotating the turret and body in time with the jolt from the barrel, then having them quickly rotate back. In the future, I would like to incorporate particle effects for the firing of the barrel, and possibly have the wheels kick up dirt as they spin and also to have exhaust come from the vents. I would like to make this much more detailed, adding rails, hatches, view ports, a machine gun, and maybe some radio antennae. I would also like to have the tank shoot another tank and destroy it, sending parts flying everywhere, if I have time to do so. Lastly, I would like to make the terrain more realistic with some hills and maybe a few rocks. Overall, I am extremely pleased with how this came out for only my second real animation. I love the effect that Physical Sun and Sky has and I think it really makes the scene. My only real problem with it is that I couldn't figure out a method for animating treads for the tank to roll on, instead of wheels.

The animation is on YouTube! Here is the link: http://www.youtube.com/watch?v=6SAWi7h_Qy0

UFO 2

 
 The original UFO was created using transformations already, so I'm uploading the new one with textures applied. The metallic parts and dome are blinn shaders, and the globes/engines on the bottom are lamberts with a glow effect added.

Nurbs Primatives

We were to create a model from nurbs primitives, so I made a castle. The front wall and the turret walls are polygons, only because I wanted to use Booleans to make a door and to be able to use the pipe shape respectively. The wrought iron gate is a grid of intersected cylinders with cones on the bottom to act as spikes. I found the brick texture on the internet, and originally had a plane with a hay texture for the floor, but deleted it because I felt it was too busy.

Wednesday, January 26, 2011

First Week

For the first assignment, we were to create something out of primitives, and I chose to make a sort of cartoony UFO. The body is a squashed sphere, and the cockpit, four "engines" and the base of the arm are all half-spheres. For the ridges on top, I took pyramid shapes and stretched them out to their current size. The hardest part was probably the satellite dish at the end of the arm. For that I took a polygon cylinder and made it thin, then I used the Soft Modification to give it a bowl shape. I was happy with what I could come up with on my own without much advanced knowledge of Maya. I would post more angles, but I cannot get to the labs now. I will create more shots when I can get there.

Wednesday, January 19, 2011

About me

My name is Erik Martens, and I am a freshman IMM major. I enjoy playing video games, reading, and longboarding. I listen to pretty much all kinds of music, but my favorite kind is rock/metal. I'm looking forward to learning new things in this class.