Commit Graph

205 Commits

Author SHA1 Message Date
cd96691c35 Blend! 2024-09-22 22:25:06 +03:00
dff5745652 Render traced rays! 2024-09-22 21:56:05 +03:00
cf7f9c7f46 Extract put_object into crate::utils 2024-09-22 20:52:12 +03:00
ddccfd3a80 Simplify camera control 2024-09-22 19:44:44 +03:00
f138aa10ee Better camera control 2024-09-22 19:40:11 +03:00
c31e7cb1ec Tripod! 2024-09-22 16:13:43 +03:00
0e32467b24 Less asserts 2024-09-22 16:08:19 +03:00
a40ba66209 Basic camera movement 2024-09-22 16:00:34 +03:00
9c29ccb8ec Encapsulate dragging logic 2024-09-22 15:53:06 +03:00
24b33f8146 Basic camera control 2024-09-22 15:41:05 +03:00
1d9ff55163 Farther 2024-09-22 15:40:47 +03:00
3d150208e0 kate:build 2024-09-22 15:12:11 +03:00
6012c480de Basic OpenGL 2024-09-22 15:11:08 +03:00
98fbf892bc Support 3D! 2024-09-15 11:50:13 +03:00
caa93e5ffd Move the metric stuff out of the binary 2024-09-15 11:48:13 +03:00
b0aa666af3 Add Decomp3
Yes this is code duplication. But glam is not dimension-generic.
2024-09-15 11:42:05 +03:00
e5221fbcf8 Document Decomp2 2024-09-15 11:42:05 +03:00
f57ef1c141 Extract Decomp2 to mathx 2024-09-15 11:42:05 +03:00
43b0eb5836 Remove unused imports 2024-09-15 11:42:05 +03:00
b10d30c902 Extract iteration limiting into a function 2024-09-15 01:10:15 +03:00
1c283a6fbe Centralize subspace matching 2024-09-15 00:55:14 +03:00
8394e4108c Privatize methods 2024-09-15 00:52:57 +03:00
ef2be3fcc5 Check Traceable is the same as DebugTraceable 2024-09-15 00:52:32 +03:00
644530e312 Optimized implementation of <Space as Traceable>::trace 2024-09-15 00:21:42 +03:00
d8eed54c8b Extract camera→ray conversion 2024-09-15 00:04:14 +03:00
e9993182bf Split ray tracing and trace display 2024-09-14 23:24:37 +03:00
88da1aa582 Allow using Decomp2 like a matrix 2024-09-14 22:50:42 +03:00
529d4ac7db Merge float_fun into mathx 2024-09-14 22:41:03 +03:00
4dcc256127 Add the traits I *want* to be there. 2024-09-14 22:33:27 +03:00
5b09bb780e Add internal camera 2024-09-14 20:00:24 +03:00
dbd873a3ad Reorder cameras, for better look 2024-09-14 19:59:39 +03:00
d12e6a06cf Remove a questionable method 2024-09-14 19:54:20 +03:00
a4e2573a7c Use put_object for objects as well 2024-09-14 19:50:49 +03:00
f06e502e26 Simplify put_object 2024-09-14 19:24:27 +03:00
0efa513130 Use put_object! 2024-09-14 19:24:13 +03:00
2a08b6c379 Orthonormalize! 2024-09-14 19:07:56 +03:00
871d2d822b Document ScaledMetric 2024-09-14 18:28:07 +03:00
f5f94d3c1c Add put_object 2024-09-14 18:27:57 +03:00
0c0e22423d Remove unused code 2024-09-14 17:31:10 +03:00
45e446ae3e Extract projections into functions 2024-09-14 17:25:25 +03:00
3a357553e4 Print usage on misusage 2024-09-14 17:00:40 +03:00
97286085ab Allow getting all ray-mesh intersections (useful for translucent objects) 2024-09-14 15:55:01 +03:00
3b4338b033 Early “return” 2024-09-14 15:18:35 +03:00
fca01e05f4 Extract mesh tracing into the lib crate 2024-09-14 15:14:15 +03:00
0d212cb59c Oops, that made no sense 2024-09-14 15:13:59 +03:00
8e4cc86340 Move mesh_loader to the lib crate 2024-09-14 15:07:56 +03:00
2a41743fe5 fmt! 2024-09-14 15:02:10 +03:00
e58f3c5a17 Reduce useless debug lines 2024-09-14 14:52:46 +03:00
d2d4dcdbca Simplify riemann::trace_iter 2024-09-14 14:23:47 +03:00
d90f473bd6 Test riemann::trace_iter 2024-09-14 14:21:24 +03:00