Path-tracer-using-OpenGL

所属分类:OpenGL
开发工具:C++
文件大小:0KB
下载次数:0
上传日期:2023-10-27 21:00:49
上 传 者sh-1993
说明:  使用具有良好UI的OpenGL着色器制作的路径跟踪器,
(A path tracer made using OpenGL shaders with decent UI,)

文件列表:
Executable/ (0, 2023-12-15)
Executable/OpenGL.exe (1030144, 2023-12-15)
Executable/images/ (0, 2023-12-15)
Executable/images/screenshots/ (0, 2023-12-15)
Executable/images/screenshots/9hVcJMGF.png (5169326, 2023-12-15)
Executable/images/screenshots/BA0GHUpS.png (4274605, 2023-12-15)
Executable/images/screenshots/CAJZ0V4q.png (4811095, 2023-12-15)
Executable/images/screenshots/ctYlvdlk.png (4650628, 2023-12-15)
Executable/images/screenshots/rsu6tCdx.png (4775365, 2023-12-15)
Executable/images/skybox/ (0, 2023-12-15)
Executable/images/skybox/belfast_sunset_puresky_2k.hdr (4563204, 2023-12-15)
Executable/images/skybox/rainforest_trail_2k.hdr (7671316, 2023-12-15)
Executable/images/skybox/small_cave_2k.hdr (7250896, 2023-12-15)
Executable/images/skybox/the_sky_is_on_fire_2k.hdr (5996454, 2023-12-15)
Executable/scenes/ (0, 2023-12-15)
Executable/scenes/many spheres/ (0, 2023-12-15)
Executable/scenes/many spheres/data.txt (1655, 2023-12-15)
Executable/scenes/many spheres/objects.txt (81, 2023-12-15)
Executable/shaders/ (0, 2023-12-15)
Executable/shaders/bloom.frag (1257, 2023-12-15)
Executable/shaders/default.frag (12159, 2023-12-15)
Executable/shaders/default.vert (131, 2023-12-15)
Executable/shaders/display.frag (150, 2023-12-15)
Executable/shaders/postProcess.frag (566, 2023-12-15)
LICENSE (1067, 2023-12-15)
Lybraries/ (0, 2023-12-15)
Lybraries/include/ (0, 2023-12-15)
Lybraries/include/GLFW/ (0, 2023-12-15)
Lybraries/include/GLFW/glfw3.h (215860, 2023-12-15)
Lybraries/include/GLFW/glfw3native.h (20034, 2023-12-15)
Lybraries/include/KHR/ (0, 2023-12-15)
Lybraries/include/KHR/khrplatform.h (11131, 2023-12-15)
Lybraries/include/glad/ (0, 2023-12-15)
Lybraries/include/glad/glad.h (108745, 2023-12-15)
Lybraries/include/imgui/ (0, 2023-12-15)
Lybraries/include/imgui/desktop.ini (82, 2023-12-15)
Lybraries/include/imgui/imconfig.h (10399, 2023-12-15)
Lybraries/include/imgui/imgui.cpp (757383, 2023-12-15)
Lybraries/include/imgui/imgui.h (317050, 2023-12-15)
Lybraries/include/imgui/imgui_demo.cpp (418742, 2023-12-15)
... ...

# Path-tracer-using-OpenGL A path tracer made using OpenGL with decent UI. This path tracing works with non-polygon graphics, which means that all distance calculations are based on the position and direction of the ray. ![BA0GHUpS](https://github.com/Eduard0110/Path-tracer-using-OpenGL/assets/120855690/a2ac6c3e-0641-4897-b8e5-d5121087f831) ![CAJZ0V4q](https://github.com/Eduard0110/Path-tracer-using-OpenGL/assets/120855690/fbcd8508-6409-437a-94cd-ba0d8986d5da) ![rsu6tCdx](https://github.com/Eduard0110/Path-tracer-using-OpenGL/assets/120855690/f21eb4d4-a7df-4af5-8363-63ea44306c0d) For those who wants to run this project I have built the project and added it to this repository in the "Executable/" folder. Features * 3 different types of object - Cube, Sphere and Plane * 3 types of materials - Rougth - Metalic, Lens, Light source (emissive material) * Depth Of Field effect * Accumulation of previous frames to denoise the image * You can load any images you want for the skybox (.png or .hdr) Controls * W, A, S, D, left Shift and Space - Move the camera * Mouse - Rotate the camera * E - Disable or Enable the camera movement * R - Disable or Enable the Render mode * F - Hide or Display the User Interface * T - Make a screenshot of the scene Useful links that helped me with this project * Ray-Surface intersection functions https://iquilezles.org/articles/intersectors/ * Cool article about path tracing https://blog.demofox.org/2016/09/21/path-tracing-getting-started-with-diffuse-and-emissive/ * And one more https://blog.demofox.org/2017/01/09/raytracing-reflection-refraction-fresnel-total-internal-reflection-and-beers-law/

近期下载者

相关文件


收藏者