Commit graph

24 commits

Author SHA1 Message Date
vonhyou
e308c901f5
bugfix: center and centre 2024-02-13 22:35:34 -05:00
vonhyou
e7b7d94cf6
finish parse scene 2024-02-13 22:17:49 -05:00
vonhyou
fd2b57b4ae
rename method names 2024-02-13 22:17:27 -05:00
vonhyou
48f00d194f
design parser class 2024-02-13 21:40:56 -05:00
vonhyou
a6a1472a80
clear rt class temp 2024-02-13 20:23:57 -05:00
vonhyou
630967a07f
rewrite Scene class 2024-02-13 20:20:56 -05:00
vonhyou
5524343a6e
add implementations for geometry methods 2024-02-13 19:31:06 -05:00
vonhyou
e652b957f0
remove unnecessary comments 2024-02-13 19:21:56 -05:00
vonhyou
2568be1eb8
finish geometry class 2024-02-13 19:21:29 -05:00
vonhyou
f1e412f1d1
add geometry class 2024-02-12 17:34:32 -05:00
vonhyou
2551f48a36
remove redundant comment 2024-02-12 17:19:29 -05:00
vonhyou
4c70c18672
add dummy parse for lights 2024-02-12 17:13:31 -05:00
vonhyou
f3f534a8fe
implement setters 2024-02-11 18:07:04 -05:00
vonhyou
287fdec97b
declare setters for optional members 2024-02-11 18:00:14 -05:00
vonhyou
2e6a248b3c
add Light.cc, nothing need to implement yet 2024-02-11 17:54:46 -05:00
vonhyou
a12711e543
rewrite Light class using Eigen 2024-02-11 17:53:14 -05:00
vonhyou
a73f25c027
add light header 2024-02-11 16:22:51 -05:00
vonhyou
39c584eff9
make the render function private 2024-02-08 16:43:41 -05:00
vonhyou
7ede9f694d
change RayTracer class constructor param 2024-02-01 19:14:20 -05:00
vonhyou
2d18bab382
remove debug outputs 2024-02-01 18:55:41 -05:00
vonhyou
90e0cfb632
refactor RayTracer class 2024-02-01 18:43:10 -05:00
vonhyou
baea2db514
move output factors to Scene class 2024-02-01 18:42:40 -05:00
vonhyou
550bf180ba
implement alpha 1 2024-02-01 17:54:14 -05:00
vonhyou
f17bf228aa
add RayTracer class 2024-02-01 16:05:44 -05:00