PyCon LT 2022

Implementing Ray Tracing in Python

Ray tracing is a rendering method. It simulates the physical behavior of light and it allows to achieve generation of very realistic images.

In this talk I will show an old-school CPU based Python implementation. Python is relatively slow programming language so a ray tracer written in Python is also going to be slow. I will show several (some of them hacky) tricks to speed up CPU intense calculations.

The speaker's profile picture
Petras Zdanavičius
  • Professional Python and Web developer
  • hobbyist game developer
  • semi-regular Pycon LT speaker