wfc icon indicating copy to clipboard operation
wfc copied to clipboard

fails with same input while C# "original" generates results

Open NikkyAI opened this issue 9 years ago • 1 comments

i wrote a script to generate the neighbor relations automatically based on faces of the tiles and some other inout i generate data for circuits as .xml and .cfg and run the WaveFunctionCollapse(C#) and wfc(C++) binaries

WaveFunctionCollapse(C#) generates new patterns every time while wfc does not

for different data.. namely by removing a few tiles from the generated data.cfg wfc generates it just fine

i uploaded the sample directory i used as well as the data and samples files here http://nikky.moe/wfc/ this is the latest generated stuff i made sure it generates xml and cfg in parallel from the same input

could somone either fix whatever behaves differently or point me to which lines in the data.cfg break it so that i can adjust my script?

i doubt it matters but i compile and run the binaries on linux 64bit

NikkyAI avatar Oct 30 '16 16:10 NikkyAI

I changed the entropy function in the C++ slightly, that could be the cause of it. This was the commit: https://github.com/emilk/wfc/commit/c41726140d299b86622e1055b329086a9e2f19d8

You could try reverting it and trying again.

emilk avatar Nov 10 '16 14:11 emilk