diff --git a/README.md b/README.md index dd258af..5f2038b 100644 --- a/README.md +++ b/README.md @@ -3,12 +3,25 @@ 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) +* Yiyang Chen + * [LinkedIn](https://www.linkedin.com/in/yiyang-chen-6a7641210/), [personal website](https://cyy0915.github.io/) +* Tested on: Windows 10, i5-8700k @ 3.7GHz, GTX 1080, personal computer -### (TODO: Your README) +## My Readme +### 3.1 +Compute capability of my GPU GTX 1080: 6.1 -Include screenshots, analysis, etc. (Remember, this is public, so don't put -anything here that you don't want to share with the world.) +### 3.1.1 +![](images/3.1.1.png) +### 3.1.2 +![](images/3.1.2.png) + +### 3.1.3 +![](images/3.1.3.png) + +### 3.2 +![](images/3.2.png) + +### 3.3 +![](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..21cfb02 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 = "Yiyang Chen"; if (init(argc, argv)) { mainLoop(); diff --git a/dxr-support/src/D3D12RaytracingHelloWorld/Raytracing.hlsl b/dxr-support/src/D3D12RaytracingHelloWorld/Raytracing.hlsl index d817ca4..b5fef65 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, 0.8, 0); 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..14cde93 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..0f9ea00 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..484f380 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..b296385 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..caf49a2 Binary files /dev/null and b/images/3.3.png differ