|
Prof Avery's weblog
creme filling for hollow victories
<spool@kenytt.net>
Geek News
del.icio.us bookmarks
RSS
|
|
|
Minimal Ray Tracer
Some code to accompany tonight's lecture: a version of Paul Heckbert's Minimal Ray Tracer from Graphics Gems IV.
I've updated the code to do the following:
- compile with GNU C
- output plain PPM
- generate a 1024 by 1024 image instead of the tiny 32-pixel original
I've also included a JPEG version of the image, generated with ppmtojpeg ,
If you want to experiment with changing the scene defined in ray.h , you'll probably want to download NetPbm for Windows.
/var/spool/courses/csuf/2006/spring/cpsc465
#
|
|
|
February 2019 |
Sun |
Mon |
Tue |
Wed |
Thu |
Fri |
Sat |
|
|
|
|
|
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
|
|
RSS
Topics
Archives
|
|
|