3D worlds

Version 2 of 9

Hidden-line city.

BBC Micro style · 1-bit · 1984

This version

Black-filled polygons with white edges, drawn far to near, so near blocks hide the ones behind.

How this version works

This version draws the shared box city at 256 pixels wide using black fills and white outlines. It sorts faces by their average camera-space depth, then paints them from far to near so nearer fills cover earlier edges. The camera moves along the empty central street with sinusoidal sway, height and yaw changes. Unlike the green wireframe version, its outlines do not fade with distance.

The trick in this version

Black polygon fills provide approximate hidden-line removal without a per-pixel depth buffer. The two-colour appearance suggests a 1-bit display, although the implementation uses ordinary Canvas paths rather than packed monochrome memory.

Historical context · 8-bit

  1. 1984 · Braben & Bell

    Elite

    Hidden-line wireframe ships and space stations on an 8-bit machine, 3D you could fly in.

  2. 1985 · Paul Woakes · Novagen

    Mercenary

    A whole wireframe city and planet surface to walk and fly through, in real time.

Platform
BBC Micro style · 1-bit
Era
8-bit
Rendered on
CPU
Tags
hidden lines · 1-bit
Sources
Elite (1984)Mercenary (1985)