How it works
A page for trying the ways round a 3D scene, and for their names. The scene is GEBCO 2026 round
Antarctica on the Antarctic polar stereographic map (EPSG:3031): a square 9,000 km across with the
pole in the middle and Greenwich at the top, as one surface of sea floor, land and ice, drawn
50 times higher than it is. Over it is a see-through sea surface carrying the coast and graticule,
down a meridian hangs a section of the water column (140° E runs from the Antarctic coast to
south of Australia), and a click drops a line from the surface to the floor. So there is a surface,
and things under it to get to and look at from below, as on the store page's maps.
Under an ice shelf is a block of BedMachine Antarctica v4.1 round one of six ice shelves, read
at the finest of its levels (500 m, 1 km or 2 km cells) that keeps the box under 770 cells across, and
drawn higher than it is by an exaggeration of its own, set apart from the relief's: each shelf opens
with a kilometre of depth drawn as about 7% of its box (Amery's 50 times, Ross's 90, Pine Island's 10). On
top is the ice, white where it rests on the bed and blue-white where it floats, with its front standing
over the sea; under the floating ice is its base, the roof of the cavity, darker the deeper it is; then
the bed, blue by depth under water and brown under the ice, and a see-through sea surface over the
open water. BedMachine's ice thickness includes its firn, so on grounded ice the surface less the
thickness is the bed, and where the ice floats it is the base: the water between that and the bed is
the cavity. Down the block's sides, and down the section, run bands of ice (white), water (blue) and
rock (brown). The section is an upright plane with everything on the camera's side of it cut away. It
stays fixed in the block as the view turns and pans: each shelf opens with it along the cavity, and
Cut here moves it to the pivot, facing the way the camera looks. It can instead follow the
view, through the pivot and turning with it, though then the cut face changes under the eye with
every drag. The cavity is
a few hundred metres of water under ice hundreds of kilometres across, so getting into it and looking
along it is the hardest place on the page to get to.
Down to a station is the earth at its own size, in metres, and an Antarctic station on it,
to come down to from 22,000 km: about a million times closer, or some 70 notches of the wheel, which
goes faster here. The ground is REMA, the Reference Elevation Model of Antarctica, read from the
rema-ovr overview VRT as GDAL would read it: the
VRT's XML, then the 2 m mosaic's tiles, the 10 m and 32 m tile VRTs, and whole-continent COGs at
100 m, 500 m and 1 km with their own overviews. It is drawn in six patches: the whole continent at
8 km, then 512 cells round the station at 500 m, 100 m, 32 m, 10 m and 2 m, each with a hole where
the next one sits and that one's rim pinned onto the hole's edges, so they meet without cracks
(drawn as a wire mesh, the nesting shows). Where REMA has nothing (the open sea, and the ground within some 50 km of
the South Pole, which its satellites never saw) the ground is BedMachine's surface, or the sea at
EGM2008's geoid where BedMachine has the sea; beyond the continent is the globe. Sea, rock and snow are told apart by height, slope and BedMachine's
mask: ground lying flat at sea level is the sea, and ground too steep for snow to lie on, or where
BedMachine's 500 m cells have no ice, is rock (so at 2 m the rock's edges are 500 m soft). Over
those tints, on every patch but the continent's, is Sentinel-2's true-colour image of one clear
summer pass, chosen by eye for each station and found in Element 84's Earth Search: the tile
over the station and its neighbours from the same pass, read from their Cloud Optimized GeoTIFFs
at the overview nearest each patch's texels (10 m pixels on the two finest), warped from UTM onto
each patch's own grid, and faded into the tints where the pass has nothing and round the 500 m
patch's edge. Its pixels are 10 m, so at 2 m the station's buildings are REMA's shapes in
blurred colour; snow is brighter than the true-colour image's top, so it is plain white, shaded
by REMA; and Sentinel-2 never passes over the South Pole. The scene stands in the station's
own frame, east, north and up from the ellipsoid under it, so the turntable turns about the
station's plumb line and the horizon stays level there. Each patch's vertices are kept relative to
its own middle, since the GPU's 32-bit floats would hold 6,400 km from the earth's centre only to
about half a metre. And the near and far planes follow the camera: a depth buffer splits the
depths between them finest near the camera and coarsest far off, so near is a quarter of the
camera's height over the ground and far just past the horizon. Fixed for the globe, things close
to the camera are cut away as you come down; fixed for the ground, far off, surfaces flicker and
show through each other.
The other scenes are each for something one way of turning does well and another badly, and
the readout's last row says what to try. All stand on z, as the map does, so each drag does the same
thing in all of them.
- Teapot on a pedestal, the Utah teapot that 3D graphics has tried its cameras on since 1975.
The turntable is the product viewer's way round a thing that stands up. three.js makes the teapot
with y up, as most 3D programs do; turned onto z here, the orbit about +y shows what a z-up model
looks like opened with y up.
- Three linked rings at right angles, red about z, green about y, blue about x, with no up and
no floor. Every fixed axis has a pole, straight through one of the rings; the readout gives how far
the line of sight is from each ring's axis.
- Globe, north on +z. The turntable about the earth's axis is a desk globe and keeps north up
the screen; the readout says where north is on the screen when it is not.
- Penguin, the king penguin of the Penguin datum page, with places
(under the beak, inside the flippers, on top of the feet) that no ray from its centre reaches last,
and that a camera has to work to see.
Off the map, Shift-double-click turns about the middle of the thing under the pointer: half way
along the line of sight from where it goes in to where it comes out. Drawn as draws any scene
as a wire mesh: on the relief the edges of its cells (fewer cells across shows them better), on the
others the edges of their triangles; the solid is still there to double-click.
The drag. OrbitControls, three.js's usual camera control, turns the camera about one
axis fixed when it is made, the camera's up, which is +y unless a page says otherwise.
On this map that is grid north, so a drag up or down tips the map until it is edge-on and stops
there: the camera cannot get under it that way. The turntable turns about the map's own upright
instead, so a drag up tips the map over its edge and on under it, and a drag sideways goes round.
It is a second set of OrbitControls made with up along z, which the stage hands the
mouse to (src/scene/stage.js); the store page does the same once its map is unfolded.
Straight down the upright, which way the map faces lives only in the camera's tiny offset to one
side, so the turntable stops a degree short of straight down, and the link carries the camera to
three decimals.
The pivot. A double-click turns the view about the nearest thing under the pointer: the sea
surface, the relief, the section or the dropped line. The view glides there with its direction
kept, and a ring marks the pivot while the view moves. Shift-double-click leaves the sea surface
out, so the pivot can be the floor under it or the section hanging in it: from there a drag up
goes under to look up at it. A click waits 0.3 s before it picks, so that the clicks of a
double-click pick nothing.
- Pivot, target, centre of rotation
- The point the view turns about and zooms toward. three.js calls it the controls'
target.
Setting it from the place under the pointer is Blender's Orbit Around Selection and
Auto Depth, and ParaView's Pick Center.
- Orbit
- Moving the camera round the pivot at the same distance, still looking at it.
- Turntable
- An orbit about a fixed upright through the pivot: sideways goes round it, up and down tilt, and
the horizon stays level. Blender's default orbit method has this name.
- Trackball
- The view turns about whatever axis the drag suggests, nothing stays upright, and the horizon
rolls. Blender's other orbit method; three.js's
TrackballControls.
- Up, roll
- The direction kept at the top of the screen, and turning about the line of sight. A turntable's
up is its axis; a trackball has none, so it rolls.
- Pole
- Looking straight along a turntable's axis, sideways no longer means anything and the tilt stops
(the trouble often called gimbal lock). The readout's heading goes blank there.
- Pan, truck
- Moving the camera and pivot together across the screen: Shift-drag or right-drag here.
- Dolly, zoom
- The wheel moves the camera toward the pivot (a dolly) rather than narrowing the lens (a zoom),
though most viewers call it zoom.
- Zoom to cursor
- The wheel moves toward the place under the pointer, taking the pivot with it, rather than toward
the pivot. Blender's Zoom to Mouse Position; three.js's
zoomToCursor.
- Damping, inertia
- The view coasts on for a moment after the mouse is let go.
- Picking through
- Picking past a layer that is drawn but not wanted: Shift-double-click here leaves out the sea
surface.
- Section, cutaway, clipping plane
- Cutting a model open along a plane to see inside: what is on one side of the plane is not drawn.
ParaView's Clip filter; three.js's
clippingPlanes, which the ice shelf's section
uses (it draws the bands on the cut face itself, since a clipping plane leaves the cut open).
- Near and far planes, depth buffer, z-fighting
- The camera draws only what lies between two planes across its view, and records how far off
each drawn point is in a depth buffer, so nearer things hide farther ones. The buffer holds 24 bits
spread between the planes finest near the camera, so the greater far is over near the coarser it
is far off, until two surfaces there take turns in front (z-fighting). three.js's
camera.near and camera.far; its logarithmicDepthBuffer and
Cesium's several frustums are other ways round it.
- Level of detail (LOD), clipmap
- Drawing a surface coarser the farther it is from the camera, here as nested squares round a
place, each finer than the one round it. Geometry clipmaps (Losasso and Hoppe) do the same.
- Relative to centre, floating origin
- Keeping a model's vertices relative to a point near them, and that point's place in double
precision on the CPU, so the GPU's single precision is spent on what is close to the camera.
three.js does it for any object with a
position.
- Wire mesh, wireframe
- A surface drawn as the edges of its cells or triangles and nothing between, so what is behind
shows through and the mesh's own size is plain. Blender's Wireframe shading; three.js's
wireframe material setting.
The readout gives the pivot's place and height, the tilt (0° straight down, 90° level,
180° straight up from below) and the heading, clockwise from true north at the pivot, where
north is away from the pole (grid north, towards 0° E, at the pole itself). GEBCO is read in two
halves of the world through geotiff.js from its own overviews (at most 4 arc minutes), with its
byte ranges held in the browser as the store page holds them, and sampled at each vertex of the
square. Land south of 60° S is tinted as ice. The geometry is
src/core/navigate.js, checked by test/check-navigate.mjs; the double-click,
ring and click are src/scene/pivot.js, shared with the store page.
Hash keys: scene (relief, cavity, teapot, rings,
globe, penguin, station), station (davis,
mawson, casey, mcmurdo, rothera, concordia,
pole), near (follow, globe, ground),
img (s2, none),
shelf (amery, ross,
filchner-ronne, larsen, totten, pine-island),
ice (solid, see, off), slice
(held, view, none), sl (where the section is held, if
not the shelf's own: x, y in metres and the way it faces, degrees from grid north), cvx (the ice shelf's
vertical exaggeration, where it is not the shelf's own), draw (solid, wire,
both), orbit (turntable, north, trackball),
zc (zoom to cursor), sea, cut, sec (the section's
longitude), vx (the relief's vertical exaggeration), n (cells across), pick (lon,lat of the dropped
line), cam.
- Elevation from the GEBCO 2026 Grid (GEBCO Compilation Group), from
Source Cooperative, read with
geotiff.js.
- Ice, bed and mask from MEaSUREs BedMachine Antarctica v4.1 (Morlighem; NSIDC-0756,
doi:10.5067/POJQI54A45HX), as cloud-optimized
GeoTIFFs on Source Cooperative.
- Drawn with three.js; coastlines, Antarctic grounding line and
ice shelf fronts from Natural Earth.
- The Utah teapot, Martin Newell's (1975), as three.js's
TeapotGeometry makes it; the
penguin from src/core/penguin.js.