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.