Skip to content

Latest commit

 

History

History
37 lines (31 loc) · 1.08 KB

README.md

File metadata and controls

37 lines (31 loc) · 1.08 KB

rayTracer

A python implementation for a ray Tracer. This is a very simple ray tracer that supports:

  • Ray-Sphere intersection
  • Ray-Triangle Intersection
  • Point Light
  • Shadows
  • Reflection
  • Refraction
  • Ray-Plane Intersection
  • Antialiasing using jittering
  • Multihreade
  • Load and intersect different triangulated models (.obj)

Example output

Refraction and antialiasing

Shadow

Shadow and reflection

Libraries

  • PyQt5

Note:

ppm images are huge so i'll be using a ppm to jpg converter to display output images

How to execute program:

  1. cd into examples
  2. run any of the example files
$ python raytracer.py
  1. output file under the name of ran file