diff --git a/README.md b/README.md index dd258af..7ab0539 100644 --- a/README.md +++ b/README.md @@ -3,12 +3,30 @@ 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) +* Gene Liu + * [LinkedIn](https://www.linkedin.com/in/gene-l-3108641a3/) +* Tested on: Windows 10, i7-9750H @ 2.60GHz, 16GB RAM, GTX 1650 Max-Q 4096MB (personal laptop) + * SM 7.5 -### (TODO: Your README) +### Screenshots -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/p3.1.1.jpg) + +3.1.2 + +![](images/p3.1.2.jpg) + +3.1.3 + +![](images/p3.1.3.jpg) + +3.2 + +![](images/p3.2.jpg) + +3.3 + +![](images/p3.3.jpg) diff --git a/cuda-getting-started/src/main.cpp b/cuda-getting-started/src/main.cpp index 886fd4c..0b90829 100644 --- a/cuda-getting-started/src/main.cpp +++ b/cuda-getting-started/src/main.cpp @@ -10,8 +10,7 @@ * C main function. */ int main(int argc, char* argv[]) { - // TODO: Change this line to use your name! - m_yourName = "TODO: YOUR NAME HERE"; + m_yourName = "Gene Liu"; if (init(argc, argv)) { mainLoop(); diff --git a/dxr-support/src/D3D12RaytracingHelloWorld/Raytracing.hlsl b/dxr-support/src/D3D12RaytracingHelloWorld/Raytracing.hlsl index d817ca4..6524184 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(1, 0.5, 0); payload.color = float4(barycentrics, 1); } diff --git a/images/p3.1.1.jpg b/images/p3.1.1.jpg new file mode 100644 index 0000000..780c6e2 Binary files /dev/null and b/images/p3.1.1.jpg differ diff --git a/images/p3.1.2.jpg b/images/p3.1.2.jpg new file mode 100644 index 0000000..4979bc6 Binary files /dev/null and b/images/p3.1.2.jpg differ diff --git a/images/p3.1.3.jpg b/images/p3.1.3.jpg new file mode 100644 index 0000000..68b9bfc Binary files /dev/null and b/images/p3.1.3.jpg differ diff --git a/images/p3.2.jpg b/images/p3.2.jpg new file mode 100644 index 0000000..26b6c95 Binary files /dev/null and b/images/p3.2.jpg differ diff --git a/images/p3.3.jpg b/images/p3.3.jpg new file mode 100644 index 0000000..63166fd Binary files /dev/null and b/images/p3.3.jpg differ