├── .gitignore ├── .gitmodules ├── CMakeLists.txt ├── LICENSE ├── README.md ├── examples ├── CMakeLists.txt └── main.cpp ├── externals └── CMakeLists.txt ├── img ├── cornellbox-water_pm.png ├── final_gathering_100.png ├── pm_mirror_with_final_gathering_recursive_id.png └── without_final_gathering_100.png ├── include ├── camera.h ├── core.h ├── image.h ├── integrator.h ├── light.h ├── material.h ├── photon_map.h ├── primitive.h ├── sampler.h ├── scene.h └── triangle.h ├── models ├── cornellbox-water2.mtl └── cornellbox-water2.obj └── tests ├── CMakeLists.txt ├── test_camera.cpp ├── test_image.cpp ├── test_intersector.cpp ├── test_path_tracing.cpp └── visualize_photon_map.cpp /.gitignore: -------------------------------------------------------------------------------- 1 | .vscode/ 2 | .cache/ 3 | build/ 4 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yumcyaWiz/photon_mapping/HEAD/.gitmodules -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yumcyaWiz/photon_mapping/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yumcyaWiz/photon_mapping/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yumcyaWiz/photon_mapping/HEAD/README.md -------------------------------------------------------------------------------- /examples/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yumcyaWiz/photon_mapping/HEAD/examples/CMakeLists.txt -------------------------------------------------------------------------------- /examples/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yumcyaWiz/photon_mapping/HEAD/examples/main.cpp -------------------------------------------------------------------------------- /externals/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yumcyaWiz/photon_mapping/HEAD/externals/CMakeLists.txt -------------------------------------------------------------------------------- /img/cornellbox-water_pm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yumcyaWiz/photon_mapping/HEAD/img/cornellbox-water_pm.png -------------------------------------------------------------------------------- /img/final_gathering_100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yumcyaWiz/photon_mapping/HEAD/img/final_gathering_100.png -------------------------------------------------------------------------------- /img/pm_mirror_with_final_gathering_recursive_id.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yumcyaWiz/photon_mapping/HEAD/img/pm_mirror_with_final_gathering_recursive_id.png -------------------------------------------------------------------------------- /img/without_final_gathering_100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yumcyaWiz/photon_mapping/HEAD/img/without_final_gathering_100.png -------------------------------------------------------------------------------- /include/camera.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yumcyaWiz/photon_mapping/HEAD/include/camera.h -------------------------------------------------------------------------------- /include/core.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yumcyaWiz/photon_mapping/HEAD/include/core.h -------------------------------------------------------------------------------- /include/image.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yumcyaWiz/photon_mapping/HEAD/include/image.h -------------------------------------------------------------------------------- /include/integrator.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yumcyaWiz/photon_mapping/HEAD/include/integrator.h -------------------------------------------------------------------------------- /include/light.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yumcyaWiz/photon_mapping/HEAD/include/light.h -------------------------------------------------------------------------------- /include/material.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yumcyaWiz/photon_mapping/HEAD/include/material.h -------------------------------------------------------------------------------- /include/photon_map.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yumcyaWiz/photon_mapping/HEAD/include/photon_map.h -------------------------------------------------------------------------------- /include/primitive.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yumcyaWiz/photon_mapping/HEAD/include/primitive.h -------------------------------------------------------------------------------- /include/sampler.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yumcyaWiz/photon_mapping/HEAD/include/sampler.h -------------------------------------------------------------------------------- /include/scene.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yumcyaWiz/photon_mapping/HEAD/include/scene.h -------------------------------------------------------------------------------- /include/triangle.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yumcyaWiz/photon_mapping/HEAD/include/triangle.h -------------------------------------------------------------------------------- /models/cornellbox-water2.mtl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yumcyaWiz/photon_mapping/HEAD/models/cornellbox-water2.mtl -------------------------------------------------------------------------------- /models/cornellbox-water2.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yumcyaWiz/photon_mapping/HEAD/models/cornellbox-water2.obj -------------------------------------------------------------------------------- /tests/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yumcyaWiz/photon_mapping/HEAD/tests/CMakeLists.txt -------------------------------------------------------------------------------- /tests/test_camera.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yumcyaWiz/photon_mapping/HEAD/tests/test_camera.cpp -------------------------------------------------------------------------------- /tests/test_image.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yumcyaWiz/photon_mapping/HEAD/tests/test_image.cpp -------------------------------------------------------------------------------- /tests/test_intersector.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yumcyaWiz/photon_mapping/HEAD/tests/test_intersector.cpp -------------------------------------------------------------------------------- /tests/test_path_tracing.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yumcyaWiz/photon_mapping/HEAD/tests/test_path_tracing.cpp -------------------------------------------------------------------------------- /tests/visualize_photon_map.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yumcyaWiz/photon_mapping/HEAD/tests/visualize_photon_map.cpp --------------------------------------------------------------------------------