raycasting

Raycasting is a computer graphics technique that casts virtual rays from a point to find the first object each ray hits in a scene.

2 articlesLast mentioned

Raycasting is a computer graphics technique that casts virtual rays from a point and finds the first place each ray intersects an object in a scene. Scott Roth used the term in 1982 to describe a method for rendering solid models. Unlike ray tracing, which follows reflected and refracted rays, raycasting stops at the first intersection and therefore requires less computation.

In the early 1990s, games such as Wolfenstein 3D used it to draw a 3D-looking view from a 2D map by casting one ray for each vertical column of the screen. In modern game and physics engines it is widely used for line-of-sight tests, collision queries, picking objects with the mouse, and computing 2D lighting and shadows.

This entry is based on AIPOST articles and widely known facts. If something is wrong, please send us a correction request.

Articles covering this entry

  • Gyro-M vs. Gyro-S on a 16GB GPU: Higher Scores, Similar Coding ResultsAI Performance ·

    The 2D top-down game features real-time raycasting, dynamic lighting, fog of war and a minimap.

    Read article
  • ShapeLearn Qwen3.8-27B on a 16GB GPU: Agent Tests Pass 4 of 5 at 128k ContextAI Performance ·

    Early on, sight lines leaked through walls; a follow-up prompt fixed the raycasting logic promptly, after which rooms stayed enclosed and unexplored terrain unc…

    Read article

Found a mistake or missing an entry?

Wiki entries are based on AIPOST articles and widely known facts. If an entry is wrong, send us a correction request and we will check and fix it. Names from new articles are added to the wiki after the article is published.