Art 123

Physics of Animation, San Jose State University, Fall 2011

This is the second time in my life that I experienced a lunar eclipse. The first one I saw in Ukraine from a balcony of my 5 story apartment. It was in the middle of the night, so the moon was very bright and red; like a bloodmoon! ;) The second one I watched from Santa Clara, California. It was a morning eclipse, so the sky seemed to a bit hazy and the moon wasn’t as red or as bright as I expected. Still, it was beautiful! I did not wait for the sunrise, because it was rather chilly outside, but I took few photos of this event.

Lunar Eclipse, photograph

Due to a sufficient number of points I’ve excused myself from doing howework! :D

Click the image to see it in full size.
Spot lighting Continue reading “Lighting a Scene in Maya” »

Building a Scene in Maya

I spent a whole week thinking and planning this assignment; I originally intended to animate a skipping orange panther. When I actually started to shoot, I came up with a completely different idea that was much more humorous.

My short clip stars two characters called Bouncy and Shifty. Both of them are made out of clay. The jumping character, Bouncy, was lifted by three toothpicks of different lengths to imitate jumping; then the toothpicks were edited out of the pictures. The background consisted of a white mating board as the horizon, paper and fabric as the snow, sugar cubes as the snow buildings, and a fluffy blanket to imitate some mountains in the background. The lighting was set up from two points: a soft lighting source from the right and a harsher light from the left at about the same level as the “ground” of the scene. A DSLR camera mounted on a tripod was used with a remote control to minimize frame shifting. This short film contains 69 unique photographs, and it was hilarious to make!

Everybody has a star to reach for.
Reaching for the Stars, illustration

Clip A
Turns out that it is very difficult to play a kid, especially when an imaginary force is pulling on you. I used a tripod for this scene, because the camera is fixed in the original animation.

Clip B
While I tried to imitate the jolly waiter as close as possible, I could not get just one object to drop from the tray. In my takes, all of the objects would fall, and sometimes even the tray; this is why I used only one object. Additionally, it does not seem that the animation is realistically accurate; even though I tried to time it and count the steps, it took much longer to complete the motions. It was also more difficult to shoot this scene, because the camera starts to follow the waiter as he walks forward; the quality of this video was heavily dependent upon the camera operator’s skills.

Clip C
Now, this is a great way to embarrass oneself! This scene had fairly easy motions, but it was difficult to shoot since the character’s hands are longer than his legs. I tried my best to imitate the motion and pulled a few muscles while doing so. This class should definitely count for Physical Education credit! In some takes, I tried to extend my arms by adding two rolls of paper towels to the end of the hands, but it made the motions less realistic. Another challenge came from the fact that even though it looks as if the gorilla is marching in one place, it is in fact moving some distance. This visual discrepancy occurs because the camera moves with the same speed as the gorilla walks, so it seems as if the gorilla is stationary. To recreate this illusion, the camera operator should ideally stand on some kind of a trolley and be pulled at the walking speed of the gorilla in the same direction. Since it was difficult to get all the right equipment, the operator tried to walk at the same speed as I moved. Even if a person holds the camera very firmly, it is impossible to shoot a very stable video; even breathing moves the hand muscles and causes the camera to shake, but walking shakes the camera extremely hard. The results are not ideal, but definitely as close as one could get without additional equipment.

Physics vs. Magic

When Shrek came out, millions of viewers instantly fell in love with the tough, yet adorable, main character. Based on the overwhelming success of the first movie, Dreamworks Animation continued the story of this magical world with a few more creations, perfecting them visually as much as the technology allowed. Shrek the Third is an excellent family movie with very detailed graphics and extremely realistic animation. It is clear that the technology has advanced a lot since the first two movies; these advancements allowed the animators to construct a world that indeed feels very real, no matter how magical its inhabitants are. However, the perceived reality comes at a price: it is much easier to spot the deviations from the laws of physics that apply in our world. Clearly, Shrek’s magical kingdom is still governed by similar laws, but they are definitely very different from what we would expect. An observant viewer will notice the unusual application of the law of inertia, special properties of gases and liquids, and the fragility of some natural materials. While the first instinct may be to attribute these differences to magic, a true scientist should always look for a logical explanation. As the next few paragraphs will show, magic plays a very minor role in explaining the observed deviations; it could only be seen as a compensation mechanism for some physical anomalies.

According to Newton’s first law, an object tends to remain in the same state unless an external force is applied to it; thus, an object at rest will tend to remain at rest. However, this fundamental law does not appear to apply in Shrek’s universe; on the contrary, various objects at rest appear to come to motion or change the direction of their movement with little or no external impact. When Shrek and his party arrive at the Worcestershire Academy, the scene with jumping cheerleaders would strike the viewer as a very odd one. The girls make incredible cartwheel jumps and move at an unrealistic speed, but they do not apply any visible muscle force. Just to change the direction of a jump like this in the real world would take a lot of effort and visibly bend one’s body. It seems like the fantasy cheerleaders simply lift their bodies from the ground to escape the friction force and then guide the natural movement with a very little effort. In another scene that supports this theory, a group of small animals and magical creatures try to barricade the door when the castle is under attack. Three little pigs, a feminine wolf, a wooden puppet, and a cookie man move fairly large furniture as if it is made of air. A creature that is no larger than a mouse moves a giant throne all by itself; it seems that no effort is needed aside from giving an object a gentle notch in the right direction, once again, to overcome the friction. Yet another example of this behavior can be seen at the ball when Shrek’s buckle belt snaps off and flies at an incredible speed in a straight line. It then proceeds to gently bounce off the donkey’s head and a series of other objects until finally hitting the floor and remaining there. From all this evidence, it is reasonable to conclude that the objects at rest tend to move on their own accord; friction is the main reason for the objects to remain stationary.

Some of these observations can also be explained by very low gravity; such a condition would indeed make it easier for objects to be lifted off the ground and fly longer distances before dropping. However, several examples contradict this alternative theory. For instance, the jumping cheerleaders come down just as quickly as they would in real life; if the gravity was indeed low, they would jump much higher and stay in the air longer. When attacked by pirates, Shrek unsuccessfully tries to lift a small cannon in order to save his friends; it does not make sense that a big and strong ogre cannot move this object under low gravity when tiny creatures have no problem moving the furniture that is many times their size. Overall, the low gravity does not appear to be a plausible explanation for all the observed deviations. It is much more likely that the first law indeed does not apply, so the stationary objects do not tend to stay at rest.

Aside from the unusual application of some fundamental laws, many solid materials of Shrek’s world appear to have very different characteristics from what we expect in real life. Specifically, wood and stone are very fragile, but metal alloys are extremely sturdy. Near the beginning of the movie, Shrek lightly throws a glass bottle at a large sailing ship; the bottle easily makes a relatively large hole in the side of the ship with pieces of wood flying everywhere. It is clear from the scene that the wood is rather thick, so it should not break that easily. Furthermore, we had seen in the belt buckle example that other objects tend to change the path of their movement on impact rather than break through the material. Hence, the wood of this fantasy universe must be extremely fragile. This assumption is confirmed during the scene where prince Charming attempts to gather up some bandits at the bar; a fragile old lady snaps a thick wooden pool cue with no effort at all. Most of us would have to apply more force to break a plastic pen!

A similar anomaly happens when the princesses break out of their jail cell; the old queen takes down a stone wall by striking it with her head from the distance of just a few inches. The wall looks to be at least a foot thick, but just one small strike is enough to break the stone into bits and pieces; the viewer can actually tell that it is not just the mortar that cracks. To confirm that it is not just a coincidence, the queen takes down the second wall just as easily. After breaking through two walls, the woman looks a little dizzy, but otherwise unharmed; if the stone was as sturdy as in our reality, she would have sustained some visible damage to her skull. While it is unusual to make a wall out of such an easily penetrable material, the fantasy kingdom does not appear to be concerned with security; this explains why the negative characters can break in so easily.

Outside of the security related applications, builders seem to recognize the need to compensate for the unusual fragility of wood and stone. When Shrek and his crew arrive at the Worcestershire Academy, they see a large wooden drawbridge that is reinforced with metal; when the bridge drops open and heavily hits the ground, there is no visible damage at all. This implies that the metals of this world are extremely strong, so they are commonly used to reinforce weaker natural materials that are likely more abundant and easier to work with. We can see some proof of this theory when Doris uses her fist to easily smash a padlock that is hanging on the castle gate. The gate looks like it is made of metal; this is why it does not show any damage. The lock is likely made of wood, so it falls apart easily; this also supports our earlier assumption that the inhabitants of this world are not particularly concerned with their safety. However, they definitely appear to know that reinforcing stone and wood that are extremely fragile with much stronger metals is a necessity in this magic kingdom.

Similarly to the unexpected properties of solid materials, other regular looking substances of Shrek’s world are just as unique. Specifically, liquids appear to have an extremely low viscosity and gases exhibit a very low density.  Going back to the scene where Shrek sinks the sailing ship with a bottle, it is apparent that the damage is not sufficient to sink the ship that quickly. Based on the size of the bottle, the hole is about three feet across; furthermore, most of the damage is clearly above the water line. However, the entire ship sinks in less than five seconds. Given that it takes longer to fill up even a submerged empty bottle in real life, there is a clear deviation in the properties of water.  From this example, we can conclude that the water in Shrek’s kingdom has a very low viscosity, so it flows extremely quickly. We see further evidence of this property at the haunted inn when Stromboli empties a mug of beer into his mouth in a fraction of a second. Even though the mug is nearly empty, it is impossible for the liquid to flow that quickly even when applying a strong suction force in the real world. Based on this, we can establish that liquids indeed have a very low viscosity in this magical universe.

Similarly to liquids, gases do not appear to be as dense as we would expect. When the aerial attack on the castle begins, the witches and bandits sit on the flying brooms upright even at the visibly high speeds. In our world, they would definitely be thrown off by the aerodynamic drag. Since we do not see them bending down even a little, there does not appear to be any air resistance. The obvious explanation is that the air has a very low density in this fantasy world; the previously established fact that objects tend to avoid the state of rest explains how the witches are able to fly on the brooms. Since the nonexistent air resistance would cause the brooms and their passengers to come down to the ground, we can speculate that some magic is used to hold the flying objects in the air. After all, it would be inappropriate to explain the entire magical world in terms of plain physics.

Shrek the Third is a true masterpiece of the modern digital animation. The fantasy world looks and feels as real as our own, so it must follow a similar set of physical laws. These laws differ from ours to make the visual effects more interesting, but most deviations are consistent and explainable. After carefully studying Shrek’s adventures, a scientific mind would conclude that magical objects tend to move even without any external forces, wood and stone are extremely fragile, water exhibits the properties of a superfluid, and air has no resistance. These logical explanations almost make us forget that we are dealing with a magical world. However, as observed in our own world just a few centuries ago, magic comes very handy when trying to explain something that the modern science cannot comprehend just yet.

  1. Shrek the Third is an excellent family movie with very detailed graphics and realistic animation.
    1. Shrek’s magical world is still governed by the laws of physics, but they are somewhat different from the real world.
    2. An observant viewer will notice the unusual laws of inertia, special properties of gasses and liquids, and fragility of natural materials that are dominant in this fantasy world.
    3. Magic compensates for rather than causes the observed physical deviations.
  2. Inertia does not apply as it should; it takes much less energy to put an object in motion.
    1. Cheerleaders move incredibly fast and jump too high with very little effort.
    2. Small animals move large and heavy furniture with very little effort.
    3. Belt buckle flies off Shrek’s costume at an incredible speed.
    4. Low gravity could explain some of the observations, but there are contradictions.
      1. Jumping cheerleaders come down just as fast.
      2. Shrek has trouble lifting a very heavy cannon.
  3. Liquids have very low viscosity and gasses have very low density.
    1. Ship sinks too quickly even though the hole is rather small.
    2. A guy at the bar empties a mug of beer into his mouth in a fraction of a second.
    3. Witches fly on their brooms sitting up straight, but they do not bend down or get thrown off by the drag.
  4. Some materials like wood and stone are very fragile, but metal alloys are very strong.
    1. A bottle lightly thrown by Shrek easily makes a large hole in the wooden ship.
    2. A witch at the bar breaks a pool cue with very little effort.
    3. The queen easily breaks a stone wall with her head.
    4. A wooden bridge reinforced with some metal or the metal castle gates do not break at all.
  5. Laws of physics could be changed to make the visual effects more interesting, but even magical worlds are not exempt from them.
    1. Most deviations are consistent and explainable.
    2. Magic comes to rescue when changing one physics law may break another.

1. Shrek the Third is an excellent family movie with very detailed graphics and realistic animation.

A. Shrek’s magical world is still governed by the laws of physics, but they are somewhat different from the real world.

B. An observant viewer will notice the unusual laws of inertia, special properties of gasses and liquids, and fragility of natural materials that are dominant in this fantasy world.

C. Magic compensates for rather than causes the observed physical deviations.

2. Inertia does not apply as it should; it takes much less energy to put an object in motion.

A. Cheerleaders move incredibly fast and jump too high with very little effort.

B. Small animals move large and heavy furniture with very little effort.

C. Belt buckle flies off Shrek’s costume at an incredible speed.

D. Low gravity could explain some of the observations, but there are contradictions.

i. Jumping cheerleaders come down just as fast

ii. Shrek has trouble lifting a very heavy cannon.

3. Liquids have very low viscosity and gasses have very low density.

A. Ship sinks too quickly even though the hole is rather small.

B. A guy at the bar empties a mug of beer into his mouth in a fraction of a second.

C. Witches fly on their brooms sitting up straight, but they do not bend down or get thrown off by the drag.

4. Some materials like wood and stone are very fragile, but metal alloys are very strong.

A. A bottle lightly thrown by Shrek easily makes a large hole in the wooden ship.

B. A witch at the bar breaks a pool cue with very little effort.

C. The queen easily breaks a stone wall with her head.

D. A wooden bridge reinforced with some metal or the metal castle gates do not break at all.

5. Laws of physics could be changed to make the visual effects more interesting, but even magical worlds are not exempt from them.

A. Most deviations are consistent and explainable.

B. Magic comes to rescue when changing one physics law may break another.

First, I tried to animate the fall of tiny toy cars, but I realized that it would be very difficult to correctly calculate all the rotation and overall behavior of the cars in the air. So, I just animated horizontal movement of the cars and, to make it a bit more fun, made them crash into the edge of the screen at the end. Then I tried to think of a simpler motion for a falling object and I stumbled upon a toy sheep =) My animation is an adventure of Mopsy the Sheep who was careless enough to fall off the cliff. (Actually, this is a very sad story, because Mopsy gets eaten by a swimming dinosaur at the end. Oh well, this kind of thing happen every day — sheep are eaten by dinosaurs.)

The set was created with a black matting board for the background, various landscape pieces cut out of color construction paper, and the clay dinosaur that I hand made.
Dinosaur's head, clay

The photo equipment setup consisted of a tripod and a camera with a remote control to ensure that the scene stays still and sharp. The lighting was directed from the bottom to ensure that there are no shadows which would otherwise make the animation look flat.

To ensure that the falling motion looks realistic, I calculated the exact location of the sheep in each frame (to a total of 13) and carefully measured it with a ruler. I also made a reference sheet (a special ruler) to simplify the measuring process.

  • Baby sheep height (real): 1.5 ft (18 in)
  • Toy sheep height: 2 in
  • Scale 1:9
  • Total distance from the apex in the model 4 ft (48in)
  • Time falling: 0.5 sec (model)
  • “Real” scaled distance = 4 ft x 9 = 36 ft = 432 in
  • tf = √ 2 s / g = √2 x 432 in / 386 in / sec2 = 1.5 sec

Real Time Model (4ft)

Scaled Cliff (36 ft)

Cars

Account

Advertisement