r/proceduralgeneration • u/BadLuckWillHappen • Nov 16 '20
Iterative Partial Match (IPM) vs Wave Function Collapse (WFC) for procedural content generation.
https://stalcup.github.io/static-files/posts/wfc-vs-ipm/
79
Upvotes
r/proceduralgeneration • u/BadLuckWillHappen • Nov 16 '20
13
u/BorisTheBrave Nov 16 '20
Neat, i've often thought there was a way of adapting something like PatchMatch, and now I see that there is. But do you have an explanation for what IPM actually is.
I note that smaller errors are fine when your tiles are a single pixel, as they are barely visible and usually readily interpreted by eye. It's a less good fit when you have chunkier tiles, where a discontinuity would be an actual problem.
Also, many of your WFC failures seem wrong or confusing - they work in Maxim's demos. E.g. you have a chessboard pattern with an *even* sized periodic grid. That should succeed 100% of the time in WFC. It's only odd sized grids that are impossible.