|
|
5e7139f0ba
|
rtchallenge: Address cargo clippy.
|
2022-06-24 14:54:49 -07:00 |
|
|
|
e574cdb592
|
Random changes.
continuous-integration/drone Build is failing
|
2022-06-11 17:46:26 -07:00 |
|
|
|
270a7ec349
|
eoc12: show use of cube.
|
2021-08-05 20:41:47 -07:00 |
|
|
|
7a80179f41
|
eoc11: example illustrating concepts from chapter 11 and extended pattern concepts from chapter 10.
|
2021-08-01 19:18:46 -07:00 |
|
|
|
926fffa29f
|
patterns: add ability to nest patterns
|
2021-08-01 19:08:36 -07:00 |
|
|
|
eaae65712b
|
eoc10: example showing concepts from the chapter.
|
2021-07-25 14:51:33 -07:00 |
|
|
|
8b79876aee
|
patterns: implement object and pattern transformation awareness.
|
2021-07-25 11:22:36 -07:00 |
|
|
|
bfa3282a37
|
materials: add StripePattern as a Material color option.
|
2021-07-24 19:36:32 -07:00 |
|
|
|
c158d92252
|
eoc9: make width and height CLI flags.
|
2021-07-23 22:18:20 -07:00 |
|
|
|
62ad827507
|
eoc9: implement using prelude and builder pattern.
continuous-integration/drone/push Build is passing
|
2021-07-23 22:12:24 -07:00 |
|
|
|
c058d043e0
|
balls: more experimentation.
|
2021-07-22 20:56:13 -07:00 |
|
|
|
9389fed84c
|
balls: experiement with builder pattern.
|
2021-07-21 21:31:04 -07:00 |
|
|
|
d999e8196b
|
eoc9: add ceiling.
|
2021-07-21 15:15:59 -07:00 |
|
|
|
e419994fae
|
eoc9: add third light now that the we don't normalize it
|
2021-07-21 14:51:51 -07:00 |
|
|
|
41f3b63ad0
|
eoc9: one less light, and brighter
|
2021-07-21 14:44:29 -07:00 |
|
|
|
b2dc0e9509
|
eoc9: use plane in a scene.
|
2021-07-21 14:40:44 -07:00 |
|
|
|
c0e422a7eb
|
shapes: create generic Shape object with Sphere implementation.
continuous-integration/drone/push Build is passing
|
2021-07-20 22:17:50 -07:00 |
|
|
|
3799f93393
|
eoc8: add third light for effect
|
2021-07-18 21:15:38 -07:00 |
|
|
|
1629b2cbfa
|
Add multiple light support.
|
2021-07-18 21:10:04 -07:00 |
|
|
|
839642b886
|
camera: make supersampling configurable, wire it up in eoc8.
continuous-integration/drone/push Build is passing
|
2021-07-18 20:30:06 -07:00 |
|
|
|
7a8ed15017
|
eoc8: zoom the fov.
|
2021-07-18 20:01:40 -07:00 |
|
|
|
ecf7cd7bdc
|
eoc: Updates to work with new Float abstraction.
|
2021-07-18 17:27:52 -07:00 |
|
|
|
5d57304d95
|
eoc8: implement the end of chapter 8 challenge. Note:
This implementation looks like crap and I'm not sure why.
|
2021-07-18 16:55:29 -07:00 |
|
|
|
1065702a5d
|
materials: make lighting calculation shadow aware
|
2021-07-18 12:46:49 -07:00 |
|
|
|
dbf5451070
|
eoc7: make command flag for choosing rendering strategy.
continuous-integration/drone/push Build is passing
|
2021-07-18 11:49:56 -07:00 |
|
|
|
967920e1fa
|
eoc7: show elapsed time out to milliseconds.
|
2021-07-18 11:12:19 -07:00 |
|
|
|
538b8ad364
|
camera: cache inverse tranform for huge speed up on ray_for_pixel.
WIP parallel render function.
|
2021-07-17 23:16:50 -07:00 |
|
|
|
2395c96e01
|
spheres: cache inverse transform to accelerate normal_at.
|
2021-07-17 23:10:54 -07:00 |
|
|
|
5f3bfd744e
|
eoc7: implement end of chapter 7 challenge.
continuous-integration/drone/push Build is passing
|
2021-07-17 22:05:54 -07:00 |
|
|
|
9f00485256
|
Use WHITE and BLACK constants where appropriate
|
2021-07-17 16:41:22 -07:00 |
|
|
|
cbecaa70ef
|
eoc6: implement challenge for end of chapter 6.
|
2021-07-17 10:10:38 -07:00 |
|
|
|
bad54bb433
|
eoc5: remove unnecessary import.
|
2021-07-17 10:09:10 -07:00 |
|
|
|
e430e3769e
|
canvas: add parameter to constructor to set background color.
continuous-integration/drone/push Build is passing
|
2021-07-16 22:33:22 -07:00 |
|
|
|
4bb6a72e4b
|
eoc5: implement suggestiong at end of chapter 5.
continuous-integration/drone/push Build is passing
|
2021-07-16 22:25:48 -07:00 |
|
|
|
6e73bab37f
|
s/translate/translation/g to match book.
|
2021-07-16 21:49:49 -07:00 |
|
|
|
191760fa13
|
eoc4: lint cleanup.
|
2021-07-16 20:12:51 -07:00 |
|
|
|
12c2382327
|
eoc4: use Matrix4x4 to perform world to canvas scaling.
continuous-integration/drone/push Build is passing
|
2021-07-16 19:59:42 -07:00 |
|
|
|
5df2917668
|
eoc4: implement suggestion at the end of chapter 4
|
2021-07-16 17:12:48 -07:00 |
|
|
|
3cf580f607
|
Fix tests after recent refactor
|
2021-06-29 19:52:57 -07:00 |
|
|
|
78a360ae89
|
More idiomatic constructors.
continuous-integration/drone/push Build is passing
|
2021-06-27 10:20:21 -07:00 |
|
|
|
f24a90b77b
|
eoc2: print filename before saving.
continuous-integration/drone/push Build is passing
|
2021-06-24 16:44:45 -07:00 |
|
|
|
c9ec19c3cd
|
eoc2: update with initial values from the book.
|
2021-06-24 16:43:12 -07:00 |
|
|
|
709465dafe
|
eoc2: write up end of chapter 2 example.
|
2021-06-24 16:40:53 -07:00 |
|
|
|
21ac03acfb
|
Implement end of chapter 1 exercises.
|
2021-06-24 15:35:58 -07:00 |
|