Skip to content

An implementation of a 3D raytracer in python

Notifications You must be signed in to change notification settings

berkio3x/pyray3d

Repository files navigation

pyray3d

An implementation of a 3D raytracing in python.

This is a reaserch project to implement a raytracer.

Time to render below scene - 57 sec. .There is no optmizations attempted in this python code. Once I am happy with features, i will optmize the code & pretty sure this can be brought down by using numpy & doing the heav lifting in Cython.

Supports

✓ sphere Geometry.
✓ Plane Geometry.
✓ 💡 Point lighting
✓ ☀️ Ambient Lighting
✓ ➡️ Directional lighting.
✓ 👥 shadows
✓ ❀|❀ Reflections

TODO:
  • colored lighting
  • specular reflections
  • Diffuse lighting
  • Metal
  • Glass
  • Refraction

About

An implementation of a 3D raytracer in python

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages