diff --git a/README.md b/README.md index dd258af..beef9aa 100644 --- a/README.md +++ b/README.md @@ -3,12 +3,13 @@ Project 0 Getting Started **University of Pennsylvania, CIS 565: GPU Programming and Architecture, Project 0** -* (TODO) YOUR NAME HERE - * (TODO) [LinkedIn](), [personal website](), [twitter](), etc. -* Tested on: (TODO) Windows 22, i7-2222 @ 2.22GHz 22GB, GTX 222 222MB (Moore 2222 Lab) - -### (TODO: Your README) - -Include screenshots, analysis, etc. (Remember, this is public, so don't put -anything here that you don't want to share with the world.) - +* Saksham Nagpal + * [LinkedIn](https://www.linkedin.com/in/nagpalsaksham/), [Portfolio](https://sakshamnagpal.com/) +* Tested on: Windows 11 Home, AMD Ryzen 7 6800H Radeon @ 3.2GHz 16GB, NVIDIA GeForce RTX 3050 Ti Laptop GPU 4096MB + +### Screenshots +* Testing CUDA Installation ![](images/3.1.1%20CUDA%20Test.jpg) +* Nsight Debugging ![](images/3.1.2%20Nsight%20Debugging.jpg) +* Nsight Profiling ![](images/3.1.2%20Nsight%20Profiling.jpg) +* WebGL Test ![](images/3.2%20WebGL%20Works.jpg) +* DXR Support Check ![](images/3.3%20DXR%20Support.jpg) diff --git a/cuda-getting-started/src/main.cpp b/cuda-getting-started/src/main.cpp index 886fd4c..cef7dee 100644 --- a/cuda-getting-started/src/main.cpp +++ b/cuda-getting-started/src/main.cpp @@ -11,7 +11,7 @@ */ int main(int argc, char* argv[]) { // TODO: Change this line to use your name! - m_yourName = "TODO: YOUR NAME HERE"; + m_yourName = "Saksham Nagpal"; if (init(argc, argv)) { mainLoop(); diff --git a/dxr-support/src/D3D12RaytracingHelloWorld/Raytracing.hlsl b/dxr-support/src/D3D12RaytracingHelloWorld/Raytracing.hlsl index d817ca4..797dcd5 100644 --- a/dxr-support/src/D3D12RaytracingHelloWorld/Raytracing.hlsl +++ b/dxr-support/src/D3D12RaytracingHelloWorld/Raytracing.hlsl @@ -69,7 +69,7 @@ void MyRaygenShader() [shader("closesthit")] void MyClosestHitShader(inout RayPayload payload, in MyAttributes attr) { - float3 barycentrics = float3(1 - attr.barycentrics.x - attr.barycentrics.y, attr.barycentrics.x, attr.barycentrics.y); + float3 barycentrics = float3(0.4, 0, 0.8);//float3(1 - attr.barycentrics.x - attr.barycentrics.y, attr.barycentrics.x, attr.barycentrics.y); payload.color = float4(barycentrics, 1); } diff --git a/images/3.1.1 CUDA Test.jpg b/images/3.1.1 CUDA Test.jpg new file mode 100644 index 0000000..7b89a06 Binary files /dev/null and b/images/3.1.1 CUDA Test.jpg differ diff --git a/images/3.1.2 Nsight Debugging.jpg b/images/3.1.2 Nsight Debugging.jpg new file mode 100644 index 0000000..46f3cb1 Binary files /dev/null and b/images/3.1.2 Nsight Debugging.jpg differ diff --git a/images/3.1.2 Nsight Profiling.jpg b/images/3.1.2 Nsight Profiling.jpg new file mode 100644 index 0000000..a1e7138 Binary files /dev/null and b/images/3.1.2 Nsight Profiling.jpg differ diff --git a/images/3.2 WebGL Works.jpg b/images/3.2 WebGL Works.jpg new file mode 100644 index 0000000..3045055 Binary files /dev/null and b/images/3.2 WebGL Works.jpg differ diff --git a/images/3.3 DXR Support.jpg b/images/3.3 DXR Support.jpg new file mode 100644 index 0000000..6d6880e Binary files /dev/null and b/images/3.3 DXR Support.jpg differ