Skip to content

Commit 93f6ac9

Browse files
committed
update readme
1 parent a872aa1 commit 93f6ac9

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed

README.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
CUDA Path Tracer
22
================
33

4-
**University of Pennsylvania, CIS 565: GPU Programming and Architecture, Project 3**
4+
**University of Pennsylvania, CIS 565: GPU Programming and Architecture, Project 2**
55

6-
* (TODO) YOUR NAME HERE
7-
* Tested on: (TODO) Windows 22, i7-2222 @ 2.22GHz 22GB, GTX 222 222MB (Moore 2222 Lab)
8-
9-
### (TODO: Your README)
10-
11-
*DO NOT* leave the README to the last minute! It is a crucial part of the
12-
project, and we will not be able to grade you without a good README.
6+
* Chang Liu
7+
* [LinkedIn](https://www.linkedin.com/in/chang-liu-0451a6208/)
8+
* [Personal website](https://hummawhite.github.io/)
9+
* Tested on personal laptop:
10+
- Windows 11
11+
- i7-12700 @ 4.90GHz with 16GB RAM
12+
- RTX 3070 Ti Laptop 8GB
1313

14+
![](./img/photo_realistic.png)

img/photo_realistic.png

8.31 MB
Loading

src/image.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ Image::Image(const std::string& filename) {
1717
float* data = stbi_loadf(filename.c_str(), &mWidth, &mHeight, &channels, 3);
1818

1919
if (!data) {
20-
throw std::runtime_error("Fail to load image: " + filename);
20+
std::cout << "\t[Fail to load image: " + filename + "]" << std::endl;
21+
throw;
2122
}
2223
mPixels = new glm::vec3[mWidth * mHeight];
2324
memcpy(mPixels, data, mWidth * mHeight * sizeof(glm::vec3));

0 commit comments

Comments
 (0)