Milos Popovic shipped forge3d 1.40.1 yesterday, with a new example: a camera flythrough of Bryce Canyon. I wanted to try it right away, and there was only ever one place to point it. I grew up in Groveland, on the road to Yosemite, so it had to be the valley.

The plan: start at Half Dome, drop into the valley, fly it end to end, turn around at Tunnel View, and come back to the classic Half Dome view. On a June evening, because that’s when the granite glows.

▶ Watch in HD (1080p)

Yosemite Valley on a June evening, 7:15 PM · USGS 3DEP lidar (Yosemite National Park, 2019) · USDA NAIP aerial imagery · rendered with forge3d 1.40.1

73
Seconds of flight,
Half Dome and back
32M
Lidar heights
under the camera
2,180
Frames, each rendered
on a laptop GPU
~1 hr
For the whole
1080p render

The flight

Flying west down Yosemite Valley about 400 metres above the floor: the spires of Cathedral Rocks on the left, El Capitan's wall on the right, and the Merced River winding across the meadows below

Twenty seconds in: Cathedral Rocks on the left, El Capitan on the right, the Merced below.

How it works: what’s real and what’s painted

It looks like a drone shot, but nothing here was filmed. It’s three layers stacked on a laptop GPU.

  1. The shape is lidar. In 2019 an aircraft flew over Yosemite firing laser pulses at the ground, hundreds of thousands a second, and timed the echoes. From those the USGS built a bare-earth elevation model at 1-metre detail. I averaged seven of its tiles to a 3-metre grid, about 32 million heights, and forge3d turns that grid into a 3D surface. That’s why El Cap and Half Dome have their real shapes.
  2. The colour is a photo. NAIP is aerial photography the US flies over the whole country every couple of years. It’s draped over the surface like a tablecloth. The forest you see is a photo of treetops from 1.5 metres a pixel. There are no 3D trees; from 400 metres up you can’t tell.
  3. The light is computed. For every frame the GPU works out where the sun is (June 20, 7:15 PM, low in the north-west), which way each slope faces it, which ridges throw shadows across the valley, and how much darker the folds and creases should be. Then a few lines of Python paint the evening sky, warm up the highlights and add a little haze toward the horizon.

The camera path is just fifteen keyframes, each a position, a point to look at and a lens, smoothed into one curve. A check against the lidar lifts the camera wherever it would pass within 110 metres of the ground.

Coming out of the turn at Tunnel View: El Capitan's wall on the left, the valley running away to Half Dome in the middle distance, Cathedral Rocks on the right

Coming around at Tunnel View, on a longer lens.

Three things that went wrong first

The final hold: Half Dome rising above the valley, its sheer face lit by the evening sun, with Clouds Rest behind

The last frames: Half Dome, with Clouds Rest behind it.

Last thing

Yosemite Valley has been at the end of my road since I was a kid in Groveland. Flying it like this with the newest version of Milos’s tool, from the face of Half Dome all the way down and back, was a real treat. Same tools as the Humphreys Peak orbit and the heat dome, and huge thanks again to Milos for forge3d and for the Bryce Canyon example that started this one.

Data: USGS 3D Elevation Program 1 m lidar DEM, project CA_YosemiteNP_2019, and 1/3 arc-second DEM; USDA NAIP imagery via the USGS National Map. Rendering: forge3d 1.40.1 by Milos Popovic. Sun position from forge3d’s solar calculator.


Go deeper

🎧 Listen & watch

Yosemite National Park — PlanetGeo: The Geology Podcast, 18 November 2021, about 44 min. Chris and Jesse on the granite, the glaciers, exfoliation joints and rockfall that made the valley.

The History of Granite – Dr. Mike Ackerson — PlanetGeo: The Geology Podcast, 28 March 2024, about 82 min. A Smithsonian curator on how giant bodies of granite like Yosemite’s Tuolumne Intrusive Suite actually form.

Yosemite Nature Notes 4: Half Dome — Yosemite Nature Notes (National Park Service), 14 December 2009, about 10 min video. The park’s own lovely short on the rock at the start and end of the flight.

Yosemite Nature Notes 10: Rock Fall — Yosemite Nature Notes (National Park Service), 7 July 2010, about 9 min video. Park geologists on how rockfall has been reshaping the valley walls since the ice left.

Yosemite Nature Notes 6: Maps — Yosemite Nature Notes (National Park Service), 23 June 2009, about 9 min video. A treat for map folks: Yosemite cartography from Joseph Walker in 1833 to modern GIS.

📄 Read

Collins, B.D. & Stock, G.M. (2016). Rockfall triggering by cyclic thermal stressing of exfoliation fractures. Nature Geoscience 9, 395–400.

Stock, G.M., Collins, B.D., Santaniello, D.J., Zimmer, V.L., Wieczorek, G.F. & Snyder, J.B. (2013). Historical rock falls in Yosemite National Park, California (1857–2011). U.S. Geological Survey Data Series 746. Open access.

Geologic History of the Yosemite Valley — François Matthes, USGS Professional Paper 160, 1930; the classic on how much of the valley is glacier and how much is river, free to read.

The Geologic Story of Yosemite National Park — N. King Huber, USGS Bulletin 1595, 1987; a friendly, well-illustrated tour of the whole park’s rocks.

📊 Data & agencies

USGS 3D Elevation Program (3DEP) — the 2019 Yosemite lidar under every frame. · The National Map Downloader — grab the tiles yourself. · NAIP Hub — the USDA aerial photos draped on top.

Yosemite National Park — with pages on the park’s geology and rockfall.

forge3d — the Python terrain renderer. · yosemite-flyover — this project’s code.