Skip to content

RodrigoFigueroaM/rayTracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

python ray Tracer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages