What is Ray tracing?

476 views

I hear about it in video games a lot, but I don’t understand it.

In: Technology

3 Answers

Anonymous 0 Comments

Ray tracing is a way of projecting a model of a 3d world (inside your computer) onto the screen. It creates imaginary rays (lines) from the camera location (your viewpoint) out into the 3d world. The rays measure which object in the world is closest, how close it is, what angle it’s at from your viewpoint, what colour it is, etc, and uses that data to decide where, what colour, and how big it should be displayed on your screen. You could think of it as similar to how bats use echolocation to “see” the room.

On a related note, this is a great book: https://www.goodreads.com/en/book/show/36165638-game-engine-black-book-wolfenstein-3d

You are viewing 1 out of 3 answers, click here to view all answers.