-
Create the virtual Python environment
py -m venv venv
-
Activate the environment
# On Windows: $> venv\Scripts\activate # On Linux or MacOS $> source venv/bin/activate
-
Install the requirements
pip install -r requirements.txt
Foldername | Description |
---|---|
notebooks | We used Jupyter notebooks to document the raytracer |
raypy | raypy is the python package that holds the raytracer |
results | the results folder holds some renderd images |
Filename | Description |
---|---|
main.py | Open the main.py an run the raytracer yourself |
notebooks\rayTracing.ipynb | The notebook that explains how the raytracer works |
results\result-1400x1400-700_samples.png | A final render that took about 28 hours |
-
Open the
main.py
and run the raytracer yourself! Be aware that rendering a picture yourself will take some time.Change the values for
WIDTH
,HEIGHT
orSAMPLES
to influence the render time. -
Open the notebook at
notebooks\rayTracing.ipynb
and read through the documentation of the raytracer.