/Ray-tracing

The project was made in the discipline Graphic Processing using Python

Primary LanguagePython

Ray-tracing

This project was made in the discipline of Graphic Processing

Run in your shell:

# Clone this repository:
$ git clone https://github.com/severinocarlos/Ray-tracing.git

#  Install all requirements
$ pip install -r requirements.txt

# Entry in Directory:
$ cd src

# Run the code:
$ python cli.py -j <file.json>

E.g - using the version-3 (you can choose the image to be rendered by looking at the inputs folder): 
$ python cli.py -j espelho-0.json

Branchs:

version-1:

Image rendering using ray casting only

version-2:

Image rendering using shading and shadows

version-3:

Image rendering using recursive Ray-Tracing

Antialiasing:

Image rendering using only ray casting application of antialiasing technique (jittered sampling)

Rendered image:

alt text