Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore ray casting and line segment intersection in this comprehensive game programming lecture. Learn the fundamentals of ray casting and its applications in lighting and visibility for 2D games. Dive into the mathematics behind line segment intersection, including step-by-step calculations and pseudocode implementation. Gain insights into 2D game visibility and lighting techniques, and understand the principles behind a light and sight demo. This lecture, part of the COMP4300 Game Programming course at Memorial University, provides essential knowledge for aspiring game developers interested in mastering these crucial concepts for creating immersive game environments.
Syllabus
- Preroll
- Greeting
- Lecture Start
- What is Ray Casting?
- Lighting and Visibility
- Ray Casting Problem
- Line Segment Intersection
- Line Segment Math
- Calculating Intersection
- Solving for t and u
- Intersection Pseudocode
- 2D Game Visibility / Lighting
- Light and Sight Demo Explained
Taught by
Dave Churchill