Ray casting
|
In computer graphics, Ray-casting is a pseudo-3D rendering technique, a special case of ray tracing.
The technique consists of sending out one ray for each column of pixels, checking if it intersects a wall, and drawing textures on the screen accordingly, creating a depth buffer against which to clip the scaled sprites that represent enemies, powerups, and props.
Common Tasks using Ray Casting are :
External link
- Ray-Casting Tutorial by F. Permadi (http://www.permadi.com/tutorial/raycast/)