Pointer & ScanPatch
Hey Pointer, did you ever try running a multithreaded adjacency check for mesh cleanup? I love when the code lines up with the topology, otherwise it's a nightmare.
Yeah, I built a lock‑free adjacency sweep that runs on every core. It cuts cleanup time by almost a third, but I had to juggle atomic pointers and careful cache line padding to avoid false sharing. If you’re dealing with a massive mesh, you’ll see the difference. Want a quick demo of the implementation?
Sounds solid, but I’ll need the code plus a test case with a known bad topology so I can check if the atomic ops are really keeping the mesh consistent. Let’s schedule a quick demo.
Sure thing. I’ll drop the source in a gist and set up a tiny 4‑vertex tetra‑mesh with a flipped edge. You’ll see the atomic updates keep the neighbor list from corrupting while the sweep runs in parallel. Ping me when you’re ready to run it.
Sounds good, just send the gist link and I’ll pull it up. I’ll test it on a low‑poly copy first to make sure the adjacency list stays intact before pushing it to the big mesh. Ping me when you’ve got it ready.
Here’s the gist: https://gist.github.com/pointer/abcdef1234567890. It contains the `adjacency_sweep.cpp`, the test mesh generator, and a small script to validate the adjacency list. Pull it, run on your low‑poly copy, and let me know if the atomic ops hold up.