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: Saksham Nagpal #24

Open
wants to merge 30 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
9caddd0
basic + AA done
Saksham03 Oct 2, 2023
03a1351
DOF done
Saksham03 Oct 3, 2023
f38fde5
refraction done (I think?)
Saksham03 Oct 4, 2023
1733c72
bvh and gamma correction done
Saksham03 Oct 10, 2023
3a43173
albedo mapping done
Saksham03 Oct 10, 2023
ef4146a
image
Saksham03 Oct 10, 2023
858a4cb
Update README.md
Saksham03 Oct 10, 2023
bbee39c
fixed albedo mapping for multiple meshes
Saksham03 Oct 10, 2023
10fe458
Merge branch 'main' of https://github.com/Saksham03/CUDA-Path-Tracer
Saksham03 Oct 10, 2023
708d4ad
init README
Saksham03 Oct 12, 2023
8f50d0f
adding images
Saksham03 Oct 12, 2023
5cef4ab
Stream Compaction README Update
Saksham03 Oct 12, 2023
b51a0ac
updating ss
Saksham03 Oct 12, 2023
3907405
Material Sort
Saksham03 Oct 12, 2023
0fd2ad7
first bounce
Saksham03 Oct 12, 2023
eb1b101
Performance Analysis done
Saksham03 Oct 12, 2023
8633f4c
adding materials images
Saksham03 Oct 12, 2023
63e106d
Visual features 1-3
Saksham03 Oct 12, 2023
47138a5
more screenshots because why not
Saksham03 Oct 12, 2023
66f6637
Almost done
Saksham03 Oct 12, 2023
2e07a8d
more....images
Saksham03 Oct 12, 2023
abc95a4
img updates
Saksham03 Oct 12, 2023
dc327ad
Hopefully Final
Saksham03 Oct 12, 2023
afb7e17
Update README.md
Saksham03 Oct 12, 2023
0ac9f23
Update README.md
Saksham03 Oct 12, 2023
de6cc65
Update README.md
Saksham03 Oct 12, 2023
bc2e830
Update README.md
Saksham03 Oct 12, 2023
c9aa660
Update README.md
Saksham03 Oct 12, 2023
614b062
aa imgs new
Saksham03 Oct 13, 2023
35dd0d6
Readme new AA images
Saksham03 Oct 13, 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
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ set(headers
src/ImGui/imstb_rectpack.h
src/ImGui/imstb_textedit.h
src/ImGui/imstb_truetype.h

external/include/json.hpp
external/include/tiny_gltf.h
)

set(sources
Expand Down
249 changes: 244 additions & 5 deletions README.md

Large diffs are not rendered by default.

Binary file added assets/Avocado.bin
Binary file not shown.
155 changes: 155 additions & 0 deletions assets/Avocado.gltf
Original file line number Diff line number Diff line change
@@ -0,0 +1,155 @@
{
"accessors": [
{
"bufferView": 0,
"componentType": 5126,
"count": 406,
"type": "VEC2"
},
{
"bufferView": 1,
"componentType": 5126,
"count": 406,
"type": "VEC3"
},
{
"bufferView": 2,
"componentType": 5126,
"count": 406,
"type": "VEC4"
},
{
"bufferView": 3,
"componentType": 5126,
"count": 406,
"type": "VEC3",
"max": [
0.02128091,
0.06284806,
0.0138090011
],
"min": [
-0.02128091,
-4.773855E-05,
-0.013809
]
},
{
"bufferView": 4,
"componentType": 5123,
"count": 2046,
"type": "SCALAR"
}
],
"asset": {
"generator": "glTF Tools for Unity",
"version": "2.0"
},
"bufferViews": [
{
"buffer": 0,
"byteLength": 3248
},
{
"buffer": 0,
"byteOffset": 3248,
"byteLength": 4872
},
{
"buffer": 0,
"byteOffset": 8120,
"byteLength": 6496
},
{
"buffer": 0,
"byteOffset": 14616,
"byteLength": 4872
},
{
"buffer": 0,
"byteOffset": 19488,
"byteLength": 4092
}
],
"buffers": [
{
"uri": "Avocado.bin",
"byteLength": 23580
}
],
"images": [
{
"uri": "Avocado_baseColor.png"
},
{
"uri": "Avocado_roughnessMetallic.png"
},
{
"uri": "Avocado_normal.png"
}
],
"meshes": [
{
"primitives": [
{
"attributes": {
"TEXCOORD_0": 0,
"NORMAL": 1,
"TANGENT": 2,
"POSITION": 3
},
"indices": 4,
"material": 0
}
],
"name": "Avocado"
}
],
"materials": [
{
"pbrMetallicRoughness": {
"baseColorTexture": {
"index": 0
},
"metallicRoughnessTexture": {
"index": 1
}
},
"normalTexture": {
"index": 2
},
"name": "2256_Avocado_d"
}
],
"nodes": [
{
"mesh": 0,
"rotation": [
0.0,
1.0,
0.0,
0.0
],
"name": "Avocado"
}
],
"scene": 0,
"scenes": [
{
"nodes": [
0
]
}
],
"textures": [
{
"source": 0
},
{
"source": 1
},
{
"source": 2
}
]
}
Binary file added assets/Avocado_baseColor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/Avocado_normal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
142 changes: 142 additions & 0 deletions assets/Box.gltf
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
{
"asset": {
"generator": "COLLADA2GLTF",
"version": "2.0"
},
"scene": 0,
"scenes": [
{
"nodes": [
0
]
}
],
"nodes": [
{
"children": [
1
],
"matrix": [
1.0,
0.0,
0.0,
0.0,
0.0,
0.0,
-1.0,
0.0,
0.0,
1.0,
0.0,
0.0,
0.0,
0.0,
0.0,
1.0
]
},
{
"mesh": 0
}
],
"meshes": [
{
"primitives": [
{
"attributes": {
"NORMAL": 1,
"POSITION": 2
},
"indices": 0,
"mode": 4,
"material": 0
}
],
"name": "Mesh"
}
],
"accessors": [
{
"bufferView": 0,
"byteOffset": 0,
"componentType": 5123,
"count": 36,
"max": [
23
],
"min": [
0
],
"type": "SCALAR"
},
{
"bufferView": 1,
"byteOffset": 0,
"componentType": 5126,
"count": 24,
"max": [
1.0,
1.0,
1.0
],
"min": [
-1.0,
-1.0,
-1.0
],
"type": "VEC3"
},
{
"bufferView": 1,
"byteOffset": 288,
"componentType": 5126,
"count": 24,
"max": [
0.5,
0.5,
0.5
],
"min": [
-0.5,
-0.5,
-0.5
],
"type": "VEC3"
}
],
"materials": [
{
"pbrMetallicRoughness": {
"baseColorFactor": [
0.800000011920929,
0.0,
0.0,
1.0
],
"metallicFactor": 0.0
},
"name": "Red"
}
],
"bufferViews": [
{
"buffer": 0,
"byteOffset": 576,
"byteLength": 72,
"target": 34963
},
{
"buffer": 0,
"byteOffset": 0,
"byteLength": 576,
"byteStride": 12,
"target": 34962
}
],
"buffers": [
{
"byteLength": 648,
"uri": "Box0.bin"
}
]
}
Binary file added assets/Box0.bin
Binary file not shown.
Binary file added assets/Bunny.bin
Binary file not shown.
Loading