This is my exercise on ray tracing, based on
- Ray Tracing in One Weekend (completed)
- Ray Tracing the Next Week (currently working upon)
- Ray Tracing the Rest of Your Life (upcoming)
- Real-Time Rendering (forth Edition) (upcoming)
Author's source URL
https://github.com/petershirley/raytracinginoneweekend
Along with changes, optimizations, and additions to the content For details, please refer to the notes and source code The graphics interface uses OpenGL 4.4
Recently working on > Ray Tracing the Next Week
Inside ./Raytracing-Sandbox/Src/
Compute-Shader/
00_Basic_Compute_Shader
01_Blur_Using_Compute_Shader
02_Evolving_Pics (Partially-finished due to unforseen circumstances (ristricted and small gpu stack))
In-One-Weekend/
00_Image
01_Adding_Sphere
02_Grouping_Objects(Scene)
03_Adding_Materials
In-Next-Week/
00_MotionBlur
01_BoundingVolumeHierarchy (LBVH to be exact(not GPU but CPU based), NOTE: reflections are not good due to motion blurring not beacause of bug, I always confuse In spelling of heirarchy, code needs very-good amount of cleanup)
// SWITCHING PRIORITIES, NOW GOAL IS TO FINISH THIS AS SOON AS POSSIBLE INSTEAD OF MAKINg IT LOOK GOOD (17.08.2021) {also the reason why i'm not switching to SSBO instead of texture for buffer}.
03_Texturing ([⩗]texture loading from disk, [⩗]noise texture, [⩗]mercator texture <-> cubic texture).
NOTE: (well its okay for naming to be like this as BVH took quite a big toll on me)Inconsistency in GeometryData.size() and num of geometries to render so i'm just gonna disable from Gui (a.k.a NumberOfGeometriesToRender)
04_Lighting (Logic Implimented, though few artifact here and there are showing up).
- Glad (OpenGL version 4.4 +) > https://glad.dav1d.de/
- glfw > https://github.com/glfw/glfw
- spdlog > https://github.com/gabime/spdlog
- glm > https://github.com/g-truc/glm
- imgui > https://github.com/ocornut/imgui/tree/docking
- stb_image > https://github.com/nothings/stb/blob/master/stb_image.h
- Visual Studio 2017+ (for C++ 17)
- Windows-10
- Git
- Premake (included)
git clone --recursive https://github.com/ishanshLal-tRED/Raytracing-tests
-
Build the project
Just run {repo_DIR}/#Scripts/Win-Premake-GenProjects.bat
-
Open
RayTracing-tests.sln