How AI made a huge shark for the big screen
Photo: Warner Bros. Pictures
When you make a film that everyone will call "that big shark movie," it’s important that the fish be satisfyingly enormous. So the team behind a new film called The Meg brought on a software company that specializes in creatures.
The big picture: Computer-generated imagery has long been a staple of big-budget films, but computer animation is expensive and time consuming. By contrast, the AI-powered system that created the megalodon made it easy to tweak the shark in ways small and large once a model has been created.
The bottom line: Great shark, awful plotting. If you want to watch a good, thoughtful movie about the human condition, you’re looking in the wrong place. The Meg’s shark is cool, and the action scenes are fairly exciting, but the storyline is tired and the dialogue extremely canned.
On the other hand: Who ever went to a shark movie for the dialogue?
The details: After the film was shot, it became clear that the story was going to be changed, and that there would be a lot of back-and-forth with the director about the shark animations, said Mohsen Mousavi, the visual effects supervisor at Scanline, the company behind the movie’s effects.
- Scanline brought in Ziva, an animation company that specializes in creating virtual characters that move realistically. Its software uses AI to compile a creature model that can be animated quickly and automatically, with the help of some heavy compute power in the form of 2,500 Intel Xeon processors.
- Consulting anatomy books to understand the properties of a great white shark’s body, the animators created a skeleton and a muscle system, layered it with fat, and wrapped it in sharkskin.
- Ziva uses a physics engine that models how each of these elements' physical properties interact, so that animators don’t have to make its virtual muscles fire manually.
The biggest challenge was getting across the megalodon’s immensity. It can be difficult to make it clear that the shark is 75 feet long — especially in scenes with no other objects for scale, like a ship or a human.
- Helping solve that problem, Zeva’s animations reflect the size of the creature: The muscles and fat on a seven-story tall creature will wobble and jiggle much more than a mouse’s musculature.
- "If we just show the animation without the muscle dynamics, it's really hard to sell the scale," said Michael Smit, Zeva’s chief commercial officer.
- To test the animation, the team scaled the shark back down to real-life size, and played a 3D animation next to real footage of a great white shark. The crew couldn’t tell the difference, Mousavi said.
In a few shots, the director asked the animators to make the shark as much as one-third bigger, for added effect. But the team had to make sure the muscles and fat behaved just like they did for the default 75-foot shark — otherwise, the physics would scale up with the creature and be inconsistent throughout the movie.
The director's favorite scene: "Zeva is usually used to bring creatures to life," said Smit. But in one scene, the animators did the opposite: They created virtual skin and blood to simulate a dead whale with a giant, fresh shark bite taken out of its side.
Go deeper: Wired digs into the rabid fanbase that for decades kept the dream of making this movie afloat.