Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project 3: Chang Liu #9

Open
wants to merge 56 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
50f3c49
update CMakeList; add files for extra impl
HummaWhite Sep 21, 2022
88254c0
update CMakeList & some modification
HummaWhite Sep 21, 2022
f9a0a04
sync with source
HummaWhite Sep 21, 2022
bb2d10b
fix false sync
HummaWhite Sep 22, 2022
eac1a4d
ACES tonemapping & gamma correction
HummaWhite Sep 22, 2022
f601442
alter material representation and modify scene loader
HummaWhite Sep 22, 2022
6234d2f
fix mistakenly replaced variable names
HummaWhite Sep 22, 2022
3dc7d2a
physically based thin lens camera
HummaWhite Sep 22, 2022
9abe75a
simple PT sampling kernel
HummaWhite Sep 23, 2022
9556bac
Merge branch 'CIS565-Fall-2022:main' into main
HummaWhite Sep 23, 2022
4638103
complete PT main loop
HummaWhite Sep 23, 2022
3cd98b5
complete basic materials
HummaWhite Sep 24, 2022
d6bddd6
update CMakeLists
HummaWhite Sep 24, 2022
ac543b2
model loader
HummaWhite Sep 25, 2022
6855bf1
BVH builder
HummaWhite Sep 26, 2022
3f12efe
update CMakeLists
HummaWhite Sep 26, 2022
be9d294
BVH integration
HummaWhite Sep 26, 2022
02579c3
fix DevScene illegal memory access problem
HummaWhite Sep 26, 2022
b2c6ee9
update CMakeLists
HummaWhite Sep 27, 2022
a0b961f
BVH working
HummaWhite Sep 27, 2022
f064b67
fix bounding box intersection float error issue
HummaWhite Sep 27, 2022
cac5b3e
light importance sampling 30%
HummaWhite Sep 28, 2022
31da541
light importance sampling 70%
HummaWhite Sep 28, 2022
aaa4123
light importance sampling 100% + MIS
HummaWhite Sep 29, 2022
33d8a01
handle NAN and INF radiance values
HummaWhite Sep 29, 2022
859de4c
update CMakeList
HummaWhite Sep 29, 2022
4e44aa6
material sorting
HummaWhite Sep 30, 2022
b332204
add single kernel PT for comparison
HummaWhite Sep 30, 2022
7d10d90
BVH visualizer
HummaWhite Sep 30, 2022
c685de0
add TinyGLTF for GLTF loading
HummaWhite Sep 30, 2022
33fee23
add json.hpp of TinyGLTF
HummaWhite Sep 30, 2022
d4ef887
fix stb_image compatibility with tiny_gltf
HummaWhite Sep 30, 2022
a43e6fd
texture support
HummaWhite Sep 30, 2022
fdbcf3d
bug fix + GBuffer preivew
HummaWhite Sep 30, 2022
b6295a0
normal mapping + demo scene
HummaWhite Sep 30, 2022
f80d8c9
fix .gitignore + add demo models
HummaWhite Oct 1, 2022
baae16c
environment map with importance sampling + fix texture filtering issu…
HummaWhite Oct 2, 2022
8d8b63e
metallic & roughness map support
HummaWhite Oct 2, 2022
a872aa1
add pbr texture demo + fix camera
HummaWhite Oct 2, 2022
93f6ac9
update readme
HummaWhite Oct 2, 2022
4789c13
Sobol sampler (xor scrambled)
HummaWhite Oct 3, 2022
1cc34f7
shrink picture size and modify demo scene
HummaWhite Oct 4, 2022
2ef88fd
custom aperture mask for DOF
HummaWhite Oct 4, 2022
5e28caf
GBuffer (first ray cache) + basic procedural texture (required for te…
HummaWhite Oct 5, 2022
122720e
fix unchecked nan
HummaWhite Oct 5, 2022
a57b32a
update readme
HummaWhite Oct 6, 2022
f567d0c
fix build issue
HummaWhite Oct 7, 2022
606f4c3
update readme
HummaWhite Oct 7, 2022
a761539
update readme
HummaWhite Oct 8, 2022
c3628f5
finalize
HummaWhite Oct 8, 2022
722841a
fix mesh light sampling bug
HummaWhite Nov 13, 2022
9f2f933
update scene file
HummaWhite Nov 14, 2022
a9c7269
fix MIS pdf bug
HummaWhite Feb 3, 2023
76b268b
update readme
HummaWhite Feb 27, 2023
cc7525e
remove comments from bvh.cpp
HummaWhite Sep 27, 2023
b3c8f27
temporarily remove some comments
HummaWhite Sep 29, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
./src/ImGui
imgui.ini

*.orig
*.filters
*.sln
Expand Down Expand Up @@ -189,7 +192,6 @@ install_manifest.txt
*.slo
*.lo
*.o
*.obj

# Precompiled Headers
*.gch
Expand Down Expand Up @@ -276,7 +278,6 @@ artifacts/
*_i.h
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
Expand Down Expand Up @@ -558,3 +559,4 @@ xcuserdata
*.xccheckout
*.moved-aside
*.xcuserstate
src/ImGui/imgui.cpp
Expand Down
40 changes: 25 additions & 15 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -73,17 +73,22 @@ set(headers
src/sceneStructs.h
src/preview.h
src/utilities.h
src/material.h
src/bvh.h
src/sampler.h
src/mathUtil.h
src/cudaUtil.h
src/ImGui/imconfig.h

src/ImGui/imgui.h
src/ImGui/imgui.h
src/ImGui/imconfig.h
src/ImGui/imgui_impl_glfw.h
src/ImGui/imgui_impl_opengl3.h
src/ImGui/imgui_impl_opengl3_loader.h
src/ImGui/imgui_internal.h
src/ImGui/imstb_rectpack.h
src/ImGui/imstb_textedit.h
src/ImGui/imstb_truetype.h
src/ImGui/imgui_impl_opengl3.h
src/ImGui/imgui_impl_opengl3_loader.h
src/ImGui/imgui_internal.h
src/ImGui/imstb_rectpack.h
src/ImGui/imstb_textedit.h
src/ImGui/imstb_truetype.h
src/common.h
)

set(sources
Expand All @@ -95,14 +100,19 @@ set(sources
src/scene.cpp
src/preview.cpp
src/utilities.cpp

src/bvh.cpp
src/sampler.cpp
src/mathUtil.cpp
src/ImGui/imgui.cpp
src/ImGui/imgui_demo.cpp
src/ImGui/imgui_draw.cpp
src/ImGui/imgui_impl_glfw.cpp
src/ImGui/imgui_impl_opengl3.cpp
src/ImGui/imgui_tables.cpp
src/ImGui/imgui_widgets.cpp
src/ImGui/imgui_demo.cpp
src/ImGui/imgui_draw.cpp
src/ImGui/imgui_impl_glfw.cpp
src/ImGui/imgui_impl_opengl3.cpp
src/ImGui/imgui_tables.cpp
src/ImGui/imgui_widgets.cpp
src/tiny_obj_loader.cpp
src/common.cpp
src/tiny_gltf.cpp
)

list(SORT headers)
Expand Down
377 changes: 372 additions & 5 deletions README.md

Large diffs are not rendered by default.

Loading