Bump mapping

Version 4 of 7

Bumped sphere.

Amiga · 68030 · 1997

This version

The height map wrapped around a turning sphere: its slopes tilt the sphere's real normals before diffuse and specular lighting.

How this version works

This 320-pixel-wide CPU renderer constructs a sphere inside a circular mask, recovering its visible depth with a square root. Angular coordinates wrap the shared height map around the sphere, and a time offset scrolls the texture horizontally. Height differences divided by 160 perturb the sphere normal's horizontal and vertical components before it is normalised. A moving directional light supplies diffuse shading and a power-24 specular highlight, mapped through a warm, 256-entry palette with a small ambient contribution.

The trick in this version

Unlike the flat versions, this code calculates normals and lighting explicitly rather than reading a light-spot table. The relief changes only the shading, leaving the circular silhouette untouched, and the output uses an Amiga-quantised palette.

Historical context · 16-bit

  1. 1997 · Origo / Subspace · Toltec 9

    A bump-mapped bowl

    The credits list a ‘Wrapping Bumpmapped Bowl Effect’, bump mapping on a curved object, not a flat embossed screen.

  2. 1996 · C-Lous · Kolor Remix

    Bump plus rotozoom

    Bump lighting combined with a zoom-rotator at Remedy 1996: the technique on a classic 68k machine.

Platform
Amiga · 68030
Era
16-bit
Rendered on
CPU
Tags
curved surface · Phong
Sources
A bump-mapped bowl (1997)Bump plus rotozoom (1996)