Commit Graph

73 Commits

Author SHA1 Message Date
53075e0906 The Big Rename 2024-06-11 13:43:59 +03:00
ae152f6d7d Better test failure message 2024-06-11 00:42:47 +03:00
ce86e2a95c Minor cleanup 2024-06-11 00:37:25 +03:00
cf425a34b6 Unify listing objects 2024-06-11 00:34:34 +03:00
cac83b9003 Neat? 2024-06-11 00:29:16 +03:00
0a4078d4f3 Join object hitting halves together 2024-06-11 00:23:36 +03:00
8e31359a69 Unify object hitting code 2024-06-11 00:14:44 +03:00
39a4ee5824 Update object.loc in list_objects_inner to reflect the coordinate system change 2024-06-11 00:02:43 +03:00
17ed87035a Expose the fact dx and du are linear 2024-06-11 00:02:09 +03:00
fdc4e22da0 Record relative ray direction on hit 2024-06-10 23:30:38 +03:00
d5c2e34157 Unify some code 2024-06-10 22:58:52 +03:00
932029b064 Properly calculate relative hit position for rotated objects 2024-06-10 22:58:42 +03:00
3dec491bb5 Record relative hit position 2024-06-10 22:22:50 +03:00
5947a6e324 Draw smoother lines in the inner region 2024-06-10 20:16:17 +03:00
4b511af742 Hit objects in the inner region 2024-06-10 20:04:53 +03:00
9ec5f17754 Hit objects from different space regions 2024-06-10 19:50:39 +03:00
11e48580b9 Test that new code 2024-06-10 17:28:33 +03:00
3f7a1b7173 More code uniformity 2024-06-10 16:53:37 +03:00
1de98d9550 Extract a module 2024-06-10 16:15:26 +03:00
1dfc5bad0e More cleanup 2024-06-10 15:37:23 +03:00
7890107832 Neater code 2024-06-10 15:30:47 +03:00
4e6c3b19ae Split the metric into two functions 2024-06-10 15:29:57 +03:00
08fbff38fa Rotate the view 2024-06-10 15:28:55 +03:00
e8fdd5f338 Nerdy! 2024-06-10 14:52:57 +03:00
69cc1904a8 Trace all objects hit 2024-06-10 00:36:38 +03:00
ab5446385b Smoother circles 2024-06-10 00:10:31 +03:00
b22c36a983 Cleanup math 2024-06-10 00:10:22 +03:00
aa6779ff4b Cleanup 2024-06-09 23:30:37 +03:00
c6591e7455 Use proper coordinate adjustments in the objects 2024-06-09 23:29:18 +03:00
f3288c7331 Move multiplication out of flat-global vector conversion
The conversion is necessarily linear so...
2024-06-09 23:23:26 +03:00
2b7ae9485b Implement partial derivatives explicitly, for better precision 2024-06-09 23:13:20 +03:00
1f960e3726 Improve precision
That thing is divided by, so better make it a power of two to make the division exact.
2024-06-09 22:07:42 +03:00
e840b3f47b Trace to objects 2024-06-09 21:47:25 +03:00
3362df4109 Nicer visuals 2024-06-09 21:47:10 +03:00
978138c780 Pull the distance a level out 2024-06-09 20:59:28 +03:00
2c47c66b60 Add objects 2024-06-09 20:24:19 +03:00
c510a3fc70 Remove unused code 2024-06-09 20:10:00 +03:00
196d387c1f Object samples 2024-05-27 20:17:54 +03:00
073292b9de +1 track 2024-05-27 19:44:33 +03:00
6fd15f9422 Use the fancy functions
It is not as beautiful as it could be but... looks OK for now
2024-05-27 19:44:28 +03:00
355416764f Extract DT a level up 2024-05-27 19:34:14 +03:00
23cddeb940 Split! 2024-05-27 19:24:12 +03:00
a82441677d Functional tracer 2024-05-27 19:16:59 +03:00
716fe65841 Extra tracers 2024-05-27 19:16:40 +03:00
33c51e425b Nicer 2024-05-27 19:16:30 +03:00
1cf2518568 Add comments 2024-05-27 19:15:37 +03:00
6965d7360e Rename stuff 2024-05-27 17:17:28 +03:00
f276b82bdd Move locations! 2024-05-27 16:54:32 +03:00
28a82acbf7 Remove unused code 2024-05-27 12:38:36 +03:00
408bd2c936 Simplify 2024-05-27 12:35:27 +03:00