Go to file
2025-01-24 20:26:16 +01:00
.idea New parsing (#4) 2025-01-18 17:31:27 +00:00
.vscode feat: wip flake formatting 2024-12-27 12:08:09 +01:00
code parameters and statistics for c++ version of photonmapping (#7) 2025-01-19 17:54:56 +01:00
docs chore: added readme and docs 2024-11-28 18:49:49 +01:00
environments New parsing (#4) 2025-01-18 17:31:27 +00:00
outputs ray tracing renders 2025-01-24 19:53:33 +01:00
scenes New parsing (#4) 2025-01-18 17:31:27 +00:00
sightpy Statistics (#6) 2025-01-19 17:52:23 +01:00
.gitignore Kuhyx (#1) 2025-01-18 14:03:48 +00:00
.python-version feat: add primitive raytracing 2024-12-27 11:36:24 +01:00
config.ini Console for photon mapping in python (#5) 2025-01-19 14:26:03 +01:00
main.py Console for photon mapping in python (#5) 2025-01-19 14:26:03 +01:00
output_ray_traced.png New parsing (#4) 2025-01-18 17:31:27 +00:00
photon_mapping.py Console for photon mapping in python (#5) 2025-01-19 14:26:03 +01:00
ray tracing testy.pdf ray tracing renders 2025-01-24 19:53:33 +01:00
README.md feat: added c++ to photon mapping readme 2025-01-24 20:26:16 +01:00
rendering.py Statistics (#6) 2025-01-19 17:52:23 +01:00
requirements.txt New parsing (#4) 2025-01-18 17:31:27 +00:00
utils.py New parsing (#4) 2025-01-18 17:31:27 +00: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