diff --git a/README.md b/README.md index dd258af..e560ed9 100644 --- a/README.md +++ b/README.md @@ -3,12 +3,24 @@ 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) +* Shubham Sharma + * [LinkedIn](www.linkedin.com/in/codeshubham), [personal website](https://shubhvr.com/). +* Tested on: Windows 10, i7-9750H @ 2.26GHz, 16GB, GTX 1660ti 6GB (Personal Computer). +*GPU Compute Capability: 7.5 -### (TODO: Your README) +# Project Analysis # -Include screenshots, analysis, etc. (Remember, this is public, so don't put -anything here that you don't want to share with the world.) +## Part 3.1.1: Testing CUDA +![Part 3.1.1: Testing CUDA](images/3.1.1.PNG) +## Part 3.1.2: Analyze Performace +![Part 3.1.2: Analyze Performace](images/3.1.2.PNG) + +## Part 3.1.3: Nsight Debugging +![Part 3.1.3: Nsight Debugging](images/3.1.3.PNG) + +## Part 3.2: WebGL Support +![Part 3.2: WebGL Support](images/3.2.PNG) + +## Part 3.3: DXR Support +![Part 3.3: DXR Support](images/3.3.PNG) \ No newline at end of file diff --git a/cuda-getting-started/src/main.cpp b/cuda-getting-started/src/main.cpp index 886fd4c..9c2577b 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 = "Shubham Sharma"; if (init(argc, argv)) { mainLoop(); diff --git a/dxr-support/Libraries/D3D12RaytracingFallback/src/FallbackLayer.vcxproj b/dxr-support/Libraries/D3D12RaytracingFallback/src/FallbackLayer.vcxproj index 86785de..5d3462c 100644 --- a/dxr-support/Libraries/D3D12RaytracingFallback/src/FallbackLayer.vcxproj +++ b/dxr-support/Libraries/D3D12RaytracingFallback/src/FallbackLayer.vcxproj @@ -28,7 +28,7 @@ StaticLibrary Unicode - v141 + v142 diff --git a/dxr-support/Libraries/D3D12RaytracingFallback/src/FallbackLayer.vcxproj.filters b/dxr-support/Libraries/D3D12RaytracingFallback/src/FallbackLayer.vcxproj.filters index 6285ad0..2455f83 100644 --- a/dxr-support/Libraries/D3D12RaytracingFallback/src/FallbackLayer.vcxproj.filters +++ b/dxr-support/Libraries/D3D12RaytracingFallback/src/FallbackLayer.vcxproj.filters @@ -192,6 +192,9 @@ + + + diff --git a/dxr-support/src/D3D12RaytracingHelloWorld/D3D12RaytracingHelloWorld.vcxproj b/dxr-support/src/D3D12RaytracingHelloWorld/D3D12RaytracingHelloWorld.vcxproj index d4d234f..113e8e5 100644 --- a/dxr-support/src/D3D12RaytracingHelloWorld/D3D12RaytracingHelloWorld.vcxproj +++ b/dxr-support/src/D3D12RaytracingHelloWorld/D3D12RaytracingHelloWorld.vcxproj @@ -21,13 +21,13 @@ Application true - v141 + v142 Unicode Application false - v141 + v142 true Unicode diff --git a/dxr-support/src/D3D12RaytracingHelloWorld/Raytracing.hlsl b/dxr-support/src/D3D12RaytracingHelloWorld/Raytracing.hlsl index d817ca4..c0fcb9f 100644 --- a/dxr-support/src/D3D12RaytracingHelloWorld/Raytracing.hlsl +++ b/dxr-support/src/D3D12RaytracingHelloWorld/Raytracing.hlsl @@ -69,7 +69,8 @@ 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(1 - attr.barycentrics.x - attr.barycentrics.y, attr.barycentrics.x, attr.barycentrics.y); + float3 barycentrics = float3(0.7, 0.4, 0.9); payload.color = float4(barycentrics, 1); } diff --git a/images/3.1.1.PNG b/images/3.1.1.PNG new file mode 100644 index 0000000..ba7659d Binary files /dev/null and b/images/3.1.1.PNG differ diff --git a/images/3.1.2.PNG b/images/3.1.2.PNG new file mode 100644 index 0000000..545eed3 Binary files /dev/null and b/images/3.1.2.PNG differ diff --git a/images/3.1.3.PNG b/images/3.1.3.PNG new file mode 100644 index 0000000..f03a160 Binary files /dev/null and b/images/3.1.3.PNG differ diff --git a/images/3.2.PNG b/images/3.2.PNG new file mode 100644 index 0000000..cb1fd78 Binary files /dev/null and b/images/3.2.PNG differ diff --git a/images/3.3.PNG b/images/3.3.PNG new file mode 100644 index 0000000..34c6622 Binary files /dev/null and b/images/3.3.PNG differ