Commit graph

33 commits

Author SHA1 Message Date
f0c8dae74c
refactor: use Option to bypass bounding sphere system 2024-10-16 15:48:42 -04:00
878f7c9ebb
style: stop renaming external crate 2024-10-16 15:33:34 -04:00
f33ee09b9d
refactor: rename types.rs to util.rs 2024-10-14 18:11:19 -04:00
763a4ff923
refactor: use 64-bit types instead of 32-bit
I don't know why I wasn't using 64 bit floats from the beginning,
honestly. I had weird priorities back then
2024-10-14 18:06:50 -04:00
9879184d47
feat: add nix build infrastructure 2024-10-14 17:55:47 -04:00
4e42390a82
docs: update author info 2024-10-14 17:54:58 -04:00
bijan-S
e2dd9f7e3a Fixed bounding sphere generation 2021-07-28 22:10:01 -04:00
bijan-S
cd94c7ad6f Fixed bug in plane intersection test 2021-05-05 21:48:22 -04:00
bijan2005
6d2a1407bf
Update LICENSE 2021-03-25 21:11:46 -04:00
bijan2005
736c1e416c
Add MIT License 2021-03-25 21:05:13 -04:00
bijan2005
68f158f3c9 Fix bugs 2021-03-20 18:26:23 -04:00
bijan2005
72acde6ea8 Remove Cargo.lock from .gitignore 2021-03-20 17:51:25 -04:00
bijan2005
0d3500ceb5 Refactor some method code 2021-03-20 17:48:03 -04:00
bijan2005
6ef2c65009 Finished diffuse shading calculations 2021-01-24 10:23:59 -05:00
bijan2005
20c32fc467 Add Texture struct to add extra texture information 2021-01-24 00:06:23 -05:00
bijan2005
07445dd4be Created abbreviations for common geometry types 2021-01-23 23:27:54 -05:00
bijan2005
ed6e84a240 Add Light trait and PointLight instance 2021-01-23 22:52:50 -05:00
bijan2005
53f5c8bac5 Redefine Scene struct 2020-12-10 09:23:45 -05:00
bijan2005
b53ea71eb0 Optimized bounding sphere intersection test 2020-12-08 11:25:26 -05:00
bijan2005
14f1ed2a31 Implemented bounding spheres for objects 2020-12-08 11:22:56 -05:00
bijan2005
4596c117df Complete triangle mesh code (and more refactoring) 2020-12-07 12:04:44 -05:00
bijan2005
cddec468de Realize the triangle struct doesn't work and completely refactor it 2020-12-05 23:22:19 -05:00
bijan2005
822941d561 Create triangle struct (and add comments) 2020-12-04 15:11:01 -05:00
bijan2005
ef6ce4bbde Refactor camera code to use aspect ratio 2020-11-30 12:00:43 -05:00
bijan2005
639518c317 Add color mapping to planes 2020-11-30 11:56:55 -05:00
bijan2005
ff625f576f Add generic trait Surface 2020-11-30 09:41:15 -05:00
bijan2005
6a7a3c7774 Plane-ray intersection test 2020-11-30 09:00:35 -05:00
bijan2005
7eb6f48fef Added basic plane struct 2020-11-30 08:08:23 -05:00
bijan2005
09def56768
Create README.md
This file contains the checklist of all features planned to exist within the renderer. This list may be changed or extended in the future.
2020-11-29 16:30:07 -05:00
bijan2005
6a37feeacb Add .gitignore file 2020-11-29 15:39:36 -05:00
bijan2005
7c7118665a Remove unnecessary files 2020-11-29 15:00:48 -05:00
bijan2005
cb87c1e70c Add basic color to spheres 2020-11-27 12:36:38 -05:00
bijan2005
9d188ed692 Add existing files 2020-11-27 00:02:03 -05:00