Sign in
HomeMechanicsSpace & LocomotionRaycast Corridor 3D
Space & Locomotion

Raycast Corridor 3D

Raycast corridor 3D draws a first-person view by casting one ray per screen column into a flat grid of walls, producing textured corridors fast enough to run on ordinary office computers.

Introduced 1992 Origin Wolfenstein 3D Developer id Software Direct forks 1 All descendants 10 Later adopters 4

Level is a two-dimensional grid of solid or empty cells. For each vertical column of pixels the renderer casts a ray until it strikes a wall, uses the distance to decide how tall that column should be, and samples a texture to fill it. Floors and ceilings are flat colours or simple planes, everything else is a scaled sprite, and walls share one height with no rooms above rooms.

id Software shipped Wolfenstein 3D in 1992 on PC hardware with no graphics acceleration, where general 3D rendering was hopeless but a tightly constrained special case was not. Restricting the world to a grid removed almost all of the mathematics, and the studio had rehearsed the approach in earlier titles including Catacomb 3-D. Distribution mattered as much as the renderer, since shareware put a fast first-person game on machines bought for spreadsheets.

Speed was the whole argument. A first-person view running at a responsive frame rate turned the viewpoint from a curiosity into an action genre, and it set expectations for movement, weapons and level flow that persist. Grid geometry also limited what those levels could say, because a world of right angles and equal heights cannot describe a real place. Every later renderer was an attempt to lift that restriction.

Lineage — traced back to a root

Every mechanic in this dataset resolves to an ancestral chain. This one is 3 steps deep, beginning with Object Collision As Verb in 1962.

1962 · introduced in Spacewar!
1980 · introduced in Battlezone
1992 · introduced in Wolfenstein 3D

Open this lineage in the interactive graph →

Descends directly from

Forked into

Doom added varied floor heights and lighting, Heretic layered inventory and flight over the same engine lineage, and Duke Nukem 3D pushed it toward recognisable real places.

Look this mechanic up elsewhere

Also called: raycasting, 2.5d shooter, grid-based fps

Cite this entry

“Raycast Corridor 3D.” The Genome of Games, an ontology of game mechanics. Origin: Wolfenstein 3D (1992). https://genome-of-games.vercel.app/feature/raycast-corridor-3d/