11617104c5
wip: draw physics thread ups
2026-02-24 18:36:51 +01:00
90e2dc2186
wip: name os threads
2026-02-24 17:51:21 +01:00
c4222c783c
wip: implement a smaller data model to reduce copying from physics to main thread
2026-02-24 17:05:24 +01:00
e7d4170b77
wip: wait until data is ready and has been consumed (couples physics and rendering thread again)
2026-02-24 13:16:00 +01:00
74065b7ea2
wip: don't lock command mutex for each mass/spring in FillGraph()
2026-02-24 12:13:56 +01:00
550970f8a1
wip: integrating threaded decoupled physics
...
Current Issues:
- HUGE memory leak
- HUGE amount of needles copying
- FillGraph() does thousands of lock_guards instead of one
- Can no longer rely on new states appearing immediately - have to check
each access
- Physics run as fast as possible, no constant sim speed`
- Irregular long freezes
2026-02-24 02:05:09 +01:00
39c0b58f3f
implement threaded physics (decoupled from rendering thread) - not yet integrated
2026-02-24 01:02:53 +01:00
bfe8c6d572
store masses/springs inside vector and manage unordered_maps for a state<->index mapping
...
this reduces the time required to iterate over all masses/springs
because data is stored in contiguous memory
2026-02-24 00:01:04 +01:00
404a76654c
update compiler flags, fix tracy allocation profiling, fix compiler warnings
2026-02-23 23:01:30 +01:00
861fb34d39
fix octree corruption bug because of node vector reallocation
2026-02-23 13:46:00 +01:00
30b02c13ed
add vertices draw limit after I accidentally removed it
2026-02-23 00:27:51 +01:00
443069f597
replace openmp with thread-pool library bc openmp has larger fork boundary overhead
2026-02-23 00:14:09 +01:00
e43e505110
implement barnes-hut particle repulsion using octree
2026-02-22 23:29:56 +01:00
bdb4242076
remove useless manual move/copy constructors/assignment operators (pls stop killing my hands bjarne)
2026-02-22 20:28:42 +01:00
9726d5fecc
cleanup repulsion force calculation
2026-02-22 19:19:06 +01:00
157985df6b
extract orbital camera into separate file
2026-02-22 14:30:55 +01:00
f06afc210f
make naming more consistent + rename some files
2026-02-22 14:17:55 +01:00