Taos Engine · Editor Tutorials

Editor Tutorials

Editor Geo Quickstart: San Francisco

Build a playable, real-world San Francisco scene in the Taos Editor — Cesium World Terrain streamed from Cesium ion under a physical atmosphere sky — without writing a line of code. Everything happens through the Create menus and the Inspector; by the end you'll be flying over the bay at runtime. (The scripted twin of this scene is samples/geo_sanfran.ts.)

What you'll use:

PieceWhat it does
Geo Reference componentThe scene's georeference: anchors the world at a longitude/latitude, holds the scene-wide ion Access Token, shows the attribution overlay
Geo 3D Tileset componentOne streamed layer; its Source picks the data — a Cesium ion asset by id, keyless streamed terrain + imagery, or keyless OpenStreetMap buildings
Sky componentPhysical atmosphere lit by the Sun light
Camera Controller componentFly camera for play mode

Prerequisites#

No account yet? Everything through step 3 works keyless, and step 5 notes the keyless terrain alternative.

§ 1

Create a project#

File > New Project, pick the Basic template. You get a scene with a Main Camera and a Sun (directional light).

Three edits prepare it for planet scale. There are two cameras to widen — the editor viewport's fly camera (what you see while authoring) and the scene's Main Camera (what renders in the Game view and at runtime):

  1. Click the ⚙ gear at the top-right of the viewport and set Clip far to 5000000 (5,000 km). This is the editor camera's far plane — its default suits room-to-city scenes, but a planet's horizon is a long way off and geo terrain would visibly cut off a couple of kilometers out. The setting is saved with the project, so it sticks across sessions. Setting Clip near to 1 helps depth precision at these distances too.
  2. Select Main Camera and, in the Inspector's Camera component, set Far to 5000000 and Near to 1 — the same change for the runtime camera.
  3. Move the camera up and back so it isn't underground when the world appears: set its Position to (0, 400, 2000).
§ 2

Add the sky#

Create > Environment > Sky. The default mode is atmosphere — a physical Rayleigh/Mie sky lit by your Sun. Drag the Sun's rotation (or edit it in the Inspector) and the sky follows.

Once the Geo Reference exists (next step), it couples this sky to the globe: the horizon dips as you climb, a lit ground sphere fills below it where no tiles have streamed, and vista-scale aerial perspective hazes the far hills into the sky. Both are on by default — the Curved Horizon and Aerial Perspective toggles live on the Geo Reference.

§ 3

Anchor the world at San Francisco#

Create > Geo > Geo Reference — the scene's georeference. It anchors a floating-origin frame at its Longitude / Latitude / Height and re-centers the world origin under the camera as you fly, so coordinates stay precise at planetary distances. On its own it renders nothing — Geo 3D Tileset layers stream through it. It is single-instance: creating a second one just selects the existing one, like Sky.

Set its anchor to the San Francisco waterfront:

Edits apply live — type any place on Earth and the origin (and the camera floating above it) teleports there.

§ 4

Connect to Cesium ion#

  1. Sign in at ion.cesium.com and open Access Tokens.
  2. Copy your token (the auto-created Default Token is fine, or create one scoped to assets:read).
  3. Select the Geo Reference object and paste it into ion Access Token.

That token is the scene-wide default — every Geo 3D Tileset you add uses it automatically. (An individual tileset's ion Token property overrides it, e.g. for an asset shared from a different account.)

§ 5

Add Cesium World Terrain#

Create > Geo > Cesium World Terrain.

This adds a Geo3DTileset component with Source ion, preconfigured for asset 1 — Cesium's quantized-mesh global terrain. Within a few seconds the city, the bay, and the hills stream in under the camera. If nothing appears, open the Console panel — a missing or invalid token logs a [Geo3DTileset] warning there, and streaming starts the moment you paste a valid one.

No ion account handy? Create > Geo > Geo Terrain instead — a Geo 3D Tileset with Source terrain, streaming keyless raster-DEM elevation draped with the Imagery of your choice (Esri satellite, OSM, Carto light/dark). It's lower fidelity than Cesium World Terrain; use one or the other, not both — two overlapping terrains z-fight.

Notice the small attribution line at the bottom-left of the viewport — the on-screen data credits required by the providers' terms of service. It updates automatically as sources come and go (leave Show Attribution on the Geo Reference in anything you ship).

§ 6

Optional layers#

More quick-adds compose onto the same terrain:

If a dense building layer costs too much framerate, the Geo 3D Tileset has three performance levers, all live:

While authoring, note the editor renders the scene twice when both the Scene and Game tabs are visible — hide the Game tab for full viewport framerate.

§ 7

Explore the bay in the editor#

Hold the right mouse button in the viewport to look around, W/A/S/D (+ Q/E for down/up) to fly, and scroll the wheel while flying to change speed. In geo scenes the fly speed adapts to your altitude automatically — climb for fast travel, descend to slow down for street level; the ⚙ settings panel's Fly speed sets the ground-level base (saved with the project), and Shift triples it while held. Turn toward the Golden Gate, skim the hills, and watch tiles refine as you approach.

§ 8

Play it#

Give the runtime a fly camera:

  1. Select Main Camera and Add Component > Camera Controller.
  2. Leave Mode as fly; set Speed to 250 — the same runtime speed the sample uses.
  3. Press Play.

In the Game view you fly the same world with the same controls, now as the game. Terrain, sky, and the attribution overlay all come along — the geo module is detected from the components in the scene, so a Build for Web (Ctrl+B) of this project streams it in the browser too.

Where to go next#