top of page
  • Writer's pictureBreck Massey

2D Raytracer


Raytracing is a popular method of rendering but very performant heavy. It has become more popular recently due to the amazing reflections and refraction it can simulate. I am using a 2d version of raytracing to turn a 2D scene into a 3D scene. At the top of the image above there is a square with a line in it along with a bunch of rays that are cast out into this 2d world. The rest of the image is the 3d representation of the 2d scene. One thing that can be noticed is that the 3d scene is a reverse image of the 2d scene. This is due to the lines being drawn from left to right instead of right to left.


See It Here:


2 views0 comments

Recent Posts

See All

Kommentare


bottom of page