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
.
✓ sphere Geometry.
✓ Plane Geometry.
✓ 💡 Point lighting
✓ ☀️ Ambient Lighting
✓ ➡️ Directional lighting.
✓ 👥 shadows
✓ ❀|❀ Reflections
- colored lighting
- specular reflections
- Diffuse lighting
- Metal
- Glass
- Refraction