diff --git a/README.md b/README.md index dd258af..f13c021 100644 --- a/README.md +++ b/README.md @@ -3,12 +3,40 @@ 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) +* Bowen Deng + * [LinkedIn](www.linkedin.com/in/bowen-deng-7dbw13), [twitter](https://twitter.com/7Dbw13) +* Tested on: Windows 10, AMD Ryzen 9 5900HX with Radeon Graphics @ 3.30GHz 16GB, GeForce RTX 3070 Laptop GPU 8GB (Personal Computer) -### (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.) +## CUDA +### CUDA Test + +* Compute Capability of my GPU: 8.6 + +![](images/img_3_1_1.png) + +### Nsight Analysis + +Tracing for CUDA and OpenGL is enabled + +![](images/img_3_1_2.png) + +### Nsight Debugging + +Check for `index 7130` + +![](images/img_3_1_3.png) + +## WebGL + +WebGL is enabled and hardware-accelerated + +![](images/img_3_2.png) + +## DXR + +* Level of DXR support: *DXR* + +![](images/img_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..c882e42 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 = "Bowen Deng"; if (init(argc, argv)) { mainLoop(); diff --git a/dxr-support/src/D3D12RaytracingHelloWorld/Raytracing.hlsl b/dxr-support/src/D3D12RaytracingHelloWorld/Raytracing.hlsl index d817ca4..47933fb 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(1, 0.69, 0.11); payload.color = float4(barycentrics, 1); } diff --git a/images/img_3_1_1.png b/images/img_3_1_1.png new file mode 100644 index 0000000..0b8a676 Binary files /dev/null and b/images/img_3_1_1.png differ diff --git a/images/img_3_1_2.png b/images/img_3_1_2.png new file mode 100644 index 0000000..545dce4 Binary files /dev/null and b/images/img_3_1_2.png differ diff --git a/images/img_3_1_3.png b/images/img_3_1_3.png new file mode 100644 index 0000000..a5eabe6 Binary files /dev/null and b/images/img_3_1_3.png differ diff --git a/images/img_3_2.png b/images/img_3_2.png new file mode 100644 index 0000000..7aa73a7 Binary files /dev/null and b/images/img_3_2.png differ diff --git a/images/img_3_3.png b/images/img_3_3.png new file mode 100644 index 0000000..b0d75bd Binary files /dev/null and b/images/img_3_3.png differ