|
1660 | 1660 | see.
|
1661 | 1661 |
|
1662 | 1662 |  |
| 1663 | + ](../images/img-3.04-cornell-refactor2.jpg class=pixel) |
1664 | 1664 |
|
1665 | 1665 | </div>
|
1666 | 1666 |
|
|
1711 | 1711 | material, we'll get a slightly different image.
|
1712 | 1712 |
|
1713 | 1713 |  |
| 1714 | + ](../images/img-3.04-cornell-refactor2.jpg class=pixel) |
1715 | 1715 |
|
1716 | 1716 | </div>
|
1717 | 1717 |
|
|
2174 | 2174 | Which produces:
|
2175 | 2175 |
|
2176 | 2176 |  |
| 2177 | + ](../images/img-3.06-cornell-ortho.jpg class=pixel) |
2178 | 2178 |
|
2179 | 2179 | Let’s get rid of some of that noise.
|
2180 | 2180 | </div>
|
|
2330 | 2330 | With 10 samples per pixel this yields:
|
2331 | 2331 |
|
2332 | 2332 |  |
| 2333 | + ](../images/img-3.07-cornell-sample-light.jpg class=pixel) |
2334 | 2334 |
|
2335 | 2335 | </div>
|
2336 | 2336 |
|
|
2384 | 2384 | This gives us:
|
2385 | 2385 |
|
2386 | 2386 |  |
| 2387 | + ](../images/img-3.08-cornell-lightdown.jpg class=pixel) |
2388 | 2388 |
|
2389 | 2389 | </div>
|
2390 | 2390 |
|
|
2532 | 2532 | `cosine_pdf` class:
|
2533 | 2533 |
|
2534 | 2534 |  |
| 2535 | + ](../images/img-3.09-cornell-cos-pdf.jpg class=pixel) |
2536 | 2536 |
|
2537 | 2537 | </div>
|
2538 | 2538 |
|
|
2723 | 2723 | At 10 samples per pixel we get:
|
2724 | 2724 |
|
2725 | 2725 |  |
| 2726 | + ](../images/img-3.10-hittable-light.jpg class=pixel) |
2727 | 2727 |
|
2728 | 2728 | </div>
|
2729 | 2729 |
|
|
2842 | 2842 | 1000 samples per pixel yields:
|
2843 | 2843 |
|
2844 | 2844 |  |
| 2845 | + ](../images/img-3.11-cosine-and-light.jpg class=pixel) |
2846 | 2846 |
|
2847 | 2847 | </div>
|
2848 | 2848 |
|
|
3201 | 3201 | not sampled with more density.
|
3202 | 3202 |
|
3203 | 3203 |  |
| 3204 | + ](../images/img-3.12-arbitrary-pdf.jpg class=pixel) |
3205 | 3205 |
|
3206 | 3206 | </div>
|
3207 | 3207 |
|
|
3377 | 3377 | expensive!
|
3378 | 3378 |
|
3379 | 3379 |  |
| 3380 | + ](../images/img-3.13-cornell-glass-sphere.jpg class=pixel) |
3381 | 3381 |
|
3382 | 3382 | </div>
|
3383 | 3383 |
|
|
3462 | 3462 | And we get a decent image with 1000 samples as before:
|
3463 | 3463 |
|
3464 | 3464 |  |
| 3465 | + ](../images/img-3.14-glass-and-light.jpg class=pixel) |
3466 | 3466 |
|
3467 | 3467 | </div>
|
3468 | 3468 |
|
|
3525 | 3525 | Happily, the black specks are gone:
|
3526 | 3526 |
|
3527 | 3527 |  |
| 3528 | + ](../images/img-3.15-book3-final.jpg class=pixel) |
3529 | 3529 |
|
3530 | 3530 | </div>
|
3531 | 3531 |
|
|
0 commit comments