diff --git a/README.md b/README.md index dd258af..f871393 100644 --- a/README.md +++ b/README.md @@ -3,12 +3,17 @@ 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) +* Szeyu Chan + * [LinkedIn](https://www.linkedin.com/in/szeyuchan11/) +* Tested on: Windows 10, i7-10510U @ 1.80GHz 16GB, MX250 2048MB (Personal Laptop) -### (TODO: Your README) - -Include screenshots, analysis, etc. (Remember, this is public, so don't put -anything here that you don't want to share with the world.) +### Screenshots +![](images/name.png) +![](images/analyze1.jpg) +![](images/analyze2.jpg) +![](images/webGL1.jpg) +![](images/webGL2.jpg) +![](images/chrome.jpg) +![](images/nsight_debug.jpg) +![](images/DXR.jpg) diff --git a/cuda-getting-started/src/main.cpp b/cuda-getting-started/src/main.cpp index 886fd4c..48c0351 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 = "Szeyu Chan"; if (init(argc, argv)) { mainLoop(); diff --git a/dxr-support/src/D3D12RaytracingHelloWorld/Raytracing.hlsl b/dxr-support/src/D3D12RaytracingHelloWorld/Raytracing.hlsl index d817ca4..aa6f215 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.8, 0.8, 0.2); payload.color = float4(barycentrics, 1); } diff --git a/images/DXR.jpg b/images/DXR.jpg new file mode 100644 index 0000000..6b9946c Binary files /dev/null and b/images/DXR.jpg differ diff --git a/images/analyze1.jpg b/images/analyze1.jpg new file mode 100644 index 0000000..91b8d81 Binary files /dev/null and b/images/analyze1.jpg differ diff --git a/images/analyze2.jpg b/images/analyze2.jpg new file mode 100644 index 0000000..5e283c2 Binary files /dev/null and b/images/analyze2.jpg differ diff --git a/images/chrome.jpg b/images/chrome.jpg new file mode 100644 index 0000000..87361e3 Binary files /dev/null and b/images/chrome.jpg differ diff --git a/images/name.png b/images/name.png new file mode 100644 index 0000000..18db920 Binary files /dev/null and b/images/name.png differ diff --git a/images/nsight_debug.jpg b/images/nsight_debug.jpg new file mode 100644 index 0000000..c70a4fd Binary files /dev/null and b/images/nsight_debug.jpg differ diff --git a/images/webGL1.jpg b/images/webGL1.jpg new file mode 100644 index 0000000..572bb84 Binary files /dev/null and b/images/webGL1.jpg differ diff --git a/images/webGL2.jpg b/images/webGL2.jpg new file mode 100644 index 0000000..de1436e Binary files /dev/null and b/images/webGL2.jpg differ