127 lines
2.6 KiB
Markdown
127 lines
2.6 KiB
Markdown
# Ray Tracing in One Weekend (CUDA edition)
|
|
|
|
Tutorial: https://github.com/rogerallen/raytracinginoneweekendincuda
|
|
|
|
GPU Used: NVIDIA GeForce GTX 1660 Super
|
|
CUDA Cores: 1408
|
|
|
|
## Parameter sets
|
|
|
|
1:
|
|
* Resolution: 300x300
|
|
* Thread block size: 8x8
|
|
* Samples per pixel: 8
|
|
* Number of additional objects: 0
|
|
* Maximum number of bounces: 50
|
|
* Time to render: 0.0085s
|
|
|
|
---
|
|
|
|
2:
|
|
* Resolution: 600x600
|
|
* Thread block size: 4x4
|
|
* Samples per pixel: 50
|
|
* Number of additional objects: 200
|
|
* Maximum number of bounces: 50
|
|
* Time to render: 2.12857s
|
|
|
|
3:
|
|
* Resolution: 600x600
|
|
* Thread block size: 16x16
|
|
* Samples per pixel: 50
|
|
* Number of additional objects: 200
|
|
* Maximum number of bounces: 50
|
|
* Time to render: 2.4912s
|
|
|
|
4:
|
|
* Resolution: 600x600
|
|
* Thread block size: 24x24
|
|
* Samples per pixel: 50
|
|
* Number of additional objects: 200
|
|
* Maximum number of bounces: 50
|
|
* Time to render: 1.81483s
|
|
|
|
---
|
|
|
|
5:
|
|
* Resolution: 1000x1000
|
|
* Thread block size: 24x24
|
|
* Samples per pixel: 100
|
|
* Number of additional objects: 300
|
|
* Maximum number of bounces: 50
|
|
* Time to render: 14.7335s
|
|
|
|
6:
|
|
* Resolution: 1000x1000
|
|
* Thread block size: 26x26
|
|
* Samples per pixel: 100
|
|
* Number of additional objects: 300
|
|
* Maximum number of bounces: 50
|
|
* Time to render: 17.4273s
|
|
|
|
7:
|
|
* Resolution: 1000x1000
|
|
* Thread block size: 4x4
|
|
* Samples per pixel: 100
|
|
* Number of additional objects: 300
|
|
* Maximum number of bounces: 50
|
|
* Time to render: 19.0303s
|
|
|
|
8:
|
|
* Resolution: 1000x1000
|
|
* Thread block size: 16x16
|
|
* Samples per pixel: 100
|
|
* Number of additional objects: 300
|
|
* Maximum number of bounces: 50
|
|
* Time to render: 23.2295s
|
|
|
|
9:
|
|
* Resolution: 1000x1000
|
|
* Thread block size: 20x20
|
|
* Samples per pixel: 100
|
|
* Number of additional objects: 300
|
|
* Maximum number of bounces: 50
|
|
* Time to render: 23.6136s
|
|
|
|
10:
|
|
* Resolution: 1000x1000
|
|
* Thread block size: 12x12
|
|
* Samples per pixel: 100
|
|
* Number of additional objects: 300
|
|
* Maximum number of bounces: 50
|
|
* Time to render: 27.5289s
|
|
|
|
10:
|
|
* Resolution: 1000x1000
|
|
* Thread block size: 29x29
|
|
* Samples per pixel: 100
|
|
* Number of additional objects: 300
|
|
* Maximum number of bounces: 50
|
|
* Time to render: 28.6761s
|
|
|
|
11:
|
|
* Resolution: 1000x1000
|
|
* Thread block size: 8x8
|
|
* Samples per pixel: 100
|
|
* Number of additional objects: 300
|
|
* Maximum number of bounces: 50
|
|
* Time to render: 33.2001s
|
|
|
|
12:
|
|
* Resolution: 1000x1000
|
|
* Thread block size: 2x2
|
|
* Samples per pixel: 100
|
|
* Number of additional objects: 300
|
|
* Maximum number of bounces: 50
|
|
* Time to render: 55.2398s
|
|
|
|
---
|
|
|
|
13:
|
|
* Resolution: 2400x1200
|
|
* Thread block size: 16x16
|
|
* Samples per pixel: 100
|
|
* Number of additional objects: 500
|
|
* Maximum number of bounces: 50
|
|
* Time to render: 124.928s
|