/RayTracer

A Python Implementation of Ray Tracing In One Weekend with Taichi. (Python is really really slow)

Primary LanguagePythonApache License 2.0Apache-2.0

RayTracer in Python

A Python Implementation of Ray Tracing in One Weekend.

The cpp version is in this repository.

Usage

python main.py --img_width 256 --sample 1 --recursion 20 --thread 16

TODO list

  • Support Multithread.
  • Use Taichi to accelerate.
    • vector.py
    • ray.py
    • hittable.py
    • camera.py
    • material.py
    • util.py
    • sphere.py
    • main.py