diff --git a/README.md b/README.md index dd258af..dadc606 100644 --- a/README.md +++ b/README.md @@ -3,12 +3,29 @@ 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) +* Linda Zhu + * [LinkedIn](https://www.linkedin.com/in/lindadaism/), [Portfolio](https://lindadaism.com/) +* Tested on: -### (TODO: Your README) + OS: Windows 11 Home + Processor: 12th Gen Intel(R) Core(TM) i7-12800H 2.40 GHz + Graphics: NVIDIA GeForce RTX 3070 Ti + Storage: 1 TB SSD + Installed RAM: 16.0 GB (15.7 GB usable) + System type: 64-bit operating system, x64-based processor -Include screenshots, analysis, etc. (Remember, this is public, so don't put -anything here that you don't want to share with the world.) +### Test Results +#### CUDA Screenshot +![](images/CUDA3.1.1.png) +#### Nsight Profiling +![](images/NsightProfiling.png) + +#### Nsight Debugging +![](images/NsightDebugging.png) + +#### WebGL +![](images/WebGLEnabled.png) + +#### DXR +![](images/DXR.png) diff --git a/cuda-getting-started/src/main.cpp b/cuda-getting-started/src/main.cpp index 886fd4c..9a1cc04 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 = "Linda Zhu"; if (init(argc, argv)) { mainLoop(); diff --git a/dxr-support/src/D3D12RaytracingHelloWorld/Raytracing.hlsl b/dxr-support/src/D3D12RaytracingHelloWorld/Raytracing.hlsl index d817ca4..d882eb3 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.5, 0, 0.5);// float3(1 - attr.barycentrics.x - attr.barycentrics.y, attr.barycentrics.x, attr.barycentrics.y); payload.color = float4(barycentrics, 1); } diff --git a/images/CUDA3.1.1.png b/images/CUDA3.1.1.png new file mode 100644 index 0000000..9fac0e8 Binary files /dev/null and b/images/CUDA3.1.1.png differ diff --git a/images/DXR.png b/images/DXR.png new file mode 100644 index 0000000..e35b871 Binary files /dev/null and b/images/DXR.png differ diff --git a/images/NsightDebugging.png b/images/NsightDebugging.png new file mode 100644 index 0000000..9094a47 Binary files /dev/null and b/images/NsightDebugging.png differ diff --git a/images/NsightProfiling.png b/images/NsightProfiling.png new file mode 100644 index 0000000..2bd0ccf Binary files /dev/null and b/images/NsightProfiling.png differ diff --git a/images/WebGLEnabled.png b/images/WebGLEnabled.png new file mode 100644 index 0000000..bf2c097 Binary files /dev/null and b/images/WebGLEnabled.png differ