I Built a Tesla Style Reality View of Earth on My Own GPU

Adrian Chrysanthou12 min read
Latent Earth self-driving through Times Square with a blue path on the lane ahead

Tesla builds its Reality View from a fleet of cars. I built mine from Google's 3D tiles, OpenMaps, Mapperly street photos, an image model(FLUX), and curiosity! :D

With faux self-driving, pressing I allows the low-poly sedan to pull away from Times Square on its own. It heads south past Bryant Park, swings by the Empire State Building, the Flatiron, and Union Square, and finishes at Washington Square. A big turn arrow sits in the top left, a blue strip runs down the lane ahead, and glowing blue chevrons stand over the road where it's about to turn. The buildings on either side use real building geometry, and some shopfronts come from photos taken on that sidewalk!

That's Latent Earth. It started as a weird experiment about what a computer "remembers" about a city, and turned into my own version of Tesla's Reality View, running in a browser on my PC.

Self-driving through Times Square, with the blue path on the lane ahead
Self-driving through Times Square, with the blue path on the lane ahead

Where the Idea Came From

While on holiday, I kept thinking about Tesla's Reality View, which started rolling out with FSD v15 on November 21, 2026. Tesla calls it a "real-time generative driving visualization that continuously streams a view from an arbitrary virtual camera" above the car. Instead of the traditional Tesla visualization of grey boxes and lane lines, you get something that looks like a drone following your drive.

What’s impressive about Tesla’s Reality View is how the generative view draws road texture, trees, reflections, and buildings, even though the car is not actually perceiving every one of those details. That means the cameras have less to go on, and their diffusion fills in the gaps based on what it learned.

So I took that idea and sourced the non-existent Tesla Vision data from real-world images.

  1. Source real images.
  2. Let a generative model fill in what's missing and make it look like a photo.
  3. Mimic the camera angle, HUD, and visuals of Tesla Reality View.

So what is this Latent Earth?

The very first version of Latent Earth had no map data at all. The streets, buildings, and landmarks came from a language model's memory, recalled one 200 m square at a time and drawn in three.js as it streamed in.

It was a neat concept, as you could walk around and explore how Times Square would display the same New York Times Building in different locations, or how the London Eye turned into three distinct Eyes.

latent earth view
view of latent earth

It was a fun way to look inside the black box. It also looked like a 2004 video game. But… if I wanted a Reality View, it needed much more.

Retroactively Painting Frames made sense, right?

My first idea was the obvious one. Render the 3D world, send every frame to a fast image model on my RTX 4090 (sd-turbo in img2img mode), get a repainted frame back. Unfortunately, temporal consistency took three rewrites.

Try 1: repaint every frame from scratch. It flickered like a haunted VHS tape. Move the mouse and a brick wall became glass, then concrete, then brick again, several times a second.

sd-auto painting per frame.
repaint every frame from scratch.

Try 2: feed the model its own last frame. Colors drifted, and road texture started bleeding up onto buildings. The model was repainting its own hallucinations and getting more confident about them every frame. ughhhh.

img2img generation from last frame
img2img generation from last frame.

Funny thing is, that loop is roughly what Tesla does. Right? Their model takes its previous generation, adds noise, and denoises it into the next one. The difference is that Tesla's model gets fresh camera features every frame, so reality pulls it back.

Try 3: repainting from the raw render, and reuse paint only where the depth matches. Then I added a depth ControlNet so walls and roofs stayed where they belonged.

It still smeared up close and drew garbled signs. So I stopped painting frames and started painting buildings: each building gets a texture once, stuck to the geometry like any normal 3D texture.

An actual city is formed

A diffusion model can paint some remarkable views, but it has no idea what 4 Times Square actually looks like. For that, I needed real data, so I brought in Google's Photorealistic 3D Tiles, the same textured mesh you see in Google Earth, loaded in three.js with NASA's 3DTilesRendererJS.

From a few hundred meters up, it’s stunning.

aerial view
footage of an aerial view

But up close it’s rough, and the streets are uneven with spiky objects. So the street level got rebuilt, layer by layer, with anything less than 4.5 m above the measured ground gets pressed flat.

The same applies to walls! Within about 180 m of you, the bottom 14 m of every building is rebuilt as straight walls from its real outline in OpenStreetMap. Then each wall wears Google's own photo of that exact facade, shot straight on by a hidden camera into an 8192 px atlas. Meaning the actual shape comes from OpenStreetMap, and the look comes from Google.

But what about that street? Well within about 150 m, Google's lumpy ground is swapped for a street drawn from OpenStreetMap's roads: asphalt to each road's real width, curbs, sidewalks, lane lines, crosswalks, and manhole covers. The asphalt is four photographed surfaces from Poly Haven blended in world space, with dug-up repair patches in fresh dark asphalt, to help eliminate repetition. Buildings cast shadows across it. I also paid special attention to your location, meaning double yellow center lines in the Americas and white elsewhere.

google maps real view
real view of google maps
The drawn street: photographed asphalt, lane lines, crosswalk and kerbs
The drawn street: photographed asphalt, lane lines, crosswalk and curbs
Regent Street in London with clean walls wearing Google's own facade photos
Regent Street in London with clean walls wearing Google's own facade photos

Unfortunately, exploring the world resulted in some rough issues. For example, the Trevi Fountain went from a bank of dark blades to actually standing in its piazza as best as possible. Amsterdam's canals get water and stone banks instead of melted boats. Long bridges like the Golden Gate keep Google's own model whole, with the road deck sharpened in place.

The Trevi Fountain, kept as Google shows it, with a clean piazza around it
The Trevi Fountain, kept as Google shows it, with a clean piazza around it

Bringing reality to the world

The catch with Google's facade photos is that the lower floors are just smears.

The best fix for that is a photo taken from the sidewalk. So walls now start from a Mapillary street photo wherever one fits. The app grabs photos near you, picks the one standing best in front of each wall, and lays it onto the wall. Mapillary headings are often a few degrees off, and some drives are recorded backward, so each photo is shifted, turned, raised, and moved until it lines up with Google’s own photo of that wall. It only gets used if it really matches. Caveat: It’s not perfect. A future iteration could rely on more reliable data, like Google Street View.

But when it works, it's the coolest thing in the whole project. Real shop signs, real awnings, real adverts, on a wall built from map data, in a 3D city. At Times Square, about half the walls take a street photo. In Detroit, 4 of 4 walls took one in the first minute.

Street photos from the sidewalk laid onto the walls near Times Square
Street photos from the sidewalk laid onto the walls near Times Square
Self-driving down Woodward Avenue in Detroit, one of the six demo streets
Self-driving down Woodward Avenue in Detroit, one of the six demo streets

FLUX does a lot of heavy lifting here

With the image server running, every wall photo within 110 m goes to FLUX.1-schnell, comes back in focus, and gets drawn back onto the wall, street level first.

But I really needed to dial in the img2img strength:

StrengthWhat FLUX does
0.5 to 0.74Keeps the building and sharpens it. Walls sit at 0.55
0.75 and upPuts up a different building. Very cool. Completely wrong
0.9 on a full frameA normal Manhattan street grew a curved, tiled wall that doesn't exist anywhere on Earth

To avoid API limits, every repainted wall is kept for 30 days, so coming back to a street restores it in milliseconds, even with the image server off.

Pressing the key J pre-warms everything within 180 m before a drive.

Renting a 5090

Unfortunately, with a 4090 running and all the other resources eating it up, a paint often takes upwards of 5 seconds. That’s not valuable when you’ve already driven past it! So I tuned the server (half-megapixel cap on big walls, prompts encoded once, street level painted first) and then rented more GPU.

The image server now runs on its own on a Vast.ai RTX 5090, reached over an SSH tunnel. On a 32 GB card, FLUX can run full size instead of squeezed into 4-bit. The setup works great!

Bringing the Streets to life

An empty street looks fake fast. Traffic lights, lamps, trees, bus stops, benches, bins, hydrants, and post boxes now stand where OpenStreetMap maps them, as low-poly 3D models. If a data point doesn’t exist, we try to map where the object would naturally be. Things nobody maps go where they'd naturally be: drains against the curb, parking meters, a coned-off street works patch, dumpsters in alleys.

Pressing U enables traffic. Cars park along the curbs of smaller streets (clear of corners, crossings, and hydrants), and others drive the mapped lanes, respecting one-way streets and slowing for bends(usually).

Signals, street lights and crosswalks on 7th Avenue
Signals, street lights and crosswalks on 7th Avenue

Night driving is honestly cool

Press N for night, and the city changes completely. Google's photos are all taken in daylight, so the shader grades them: buildings darken under a blue tint while screens, signs, and bright windows keep their light and feed the bloom. The car's headlights throw a beam down the street ahead, moving traffic gets headlights of its own, and there's a moon and stars overhead.

Night traffic with headlights and glowing signs
Night traffic with headlights and glowing signs
The night sky with the moon and stars
The night sky with the moon and stars

Emulating the Tesla Reality View HUD

Press Y and you're in a sedan you can drive yourself, with a camera that orbits all the way round it. Fortunately, Google's tiles look their best from up behind the car. It’s high enough that the melted ground floors read as buildings and low enough that it still feels like a street. Tesla puts its camera up there too, and now I get why…

Press I and it drives itself at about 19 mph along OpenStreetMap streets. In Midtown. On the demo streets, it drives the street. Touch WASD to take the wheel back.

With self-driving on, the screen turns into my take on Tesla's driving display: the next turn in the top left as a big arrow with the distance and "Turn left", a blue strip on the lane ahead, glowing blue chevrons standing over the road at the turn, a small red glow behind the car only while it brakes, and a blue wheel icon in the corner.

Tesla's Reality View also has a look where surfaces shimmer and re-form as you pass. Theirs comes from a model that constantly regenerates the view. I faked the feel: when a wall's repaint lands, it settles in from coarse blocks and wavers faintly for a couple of seconds.

Postgres to the Rescue!

Google bills the Map Tiles API by session, and I didn't want a surprise bill for a research project. So on my machine everything is stored in a local Postgres with pgvector. The first time a tile is fetched, it goes into the database, and any place I've already driven loads with zero requests to Google.

The page also reuses one Google session for nearly three hours across reloads, and paces its requests under the per-minute limit. One honest caveat: Google's Map Tiles terms don't allow storing tiles, so this is for my private research build only, and you can switch it off for anything public.

If you know someone who's been staring at their Tesla's Reality View wondering how it works, send them this.

#LatentEarth #RealityView #TeslaFSD #FLUX #Google3DTiles #OpenStreetMap #Mapillary #threejs #RTX5090 #VastAI