|
|
b5c57babb4
|
Extract flat coordinate system handling
|
2024-06-25 20:28:09 +03:00 |
|
|
|
7f560a2b49
|
Rename “outer” to “global” as that’s what it is
|
2024-06-25 20:11:25 +03:00 |
|
|
|
a31a950eca
|
Unify coordinate mapping
|
2024-06-25 19:56:29 +03:00 |
|
|
|
2515c0a0da
|
Simplify code
|
2024-06-25 13:31:39 +03:00 |
|
|
|
4caa260a34
|
Remove single-implementation traits
|
2024-06-25 13:20:52 +03:00 |
|
|
|
0cddb8798d
|
Move basic types to a module
|
2024-06-25 13:14:48 +03:00 |
|
|
|
13da06b294
|
Publish structs
|
2024-06-25 13:07:03 +03:00 |
|
|
|
455b69d447
|
Extract the implementation to a module
|
2024-06-25 13:04:36 +03:00 |
|
|
|
84068a5a13
|
Move Tube to a file
|
2024-06-25 12:16:31 +03:00 |
|
|
|
ad107a6910
|
Have fun!
|
2024-06-25 12:06:56 +03:00 |
|
|
|
dd054e9016
|
Move stuff around
|
2024-06-25 11:29:33 +03:00 |
|
|
|
0ae05fd730
|
Rename stuff to what it is, not how it’s used
|
2024-06-13 15:53:20 +03:00 |
|
|
|
844c974ed4
|
Use Rust formatting
|
2024-06-13 15:32:44 +03:00 |
|
|
|
5cdc97951b
|
Test TubeX as well
|
2024-06-13 13:26:02 +03:00 |
|
|
|
b4f7a3045b
|
Move fns:: test to a submodule
|
2024-06-11 14:21:52 +03:00 |
|
|
|
f2e2767156
|
Test tube length
|
2024-06-11 14:21:52 +03:00 |
|
|
|
8ad9f04ece
|
Test code cleanup
|
2024-06-11 14:21:52 +03:00 |
|
|
|
22339fb331
|
Remove an obsolete test
|
2024-06-11 14:21:52 +03:00 |
|
|
|
ededa1be50
|
Extend the tube-Y test
|
2024-06-11 13:56:11 +03:00 |
|
|
|
4feaf2428e
|
Another rename
|
2024-06-11 13:52:29 +03:00 |
|
|
|
6c7c936ead
|
Oops... I had that function already...
|
2024-06-11 13:50:02 +03:00 |
|
|
|
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 |
|
|
|
44efe70348
|
Add shapes
|
2024-05-27 12:13:00 +03:00 |
|
|
|
4bd1002626
|
Syntax cleanup
|
2024-05-27 00:14:19 +03:00 |
|
|
|
8f3ee25377
|
Fast boundary finding
Unbounded cells start to cause trouble...
|
2024-05-27 00:14:19 +03:00 |
|
|
|
6f77a31727
|
Areaed!
|
2024-05-27 00:14:19 +03:00 |
|
|
|
3324dcacb4
|
Update the metric
|
2024-05-27 00:14:19 +03:00 |
|
|
|
05ade4b5a1
|
Fmt!
|
2024-05-26 23:59:05 +03:00 |
|
|
|
1d19ad7968
|
Simplify rect properties
|
2024-04-29 01:14:48 +03:00 |
|
|
|
5aca27ddd7
|
Simplify member names
|
2024-04-29 01:12:16 +03:00 |
|
|
|
f2cbe6413a
|
Sample-generic code!
|
2024-04-29 01:10:41 +03:00 |
|
|
|
43eb0a2ea8
|
Add second sample
|
2024-04-29 00:55:29 +03:00 |
|
|
|
a805c5e06e
|
Replace GLM with GLAM
|
2024-04-29 00:52:58 +03:00 |
|
|
|
07034a6c7a
|
Functional!
|
2024-04-29 00:11:01 +03:00 |
|
|
|
9ce8da5f38
|
Traity!
|
2024-04-28 23:37:05 +03:00 |
|
|
|
a836e7f847
|
Cleanup
|
2024-04-28 23:27:33 +03:00 |
|
|
|
8e943df809
|
Add a dedicated function for metric inverse
|
2024-04-28 23:27:27 +03:00 |
|
|
|
641b13149f
|
Remove useless code
|
2024-04-28 23:15:19 +03:00 |
|
|
|
cbed57bd3a
|
Cleanup
|
2024-04-28 23:14:27 +03:00 |
|
|
|
10563d8d56
|
Split into modules
|
2024-04-28 23:11:34 +03:00 |
|
|
|
4c29c8de0b
|
Less code duplication
|
2024-04-28 23:02:51 +03:00 |
|
|
|
b5e58e731a
|
More drawing
|
2024-04-28 23:01:15 +03:00 |
|
|
|
1faf395c34
|
Use iterators
|
2024-04-28 22:48:33 +03:00 |
|
|
|
f46196e903
|
Some refraction
|
2024-04-28 22:16:25 +03:00 |
|
|
|
675d9f837d
|
Extract yaw-pitch-roll processing into a function
|
2024-04-21 20:17:58 +03:00 |
|
|
|
5d36770a2e
|
Remove obsolete drawing code
|
2024-04-21 17:23:45 +03:00 |
|
|
|
264601b8c7
|
Note to myself
|
2024-04-20 18:47:40 +03:00 |
|
|
|
a4ea2977ce
|
Use coarser output, to speed up preview
|
2024-04-20 18:47:31 +03:00 |
|
|
|
971bb171be
|
Depth sorting
|
2024-04-20 18:47:10 +03:00 |
|
|
|
e3c99349a5
|
Fix the coordinate system
|
2024-04-20 18:46:49 +03:00 |
|
|
|
78689ba8c2
|
Small Fixes™
|
2024-04-20 17:53:46 +03:00 |
|
|
|
7c74469324
|
Remove useless prefix
|
2024-04-20 17:53:24 +03:00 |
|
|
|
6c56a31726
|
Use ray tracing
|
2024-03-26 00:42:22 +03:00 |
|
|
|
af5322a47e
|
Extract the mesh loader
|
2024-03-25 19:00:04 +03:00 |
|
|
|
2ec43c822d
|
Flatten
|
2024-03-25 18:41:49 +03:00 |
|
|
|
48cf277b08
|
Reduce
|
2024-03-25 18:30:58 +03:00 |
|
|
|
a0046b6f33
|
Works... almost
|
2024-03-23 21:15:33 +03:00 |
|