diff --git a/README.md b/README.md index dd258af..0a17edb 100644 --- a/README.md +++ b/README.md @@ -3,12 +3,23 @@ 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) +* Shineng Tang + * [LinkedIn](https://www.linkedin.com/in/shineng-t-224192195/) +* Tested on: Windows 11, i9-10900k @3.7GHz 32GB, RTX 3090 24GB -### (TODO: Your README) +### +## Part 3.1.1 +![](images/Screenshot.png) -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.2 +![](images/Screenshot2.png) + +## Part 3.1.3 +![](images/Screenshot3.png) + +## Part 3.2 +![](images/Screenshot4.png) + +## Part 3.3 +![](images/Screenshot5.png) diff --git a/cuda-getting-started/src/main.cpp b/cuda-getting-started/src/main.cpp index 886fd4c..c144b6f 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 = "Shineng Tang"; if (init(argc, argv)) { mainLoop(); diff --git a/dxr-support/src/D3D12RaytracingHelloWorld/Raytracing.hlsl b/dxr-support/src/D3D12RaytracingHelloWorld/Raytracing.hlsl index d817ca4..2c92ba4 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.2,0.2,0.7); payload.color = float4(barycentrics, 1); } diff --git a/images/Screenshot.png b/images/Screenshot.png new file mode 100644 index 0000000..335afaa Binary files /dev/null and b/images/Screenshot.png differ diff --git a/images/Screenshot2.png b/images/Screenshot2.png new file mode 100644 index 0000000..8f892e6 Binary files /dev/null and b/images/Screenshot2.png differ diff --git a/images/Screenshot3.png b/images/Screenshot3.png new file mode 100644 index 0000000..fda53af Binary files /dev/null and b/images/Screenshot3.png differ diff --git a/images/Screenshot4.png b/images/Screenshot4.png new file mode 100644 index 0000000..9a7b2ec Binary files /dev/null and b/images/Screenshot4.png differ diff --git a/images/Screenshot5.png b/images/Screenshot5.png new file mode 100644 index 0000000..12faf10 Binary files /dev/null and b/images/Screenshot5.png differ