Commit c4cb569
committed
Implement meshlet-gen algorithm
* eb82518 Better parameters (tttsaurus)
* 1ab177f le algorithm (tttsaurus)
* 63ad4ba Meshlet-gen helper method setup (tttsaurus)
* 263f1fe Start over (tttsaurus)
* ecac10a Fix some issues with KDTree building/deletion/KNN (#477) (jchung01)
* 6f51422 Draw meshlet overlap warning (tttsaurus)
* 4745bd1 Better logging (tttsaurus)
* 4f1eb48 Meshlet-gen visualized test env setup (tttsaurus)
* eb3fd71 Re-added faces to Block (Kuba663)
* e6d9984 Merge remote-tracking branch 'origin/proposal/render-system-meshlet' into proposal/render-system-meshlet (Kuba663)
* 37d5046 Re-added faces to Block (Kuba663)
* 73e2a49 Merge remote-tracking branch 'origin/proposal/render-system-meshlet' into proposal/render-system-meshlet (tttsaurus)
* d376a07 Meshlet-gen test setup (tttsaurus)
* d00ae9a Move all the block queries to a single place to reduce latency. (Kuba663)
* 1ae1876 Fix a ecs-component flattening npe issue (tttsaurus)
* b8e808d Merge branch 'proposal/render-system' into proposal/render-system-meshlet (tttsaurus)
* c563cfe Fixed the broken algorithm written by a retard (me) (Kuba663)
* 4cdf487 Fixed errors in kD-tree (Kuba663)
* ca8e4f9 what? (Kuba663)
* 8ed71c4 Band-aid solution before the median is fixed (Kuba663)
* dee6f19 kD-Tree construction test. (Kuba663)
* ad7aa29 Added preconditions to every median related function to make finding errors easier. (Kuba663)
* 5e47b49 Added a limited size random probe to the median to reduce lag. (Kuba663)
* dbcffcc More extensive median testing (Kuba663)
* 36d686e Attempted to fix the median (Kuba663)
* 95d1e08 Better looking debug visuals (tttsaurus)
* 64c0a01 Update GizmosManager to draw block faces (tttsaurus)
* 218014d Separated Meshlets into transparent and opaque (Kuba663)
* 6f67be5 Quantile Utils Tests (Kuba663)
* 7e88ec8 Mild mistake in unused function (Kuba663)
* d298fc1 Merge remote-tracking branch 'origin/proposal/render-system-meshlet' into proposal/render-system-meshlet (Kuba663)
* 33821d1 Fixed absurd median mistake (Kuba663)
* 99ee070 Meshlet algorithm test env setup (tttsaurus)
* 3d37b3b Merge branch 'proposal/render-system' into proposal/render-system-meshlet (tttsaurus)
* bbbedf6 Moved the sub-chunk division into the system for threadmaxxing (Kuba663)
* e30395d Remove unchanged chunks from the algorithm (Kuba663)
* 01280f4 kD-tree deletion test (Kuba663)
* 8b26d96 Remove Octree as it's not necessary anymore (Kuba663)
* 8ad051f Avoid call EntityManager#flush manually (tttsaurus)
* 6b05a18 Remove stray TODO (Kuba663)
* 0be8f2e Errors fixed (Kuba663)
* 8a4a2f1 Merge branch 'CleanroomMC:proposal/render-system' into proposal/render-system (Eerie)
* d4b75aa Forgot I have to flush (Kuba663)
* 2b6ddbc Create Entities (Kuba663)
* ac2214a Function to set values in MeshletComponent (Kuba663)
* 44f8d38 Remove unused imports (Kuba663)
* e018a8a Switch set to list (Kuba663)
* c302ad8 Normal getter function (Kuba663)
* d3e4674 Incomplete chunk meshlet entity creation (misclicked and commited with the same message twice) (Kuba663)
* 72a652c Transfer of Blocks from Meshlet to a Set to be used in MeshletComponent (Kuba663)
* 3637d4a Removed faces from Block (maybe temporarily) (Kuba663)
* 2021987 Meshlet clustering (Kuba663)
* d7948a8 Selection of optimal starting points for Meshlet building (Kuba663)
* cab3c82 k-nearest neighbour search test (Kuba663)
* 18d8835 buildKDTree (Kuba663)
* 9892112 Altered the knn function for easier vector lookups (Kuba663)
* b07b6f4 Expanding Meshlet bounding box (Kuba663)
* 4ae0b1c Replace magic number bitmasks with variables (Kuba663)
* 7326639 Move FSM tests to it's own package (Kuba663)
* 6384324 kD-tree point deletion (Kuba663)
* be32697 kD-tree rewrite (Kuba663)
* ec6cd56 Mistake (Kuba663)
* 707ff5e Make Meshlet Comparable for utility (Kuba663)
* f168d2b Use vectors instead of numbers you retard (Kuba663)
* 3374474 Forgot this was a thing (IntelliJ does not commit file content) (Kuba663)
* 1ad931b Meshlet class for operations in system + package rename (Kuba663)
* 4f79acb getChildren function (Kuba663)
* b432340 Forgot something in the KDTree (Kuba663)
* 746d815 Adding fields to the MeshletComponent (Kuba663)
* 94347c4 Fix (Kuba663)
* e35aca5 Fix (Kuba663)
* e132650 Building the k-d tree (Kuba663)
* a824648 isEmpty on KDTree (Kuba663)
* 50fe384 Documentation on compress (Kuba663)
* 2ce0320 k-d tree (Kuba663)
* cfb70ba Median of medians (Kuba663)
* 9a01610 Median of medians (Kuba663)
* 658c194 Not sure about bitfields being available for CleanStructs (Kuba663)
* ea3fd89 Fix warnings (Kuba663)
* e71e62e Octree implementation (Kuba663)
* fbfd327 Block CleanStruct (Kuba663)1 parent 2280a47 commit c4cb569
File tree
28 files changed
+972
-106
lines changed- src
- main
- java/com/cleanroommc/kirino
- ecs
- component
- schema/def/field
- scalar
- struct
- entity
- job
- engine/render
- geometry
- component
- gizmos
- pipeline/pass/subpasses
- scene
- task
- job
- system
- utils
- resources/assets/forge/shaders
- test/java/com/cleanroommc/test/kirino
- fsm
28 files changed
+972
-106
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
175 | | - | |
| 175 | + | |
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| |||
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
317 | 318 | | |
318 | 319 | | |
319 | 320 | | |
320 | | - | |
| 321 | + | |
| 322 | + | |
321 | 323 | | |
322 | 324 | | |
323 | 325 | | |
| |||
Lines changed: 12 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| 7 | + | |
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
| 12 | + | |
10 | 13 | | |
11 | 14 | | |
12 | 15 | | |
| |||
109 | 112 | | |
110 | 113 | | |
111 | 114 | | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
116 | 124 | | |
117 | 125 | | |
118 | 126 | | |
| |||
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
325 | 326 | | |
326 | 327 | | |
327 | 328 | | |
328 | | - | |
| 329 | + | |
| 330 | + | |
329 | 331 | | |
330 | 332 | | |
331 | 333 | | |
| |||
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
70 | 77 | | |
71 | 78 | | |
72 | 79 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
73 | | - | |
| 72 | + | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
32 | 43 | | |
33 | 44 | | |
34 | 45 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | 101 | | |
105 | 102 | | |
106 | 103 | | |
| |||
126 | 123 | | |
127 | 124 | | |
128 | 125 | | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
| |||
Lines changed: 96 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
0 commit comments