Raycasting

From GDWiki

Jump to: navigation, search

See also ray casting at Wikipedia.

Ray casting is a common name for a ray/surface intersection test.

Ray casting can be used for efficient visibility culling. Rays are cast from the location of the character along each visible surface. For a 2D map, only the endpoints of the individual surfaces need to be checked.

Two notable examples of ray casting use are Wolfenstein 3-D and Doom, both by id software. Details of how each game used ray casting are found within their own articles.

This article is a stub. You can help out by expanding it.
Personal tools
Categories