WUT_Computer_Science/Programming/TRAK
2026-02-06 22:15:53 +01:00
..
.idea Add 'Programming/TRAK/' from commit '777937fb9ee618a73e357f5b25abe00744a4ab99' 2026-02-06 22:15:36 +01:00
.vscode Add 'Programming/TRAK/' from commit '777937fb9ee618a73e357f5b25abe00744a4ab99' 2026-02-06 22:15:36 +01:00
code Add 'Programming/TRAK/' from commit '777937fb9ee618a73e357f5b25abe00744a4ab99' 2026-02-06 22:15:36 +01:00
docs Add 'Programming/TRAK/' from commit '777937fb9ee618a73e357f5b25abe00744a4ab99' 2026-02-06 22:15:36 +01:00
environments Add 'Programming/TRAK/' from commit '777937fb9ee618a73e357f5b25abe00744a4ab99' 2026-02-06 22:15:36 +01:00
outputs Add 'Programming/TRAK/' from commit '777937fb9ee618a73e357f5b25abe00744a4ab99' 2026-02-06 22:15:36 +01:00
scenes Add 'Programming/TRAK/' from commit '777937fb9ee618a73e357f5b25abe00744a4ab99' 2026-02-06 22:15:36 +01:00
sightpy Add 'Programming/TRAK/' from commit '777937fb9ee618a73e357f5b25abe00744a4ab99' 2026-02-06 22:15:36 +01:00
.gitignore Add 'Programming/TRAK/' from commit '777937fb9ee618a73e357f5b25abe00744a4ab99' 2026-02-06 22:15:36 +01:00
.python-version Add 'Programming/TRAK/' from commit '777937fb9ee618a73e357f5b25abe00744a4ab99' 2026-02-06 22:15:36 +01:00
config.ini Add 'Programming/TRAK/' from commit '777937fb9ee618a73e357f5b25abe00744a4ab99' 2026-02-06 22:15:36 +01:00
init.sh Restore original local content into merged PSD, TRAK, STUP directories 2026-02-06 22:15:53 +01:00
lab6.py Restore original local content into merged PSD, TRAK, STUP directories 2026-02-06 22:15:53 +01:00
main.py Add 'Programming/TRAK/' from commit '777937fb9ee618a73e357f5b25abe00744a4ab99' 2026-02-06 22:15:36 +01:00
output_ray_traced.png Add 'Programming/TRAK/' from commit '777937fb9ee618a73e357f5b25abe00744a4ab99' 2026-02-06 22:15:36 +01:00
photon_mapping.py Add 'Programming/TRAK/' from commit '777937fb9ee618a73e357f5b25abe00744a4ab99' 2026-02-06 22:15:36 +01:00
ray tracing testy.pdf Add 'Programming/TRAK/' from commit '777937fb9ee618a73e357f5b25abe00744a4ab99' 2026-02-06 22:15:36 +01:00
README.md Add 'Programming/TRAK/' from commit '777937fb9ee618a73e357f5b25abe00744a4ab99' 2026-02-06 22:15:36 +01:00
rendering.py Add 'Programming/TRAK/' from commit '777937fb9ee618a73e357f5b25abe00744a4ab99' 2026-02-06 22:15:36 +01:00
requirements.txt Add 'Programming/TRAK/' from commit '777937fb9ee618a73e357f5b25abe00744a4ab99' 2026-02-06 22:15:36 +01:00
utils.py Add 'Programming/TRAK/' from commit '777937fb9ee618a73e357f5b25abe00744a4ab99' 2026-02-06 22:15:36 +01:00

Wywoływanie z terminala

# Wywołanie algorytmu ray tracing z domyślnymi parametrami i sceną
python main.py --algorithm ray_tracing
# Wywołanie algorytmu ray tracing ze specyfikacją sceny z folderu scenes, liczbą sampli na pixek, rozdzielczością, środowiskiem i rozmyciem środowiska
python main.py --scene three_spheres --samples_per_pixel 100 --resolution 100x100 --environment lake.png --env_blur 10
# Wywołanie algorytmu *photon mapping* ze specyfikacją liczby fotonów i maksymalnej głębokości
python main.py --algorithm photon_mapping --max_depth 4 --num_photons 1000
# Wywołanie algorytmu *photon mapping* wykonanego w c++
cd photonmappnig/cpp
./compile.sh
./photon_mapping