BAP Logo & Link

On Sand


Spider-Man 3 lies to you, with sand. Seriously, what you’re seeing on screen (more often than not) isn’t ACTUALLY sand, it’s something much more cinematic, and this trick is a microcosm of Raimi’s radically detailed approach to a production that you just don’t see these days. The love and devotion this movie has toward sand is higher than half of people have towards their families and loved ones. Both physically AND digitally. That’s right, unlike the deluge of our current media landscape, real granular grandiosity was put to the test, but what might surprise you is the ultimate thing they landed on, which falls far from the farm. As Raimi himself raves in one interview, "I had people bring in 12 different kinds of sand -- this is where people think the movie industry is insane -- so I could look at it," (Raimi, Hart) but where Sam Raimi plays coy, other filmmakers are praised on for their attention to detail and deep devotion to the craft. This process was so involved, so important, that cinematographer Bill Pope (ASC) had a lot to say about it as well, as getting it right was of paramount importance. Pope said the following, “A significant amount of prep time was devoted to “testing every kind of sand imaginable,” (“A Complex Web” by Jay Holben for ASC Mag, 2006). Raimi continues, "I saw California beach sand, Mojave desert sand. We ended up picking Arizona sand because it looks exactly like ground corncobs.” (Raimi, Hart) You might be thinking to yourself, “Ground corncobs? What does CORN have to do with SAND?!”, but the reality of the situation is even more incredible. Pope (perhaps hyperbollicly, or perhaps truly), indicates this number was even HIGHER, ranting, “We must have tested 100 different types of sand. Does it read as sand? Is it the right color? Can it be moved around easily? Does it move through the frame easily? Can Imageworks re-create the texture? Most important, is it the lightest sand possible? Six feet of real sand can weigh up to 2 tons, and burying an actor in that is, of course, not possible.” (Holben) Pope’s remarks indicate the reason for the CORN based direction.

Aside from deep, profoundly detrimental corn subsidies from the American government at the time, this was a pragmatic, safety decision, Raimi puts it most eloquently, stating, “When you bury people alive in hundreds and hundreds of pounds of sand, they'll be squished. You need something lightweight like corncobs, so air can get through and the actors and stuntmen won't be crushed." (Raimi, Hart) So, in the end, when it came to PHYSICAL sand, those ground corncobs were ultimately chosen. They gave the best combination of color matching, digitalization ease, safety, and as Pope elaborates, “The grain was large enough to read easily, and the substance was extremely lightweight.” (Holben) Readability on screen was deeply important, if the grain structure was too small, it would all mash together, and not appear to the viewers like sand at all, if it was too big, it would no doubt read as overly pebbly, or once again, subconsciously fake. Humans have a weirdly good internal sense when it comes to physics, which is why CGI can often feel “fake” (more on this later) despite “looking correct”, and the same applies for this sand based substitution, if the illusion is broken, the audience would be immediately snapped out of the movie, no longer wondering “Will Pete walk away from this fight? Will the citizens of New York live?” but instead thinking “What is that? That’s clearly NOT sand, what did they use to try and FAKE SAND?” Speaking of fake sand, the digital recreation of sand was a goliath in it of itself, which will touch on more later.

For now though, it’s important to discuss HOW it was possible to render sand so effectively on screen for the physical components, not only the sand itself, but the WAY the film was shot. It would be possible to write about this for 100 years, but for now, let’s focus on a handful of facts from Pope that remain relevant for the discussion around sand. First of all, as Holben notes in their interview, “Pope decided to shoot the entire picture on Kodak Vision2 500T 5218, which he rated at 250 ISO.” This is important for a variety of reasons, not the least of which that the film was shot on Super 35 with a digital intermediate (which I have talked about before), but BECAUSE of that restriction, the filmstock chosen was INCREDIBLY important. For the discussion around sand, the most relevant aspect is the 250 ISO aspect, used across the entire movie. For those unfamiliar, ISO is like a “Gain” knob on a guitar amp or the “brightness” slider on your photo editing software (kind of), the higher the ISO, the brighter image, but at the cost of noise. That means, if you are shooting something at say 800 ISO vs 250 ISO like Bill Pope on Spider-Man 3, you will end up with a much noisier image. What does that have to do with sand? Well, sand (or ground up corncob) is an extremely fine particulate matter, therefore, having an extremely fine grain structure / lower amounts of noise is CRITICAL in the final image for readability. Had Pope elected to shoot the film at even 400ISO, the readabiliy of the sand would likely have been completely washed away by the inherent grain structure of the film stock itself, and in avoiding it, the sand is rendered beautifully. This type of choice is almost unheard of in the age of digital RAW filmmaking, as denoising, high ISO “low-noise” profiles have become the norm, and it basically has everything to do with the level of self-imposed difficulty that occurs when a 250ISO film stock is chosen. Because you no longer have help from the film itself, all of the ACTUAL light needs to be REALLY bright to help compensate. Sure, Pope “shot the majority of this movie at T4” which means a really solid amount of light for things like scenes in broad daylight (of which there are a handful with sandman) BUT, when it comes to things like the interior of the armored truck, or any scenes at night (of which there are many), Pope had to break out the big guns (often employing massive 10-20k lights that he hadn’t used since ‘the old days’, which no doubt aids in the often associated old school charm of spider-man 3 specifically). Additionally, when it comes to “ the really tight macro work,” of which the sand has a LOT of, Pope “was normally at T11 or T16”, meaning he had to blast EVEN more light comparatively. Again, for those without context, T16 means you’re restricted the flow of light into the camera at a near logarithmically lower amount than something like T4 requiring a heck of a lot of light to compensate. So, the beating sandy heart of the physical has been solved, but what about the digital?

Well, as Hart details in his interview with Sam Raimi, the workload was mind-blowing; “A team of more than 200 programmers at Sony Imageworks then spent the equivalent of 10 man-years writing code that rendered the billions of individually manipulated sand particles”. That’s right, 10 man-years, which, if my math is correct, is the equivalent to 7 dog years. Sheer brute-force and cash aside, the people behind this project cared deeply, and even on a relatively tight timeline, they were literally pioneering software to make this sand work possible, and for the “fully CG 2,672-frame shot” of The Birth of Sandman, this work was absolutely boggling. In Sony Image Works white-paper on the subject, they break-down the process. In order to do this sequence, they had to BUILD multiple simulation engines, and pioneer software that would allow them to drive those simulations WITH character animation. For those unfamiliar with CG workflows, this is not an easy task, and in 2007 was basically not heard of. To make it work, not only did they create their own software, they used a mix of commercially available programs at the time as well, “everything from a Houdini DOPs simulation of sand grains settling for the extreme close-ups, to a surface based relaxation algorithm derived from [Onoue and Nishita 2003], to a grain-grain simulator similar to [Bell et al. 2005]”. That being said their primary rendering system was based on (meaning they modified that for their work, too) Renderman and “included a continuous level-of-detail system” that meant whatever level of zoom they had on a pile of sand, that detail was rendered appropriately, “blending from rendering the grains as individual points from far away to rendering polygonal models for close-up grains”. This LOD technique is often associated with video-games, wherein 3D models further away are rendered at lower detail levels to save on performance, but the fact that they were able to build this pipeline to work, on the fly, in an engine built for cinematic rendering, in 2005-2006, nearly 2 decades before Unreal Engine 5’s “industry redefining” tool did basically the exact same thing, is nothing short of miraculous.

In the same way that this shot took literal months to fully render, so too could we spend talking about things like the heightfield erosion simulation that was built alongside it, but for now, let’s move on to discussing how the “giant” versions of sandman were handled. Sony Imageworks additionally provides insight into this element, but it’s important to keep the physicality in mind, so after this, we will discuss how the choices from cinematogrepher Bill Pope helped to marry the digital and physical together. When it came to rendering the “solid” sandman, their engine would essentially “read files of polygons with settings indicating particle density and size,” and “would generate the particles” on the fly alongside the final render. This handcrafted approach means that, likely for every shot, these settings would need to be dialed in by a person before being set to render. For the wideshots with huge numbers of sand particulate, they would procedurally slice the scene into segments, to render at separate times, as in 2006 to do it all at once would “use more memory than [their] computers [had]”. Incredibly though, this system STILL allowed for genuinely unparalleled levels of sand detail, according to Sony, “Each grain was assigned a level of detail based on its size in screen space, with user-settable thresholds for different grain points”. That’s right, when it came down to it, they could control the behavior and rendering detail of EVERY. SINGLE. GRAIN. All something-hundred million of them.

So, when it comes to marrying this ground-breaking CG work with the physical reality of 35mm filmstock coming through a camera’s gate, how did they do it? Well, for one, they had incredible compositors (no doubt working over time) to do things like key footage, color correct, re-light, and more, but it also came down to an immense pre-production detailed understanding from both Raimi and Pope for sand in general and how it would be possible to mesh compositing, CG, and true blue sand. From Pope’s side, he “tried to do all the effects at the largest stop [he] could manage, usually T5.6-T8”. This is a fairly critical differentiation. Before, we talked about the brightness level of the light itself, but for those less involved with filmmaking, you might be thinking, “Wait, why would they purposefully let LESS light into the camera for VFX shots, wouldn’t that make their job harder?” First of all, great observation, second of all, what wasn’t mentioned before is the OTHER element that f-stop (or in the case of movies like this, T-Stop) is the other impact that number has. Essentially, the higher that number goes, the sharper the background, out of focus areas become, and vice versa. So, by making that number higher for VFX shots, Pope gives the future compositors, and CG masters a MUCH easier time when it comes to their work, as compositing and rendering sharper footage, is a lot easier than, for instance, motion tracking something onto a blurry, out of focus background. It’s a subtle difference, but in the edit, that can save dozens – if not hundreds – of hours over the course of a film’s post production run. Additionally, when it came to sand compositing work, “Raimi conducted "screen tests" on a Culver City soundstage to observe the sands' "behavior." Visual-effects supervisor Scott Stokdyk elaborated: "We shot footage of sand every way we would need it -- thrown up, thrown against blue screen, over black screen. John Frazier, the special-effects supervisor, shot it out of an aero can at a stuntman. Anything we could imagine sand doing in the film, we shot." This obsessive pre-production work and mindfulness on set from Pope meant that not only did they understand how to render sand digitally, as well as photograph it in a way that rendered perfectly, BUT marry those elements into a cohesive visual framework and pipeline that has been unparalleled to this day. So, in the nearly 20 years since, where are we now?

It’s safe to say, there have been, essentially, 2 high watermarks for sand: Lawrence of Arabia Spider-Man 3 Dennis Villenue’s Dune, while incredible, and managing to capture PART of this equation in terms of sand cinematography and wide shots; the level of detail, cinematic technique, digital and physical, and practical effects is unparalleled. Raimi, as always, is a journey-man work-horse of a director, and as such, nailed EACH element of sand in Spider-Man 3, not JUST perfecting one in isolation such as in Dune. Additionally, when we look at the closest comparison, not only is the sand not nearly as believable as it was in 2007, but seemingly EVERY piece of CGI in films like “No Way Home” (which features both Sandman and Raimi’s Spider-Man) fail in direct comparison with a movie that came out over a decade prior. But why? In an era where budgets have ballooned, and super-hero films are relying on CGI more than ever, why have these effects gotten worse? Well, at its core, there is a deeper problem in the industry than just SAND would lead you to believe, and the real answer may shock you. In some ways, this is a software problem. In the years since 2006-2007, CGI pipelines have evolved a lot. Industry insiders may know names like Houdini (which is still frequently used for things like smoke simulations – which are adjacent to fluid / sand simulation); but programs like Renderman see much less use. The broader point though, is that instead of creating bespoke software solutions at nearly every stage of the process, is is more common to use integrated pipelines that can handle a huge variety of generalist simulations AT THE SAME TIME. Short story SONG, these tools are now tailored to be PRETTY good at any situation you can throw at them, not PERFECT at one thing (sand). As a result, when a single program can do solid smoke, water, fire, explosion, AND sand simulation, the end result is no longer a hyper specific, perfectly rendered sand simulation, it’s one that can quickly get you a decent result. On top of that, crunch and outsourcing in VFX pipelines are now the industry standard in a way that was much less common in the early oughts. By fractionalizing the work-force and work-load across hundreds of people working asynchronously without dedicated teams, it the institutional knowledge that allows for teams like Weta to continue pushing the form is basically non-existent through the industry otherwise. Recent push-back from the VFX industry shows that a better world IS possible. We don’t have to accept the idea that every year, sand physics just get worse and worse, while money is thrown at a problem that only time, institutional expertise, and protections can actually enable from art. Perhaps it won’t be right now, but several years down the line when the VFX industry has new standards in place, that we get the sand simulations of tomorrow! Today though, you can make a change leading to a tidal wave of the future by making a difference in your own community. Build that institutional knowledge, teach your neighbors, your friends a skill, and most importantly, fight for a better tomorrow by exerting the powers of collective change and democracy!
BONUS FACT: In the scene in the armored car, a stunt double named Baxter Humby stood in place of Tobey Maguire to enable the “punch through” effect to be done PRACTICALLY. That’s right! As a talented stunt performer and amputee, Humby was able to make this moment instantly iconic, one that would have otherwise been impossible!

Commentary: https://www.youtube.com/watch?v=NLdy-keDLZM Sand: https://www.imageworks.com/technology/publications

Written by: Merek Alam
08.09.26