Skip to main content

How Moonfall’s VFX used real physics to bring the moon down

It’s not every day you get to bring the Earth to the brink of destruction, but that’s exactly what director Roland Emmerich set out to do in his latest film, Moonfall.

Directed and co-written by Emmerich, the film follows a pair of former astronauts and a conspiracy theorist forced to undertake a dangerous journey to the moon in order to stop it from crashing into Earth. Why the moon was suddenly knocked out of its orbit — and how to get it back there — are mysteries faced by the characters in the film, but they were also a problem to solve for the team tasked with grounding the film’s cosmic calamity in plenty of very-real physics.

“Visual effects supervisor Peter Travers, who previously worked with Emmerich on 2019’s Midway and served a similar role on Guardians of the GalaxyWatchmen, and other films, soon found himself taking a deep dive into astrophysics and conceptual mathematics in order to make Moonfall live up to its title. He spoke to Digital Trends about the process of creating a realistic, cataclysmic meeting between Earth and the moon, as well as developing the look and design of the mysterious entities responsible for the disastrous scenario.

(Note: The following interview includes a discussion of plot points from the film.)

A shuttle floats through space with the moon in the background in a scene from Moonfall.
Image used with permission by copyright holder

Digital Trends: What goes through your head when you’re initially asked how a project can depict the moon flying out of orbit and potentially crashing into Earth?

Peter Travers: That really is, ultimately, the very first discussion, too — because where do you even put your camera with something that big? If you put it out in space, it will be comprehensive, but that’s not a camera [perspective] we’re accustomed to, so it could take you out of the moment. That’s why, every chance we got, we tried to put the camera at eye level on the Earth, because that’s the most impactful camera.

Early on, we did some simulations and setup, and one thing we realized is that if the moon is just a mile or two up in space, it’s going to fill the entire sky. So scale and accuracy were very important, too, in order to figure out what it would look like and how foreign it would look to the audience. There’s always a balance you have to find because if it looks too abstract and weird, it’s hard for the audience and the artists working on it to maintain any grounding in reality. If every pixel is foreign to you, it’s going to be hard to feel the impact of what you’re seeing.

More on Moonfall

You mentioned grounding it in reality, and the film had a bunch of scientists and astronauts who were credited as consulting on it. What form did their input take?

Well, we actually did our own simulations initially and kept in close touch with NASA. I used Maya, which is the standard CG software for most of the effects we do. Most people don’t realize that Maya is actually a physics simulator at its core. I started by asking Roland a few questions like, “How long do you want the movie to last?” and “How long does it take for the moon to fall?” or “How many orbits does it make before it actually hits the Earth?” That way, we had some basic constraints. He wanted the moon to revolve around the Earth four times before it finally hits, and he wanted it to happen within a month.

So in Maya, I created an accurate, volume-scale-speed model of a mini solar system of the Earth, the moon, and the sun. There are a lot of weird things about the moon — its density, its orbital speed, and that it’s actually five degrees tilted, for example. So I just started plugging in all of this stuff, and, using Newtonian physics, I got a simulated moon to spin at the correct speed around the Earth. Then we started messing with it, trying things to get the moon to fall the way we need it to.

The moon rises too close to Earrth in the backdrop of a smoldering landscape in Moonfall.
Image used with permission by copyright holder

You were really tapping into any astrophysics knowledge you’ve accumulated! 

Exactly! And we eventually discovered that the answer was to inject the moon with quite a bit more mass than what it currently has. We started by cranking up the mass of the moon in the simulation and watching it fall towards the Earth. It was an iterative process, because initially the moon just kind of launched out of orbit, and then on the other side of the tinkering we did, it thudded into Earth in just one day. I eventually injected just enough mass into the moon that it collided with the Earth after four revolutions, over about three weeks, from a set point in its initial orbit. It ended up taking an additional mass equivalent to about a third of the mass of Earth.

And you felt the satisfaction that comes with creating an extinction event.

Right? What was really great about it is that Roland also wanted a lot of gravitational effects on the Earth for all the people running around, and by injecting the moon with mass, it actually did create those gravitational distortions. At that point in the simulation, when the moon is at its absolute closest, it was creating 3G [aka three times the force of gravity on Earth] of gravitational pull towards the moon. There’s a whole car chase at the end of the movie where they’re driving and the moon is rising, and at that exact point, based on the mathematics in our model, the moon really would be pulling the characters in the story and all the objects around them sideways with 3G of force.

So that was just a happy coincidence that the math worked out? Did that inform what happened in the film, or were those scenes always part of the plan?

Well, that was a stipulation at the beginning, and it just happened to be something the simulation reinforced, so they took it and ran with it. The directionality of the gravity was interesting because when the moon is rising, the gravity is not straight up, it’s pulling sideways. So you were getting this weird shearing effect on Earth. That physics element of Maya and the model we created really came into play. Cars were sliding, then floating upward at an angle, and all that kind of stuff. There was an initial hope we would have these kinds of gravitational effects to play with, and the simulation delivered this added bonus of telling us, “Yeah, the physics in this supernatural condition do create these gravitational effects,” which is what Roland was hoping we would have in the story.

Patrick Wilson floats inside a space shuttle in Moonfall.
Image used with permission by copyright holder

How did the consulting scientists respond to the work you did in creating these simulations and models? Was there some pressure to get their approval?

I know this sounds kind of strange, but this sort of Newtonian physics is actually simple calculations when you have a small number of gravitational objects. When you get into a large number of gravitational objects, it gets really complicated. The terms for it are the “Two-Body Problem” and “Three-Body Problem,” based on how many objects you’re dealing with. I only had to do it with the moon and the Earth, so I could keep it pared down, but NASA looked at the model and said, “Yup, that’s about right!”

And then the trick with the movie becomes, “So how does all of this actually happen?”

So how did it happen? Did the nanoswarm and its look evolve based on the model, or was its design planned all along?

Well, it all happens together. It’s this mad jumble as we get started. But the nanoswarm — or The Anomaly, as we call it — was always the mechanism that caused the moon to do what it does. How it looked started with Roland showing me a Mandelbulb — a 3D plot of a Mandelbrot equation. Roland saw this thing that looked like, as it was evolving and the equation kept running, it was kind of swallowing itself. It was very mathematical, very fractal, in a repeating pattern. Roland was like, “I like this. How do we do something like this?”

So that’s when we activated both of our VFX vendors that were working on the anomaly in conjunction. They were working in parallel: Framestore and DNEG. Framestore handled all of the attack sequences of the anomaly outside the moon, and DNEG was all inside the moon. They built the anomaly in parallel, with everybody working together and hoping we can just get this all done before the movie comes out, as is usually the case.

At its core, there’s so much mathematical engineering that goes on when we do CG. Effects animators are probably some of the most brilliant artists in the industry. It’s like a black-box kind of a thing, in that you basically say, “Here, go do your genius stuff, and come back with the stuff we need,” and it always feels painful at the time, but in the end, the reward is that much greater because the anomaly just looks so odd. It’s so foreign-looking, just the way it was meant to be.

Patrick Wilson floats through space in an astronaut suit in a scene from Moonfall.
Image used with permission by copyright holder

In a film with so much spectacle, it’s easy to overlook invisible effects. Is there anything in the film people would be surprised to learn is a visual effect?

There are a ton of invisible effects in the movie. There are around 1,700 shots in the movie that have some form of visual effects. Sometimes it’s as simple as doing wire removals. One great example is, in all the space sequences — like the spacewalks and stuff in the opening sequence — the visors and a good portion of all the helmets are CG. Typically, we’re struggling to paint out any reflections when we have glass in a scene, but in this case, because we didn’t have oxygen going into the spacesuits, the helmets had to be open. So we had to paint in everything that is supposed to seen be in that reflection.

In the opening scene, when you’re looking at Brian (Patrick Wilson), you can see the other astronaut, Marcus (Frank Fiola), reflected in his helmet. That is all pure CG. We have to build a full digital double of all of the astronauts, just so you can see them in any of the reflections. Framestore did that work and it looks so good you don’t even register it. To be perfectly honest, sometimes I forget about it. It’s like, “Oh, that’s right, we did a visor in that shot!” It just looks so good you’re able to look past it.

There’s so much going on in Moonfall from the visual effects side and it’s been such a crazy few years to get it all done. How does it feel to have the film out there? What’s the element you’re most proud of?

I’m excited about all of it. I love all my children, so to speak, you know? And every little shot matters. […] I love the satisfaction of well-made plans. You always have a certain amount of chaos, especially in a movie like this, where there’s chaos everywhere. But I love the long-term planning and payoff that comes down the road. […] I have one of the coolest jobs in the world.

Roland Emmerich’s Moonfall is in theaters now.

Topics
Rick Marshall
A veteran journalist with more than two decades of experience covering local and national news, arts and entertainment, and…
How visual effects made Manhattan a war zone in HBO’s DMZ
An image from the DMZ series featuring actors against a backdrop created with visual effects.

The HBO Max limited series DMZ presents a world in which the Second American Civil War has torn the country in half, with the island of Manhattan serving as a demilitarized zone between the United States of America and the seceding Free States of America.

Created by Westworld and Sons of Anarchy writer Roberto Patino and loosely based on Brian Wood and Riccardo Burchielli's comic book series of the same name, DMZ casts Rosario Dawson as Alma "Zee" Ortega, an NYC medic who was separated from her son while evacuating the island. After searching for him throughout the USA and FSA, she returns to the DMZ to continue her search, only to find herself caught in another war raging between the rival factions attempting to control Manhattan.

Read more
How visual effects made The Batman hit harder & drive faster
Batman approaches the camera on a rainy street with a fire in the background in The Batman.

Matt Reeves' The Batman roared onto the big screen in March after years of development and a production -- then release -- schedule interrupted by a global pandemic. None of that was enough to stop the Dark Knight, though, and the film went on to become the highest-grossing film of 2022 so far while earning critical acclaim for its dark reinvention of the DC Comics hero.

While Reeves took a grounded approach to tell his Batman tale, bringing the film's action to the screen still required assistance from a talented visual effects team spread across multiple studios. Among them was celebrated VFX studio Wētā FX, led by supervisor (and two-time Oscar nominee) Anders Langlands.

Read more
Everything Everywhere All At Once: Small VFX team, big results
Michelle Yeoh looks at her hot dog fingers in "Everything Everywhere All at Once."

As its title suggests, Everything Everywhere All at Once is everywhere you look these days. The film, from writing-directing duo Dan Kwan and Daniel Scheinert, casts Michelle Yeoh (Crouching Tiger, Hidden Dragon) as a woman who finds herself caught up in a wild adventure through the multiverse, and it has quickly developed into a mainstream hit with its blend of expertly choreographed action, outrageous comedy, and heartfelt emotion.

Along with becoming another box-office success for independent film studio A24, Everything Everywhere stands out for its unique, small-scale approach to filmmaking, with Kwan and Scheinert (collectively known as "The Daniels") opting not to bring in a large visual effects studio to handle the film's array of surreal elements and (seemingly) effects-driven sequences. Instead, the pair assembled a small team -- only seven people are credited for the film's visual effects -- led by visual effects supervisor Zak Stoltz (Breakarate). Joining him on the team was lead visual effects artist Ethan Feldbau (Ghost Ghirls), who worked with the two Daniels and Stoltz on earlier projects.

Read more