Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Game Programming: Ray Casting and Line Segment Intersection - Lecture 12

Dave Churchill via YouTube

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

Reviews

Start your review of Game Programming: Ray Casting and Line Segment Intersection - Lecture 12

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.