├── .editorconfig ├── .gitignore ├── .gitmodules ├── .vscode └── settings.json ├── CMakeLists.txt ├── README.md ├── include ├── bsdf │ ├── bsdf.hpp │ ├── ggx.hpp │ ├── glass.hpp │ ├── lambert.hpp │ ├── light.hpp │ ├── material.hpp │ └── specular.hpp ├── camera │ ├── camera.hpp │ ├── pinholecamera.h │ └── thinlens.h ├── core │ ├── constant.hpp │ ├── intersectinfo.h │ └── ray.h ├── image │ ├── color.hpp │ ├── distribution.hpp │ ├── image.h │ └── texture.h ├── integrator │ ├── debugpathtracer.hpp │ ├── integrator.hpp │ ├── mis.hpp │ ├── nee.hpp │ ├── normalchecker.hpp │ ├── pathtracer.hpp │ ├── pathtracer_lighttex.hpp │ ├── rtao.hpp │ ├── testtrace.hpp │ ├── texturechecker.hpp │ ├── uvchecker.hpp │ ├── volume_homo_nee.hpp │ └── volume_homo_renderer.hpp ├── math │ ├── hash.h │ ├── vec2.h │ └── vec3.h ├── renderer │ └── renderer.hpp ├── sampling │ ├── rng.hpp │ └── sampler.hpp ├── scene │ ├── modelLoader.h │ ├── polygon.h │ ├── scene.h │ └── sky.hpp └── volume │ └── volume.hpp ├── model ├── box.mtl ├── box.obj ├── cornelBox.obj └── monkey.obj ├── picture ├── GGXtest_1000sample.png ├── Glasstest_1000sample.png ├── Reference.png ├── scene1.png ├── scene2.png ├── scene3.png └── scene4.png └── src ├── RendererTest.cpp ├── celestial_globe.cpp ├── kaleidoscope.cpp ├── lightTexture_test.cpp ├── main.cpp ├── scene1.cpp ├── scene2.cpp ├── scene3.cpp ├── scene4.cpp ├── skySamplerTest.cpp └── volume_nee_test.cpp /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | external/embree-3.13.3.x86_64.linux 2 | texture/ 3 | build/ 4 | model/ -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/.gitmodules -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/README.md -------------------------------------------------------------------------------- /include/bsdf/bsdf.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/include/bsdf/bsdf.hpp -------------------------------------------------------------------------------- /include/bsdf/ggx.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/include/bsdf/ggx.hpp -------------------------------------------------------------------------------- /include/bsdf/glass.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/include/bsdf/glass.hpp -------------------------------------------------------------------------------- /include/bsdf/lambert.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/include/bsdf/lambert.hpp -------------------------------------------------------------------------------- /include/bsdf/light.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/include/bsdf/light.hpp -------------------------------------------------------------------------------- /include/bsdf/material.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/include/bsdf/material.hpp -------------------------------------------------------------------------------- /include/bsdf/specular.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/include/bsdf/specular.hpp -------------------------------------------------------------------------------- /include/camera/camera.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/include/camera/camera.hpp -------------------------------------------------------------------------------- /include/camera/pinholecamera.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/include/camera/pinholecamera.h -------------------------------------------------------------------------------- /include/camera/thinlens.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/include/camera/thinlens.h -------------------------------------------------------------------------------- /include/core/constant.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/include/core/constant.hpp -------------------------------------------------------------------------------- /include/core/intersectinfo.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/include/core/intersectinfo.h -------------------------------------------------------------------------------- /include/core/ray.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/include/core/ray.h -------------------------------------------------------------------------------- /include/image/color.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/include/image/color.hpp -------------------------------------------------------------------------------- /include/image/distribution.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/include/image/distribution.hpp -------------------------------------------------------------------------------- /include/image/image.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/include/image/image.h -------------------------------------------------------------------------------- /include/image/texture.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/include/image/texture.h -------------------------------------------------------------------------------- /include/integrator/debugpathtracer.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/include/integrator/debugpathtracer.hpp -------------------------------------------------------------------------------- /include/integrator/integrator.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/include/integrator/integrator.hpp -------------------------------------------------------------------------------- /include/integrator/mis.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/include/integrator/mis.hpp -------------------------------------------------------------------------------- /include/integrator/nee.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/include/integrator/nee.hpp -------------------------------------------------------------------------------- /include/integrator/normalchecker.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/include/integrator/normalchecker.hpp -------------------------------------------------------------------------------- /include/integrator/pathtracer.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/include/integrator/pathtracer.hpp -------------------------------------------------------------------------------- /include/integrator/pathtracer_lighttex.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/include/integrator/pathtracer_lighttex.hpp -------------------------------------------------------------------------------- /include/integrator/rtao.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/include/integrator/rtao.hpp -------------------------------------------------------------------------------- /include/integrator/testtrace.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/include/integrator/testtrace.hpp -------------------------------------------------------------------------------- /include/integrator/texturechecker.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/include/integrator/texturechecker.hpp -------------------------------------------------------------------------------- /include/integrator/uvchecker.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/include/integrator/uvchecker.hpp -------------------------------------------------------------------------------- /include/integrator/volume_homo_nee.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/include/integrator/volume_homo_nee.hpp -------------------------------------------------------------------------------- /include/integrator/volume_homo_renderer.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/include/integrator/volume_homo_renderer.hpp -------------------------------------------------------------------------------- /include/math/hash.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/include/math/hash.h -------------------------------------------------------------------------------- /include/math/vec2.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/include/math/vec2.h -------------------------------------------------------------------------------- /include/math/vec3.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/include/math/vec3.h -------------------------------------------------------------------------------- /include/renderer/renderer.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/include/renderer/renderer.hpp -------------------------------------------------------------------------------- /include/sampling/rng.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/include/sampling/rng.hpp -------------------------------------------------------------------------------- /include/sampling/sampler.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/include/sampling/sampler.hpp -------------------------------------------------------------------------------- /include/scene/modelLoader.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/include/scene/modelLoader.h -------------------------------------------------------------------------------- /include/scene/polygon.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/include/scene/polygon.h -------------------------------------------------------------------------------- /include/scene/scene.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/include/scene/scene.h -------------------------------------------------------------------------------- /include/scene/sky.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/include/scene/sky.hpp -------------------------------------------------------------------------------- /include/volume/volume.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/include/volume/volume.hpp -------------------------------------------------------------------------------- /model/box.mtl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/model/box.mtl -------------------------------------------------------------------------------- /model/box.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/model/box.obj -------------------------------------------------------------------------------- /model/cornelBox.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/model/cornelBox.obj -------------------------------------------------------------------------------- /model/monkey.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/model/monkey.obj -------------------------------------------------------------------------------- /picture/GGXtest_1000sample.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/picture/GGXtest_1000sample.png -------------------------------------------------------------------------------- /picture/Glasstest_1000sample.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/picture/Glasstest_1000sample.png -------------------------------------------------------------------------------- /picture/Reference.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/picture/Reference.png -------------------------------------------------------------------------------- /picture/scene1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/picture/scene1.png -------------------------------------------------------------------------------- /picture/scene2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/picture/scene2.png -------------------------------------------------------------------------------- /picture/scene3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/picture/scene3.png -------------------------------------------------------------------------------- /picture/scene4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/picture/scene4.png -------------------------------------------------------------------------------- /src/RendererTest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/src/RendererTest.cpp -------------------------------------------------------------------------------- /src/celestial_globe.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/src/celestial_globe.cpp -------------------------------------------------------------------------------- /src/kaleidoscope.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/src/kaleidoscope.cpp -------------------------------------------------------------------------------- /src/lightTexture_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/src/lightTexture_test.cpp -------------------------------------------------------------------------------- /src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/src/main.cpp -------------------------------------------------------------------------------- /src/scene1.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/src/scene1.cpp -------------------------------------------------------------------------------- /src/scene2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/src/scene2.cpp -------------------------------------------------------------------------------- /src/scene3.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/src/scene3.cpp -------------------------------------------------------------------------------- /src/scene4.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/src/scene4.cpp -------------------------------------------------------------------------------- /src/skySamplerTest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/src/skySamplerTest.cpp -------------------------------------------------------------------------------- /src/volume_nee_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kinakomoti-321/Raytracing_With_Embree/HEAD/src/volume_nee_test.cpp --------------------------------------------------------------------------------