19 Commits

Author SHA1 Message Date
62cb5e4ec4 prelude: add World and WorldBuilder. 2021-07-23 20:17:31 -07:00
4680c97adc shapes:: helpers for creating Shapes added to the prelude. 2021-07-23 20:03:34 -07:00
0965ac9ddf matrics: create helpers for Matrix4x4 and add it to prelude. 2021-07-23 18:38:35 -07:00
4936839723 prelude: create prelude and add some tuple helpers to it. 2021-07-22 21:34:18 -07:00
c0e422a7eb shapes: create generic Shape object with Sphere implementation.
All checks were successful
continuous-integration/drone/push Build is passing
2021-07-20 22:17:50 -07:00
95de5863cc all: s/f32/Float/g now using customer Float alias. 2021-07-18 17:18:08 -07:00
39f7f77b74 camera: add basic Camera object. 2021-07-17 21:22:07 -07:00
125c96c25f transformations: implement view_transform. 2021-07-17 17:40:35 -07:00
9f00485256 Use WHITE and BLACK constants where appropriate 2021-07-17 16:41:22 -07:00
b3737dcd5f lib: add constants for BLACK and WHITE colors. 2021-07-17 16:11:31 -07:00
3bc9f6f924 world: add default empty World constructor. 2021-07-17 15:07:14 -07:00
b4428f924c lights & materials: implement the default light and material types. 2021-07-17 08:59:02 -07:00
0ce1e8f7af intersections: create inters module and initial functionality. 2021-07-16 21:06:57 -07:00
f44d671573 rays: basic ray with construction and position methods 2021-07-16 20:13:20 -07:00
4b0d882b84 lib & tuples: use crate specific EPSILON definition. 2021-07-16 16:49:55 -07:00
72b15e5516 Copy Matrix4x4 impl from pbrt and start on tests 2021-06-29 20:12:23 -07:00
d8f91a823e Add canvas type. 2021-06-24 15:58:18 -07:00
df495feb57 Make important types/functions public. 2021-06-24 15:35:43 -07:00
495c64249c Implement most basic tuple 2021-06-24 10:51:35 -07:00