Open ttnghia opened 4 years ago
Yay! If you want to contribute these, I'd be happy to have them. As I said on #399, this could happily live in the extras repository, but definitely needs docs and testing :)
Yah. Porting it to magnum is easy and fast, but doc and test are not 😄 I'll do that. There will be an associated example too. ETA is not predictable for now.
@mosra, I think Signed Distance Field (SDF) primitives are very useful in graphics, so it is great if magnum has them.
I have implemented some classes for SDF, and used them here: https://ttnghia.github.io/portfolio/tool-particle-sampling-with-sph-relaxation/
The code is here and here.
If you can adopt my work, it's great. Otherwise, if you like, I can rework it and submit a MR sometime later.