|
c930e8b754
|
API improvements, crash fixes and smaller various improvements for the Tiling WFC class.
|
2022-04-24 15:14:29 +02:00 |
|
|
c9a520f9c3
|
Better error handling and fix potential crash in the overlapping WFC class.
|
2022-04-24 15:13:50 +02:00 |
|
|
dcdb5715cc
|
Use ERR_FAIL_COND macro again if the image passed in is not valid in index_image. Also don't delete color information.
|
2022-04-24 11:46:46 +02:00 |
|
|
53aed73a64
|
Added helper methods so tile name can also be used when it's more conveninent in TilingWaveFormCollapse.
|
2022-04-24 11:34:09 +02:00 |
|
|
7dbf967170
|
Improved the api / usability of the image indexer.
|
2022-04-24 11:19:03 +02:00 |
|
|
b8dcd4fbf8
|
Add back binding that I accidentally emoved.
|
2022-04-24 09:51:09 +02:00 |
|
|
9b717b0a87
|
Added reset method to the ImageIndexer, and made it's index_image method additive.
|
2022-04-24 09:49:59 +02:00 |
|
|
6736ff17fd
|
Bindings for TilingWaveFormCollapse.
|
2022-04-24 01:49:26 +02:00 |
|
|
f9db81c6c4
|
Added new helper methods to Array2D.
|
2022-04-24 01:39:47 +02:00 |
|
|
3ba0a856a3
|
Fix typo.
|
2022-04-24 01:37:16 +02:00 |
|
|
c7ee453e8a
|
Found an unneeded static cast.
|
2022-04-23 21:30:51 +02:00 |
|
|
05dddc114e
|
Found more smaller things.
|
2022-04-23 16:03:37 +02:00 |
|
|
f3c96f945a
|
Lots of small fixes and improvements to the wfc module. It still has issues though.
|
2022-04-23 15:23:00 +02:00 |
|
|
2f81373562
|
Lots of work on the bindings for the wfc module. Also smaller improvements.
|
2022-04-23 00:48:19 +02:00 |
|
|
0f1c04e08d
|
Added a new ImageIndexer helper class.
|
2022-04-22 22:54:42 +02:00 |
|
|
73caee4fa2
|
Re-extracted the class docs.
|
2022-04-22 19:39:21 +02:00 |
|
|
e1ca765409
|
Set up doc classes for the wfc module.
|
2022-04-22 19:36:12 +02:00 |
|
|
e311cacced
|
Use int-s instead of uint32_t-s in the wfc module for better compatibility with scripting.
|
2022-04-22 19:07:29 +02:00 |
|
|
129ed4e349
|
Register the new classes into the ClassDB.
|
2022-04-22 18:54:59 +02:00 |
|
|
6e5407c55f
|
Finished the initial cleanup for OverlappingWaveFormCollapse, and added it to the build.
|
2022-04-22 18:50:27 +02:00 |
|
|
21be696f6a
|
OverlappingWaveFormCollapse initial codestyle cleanup / setup.
|
2022-04-22 15:18:19 +02:00 |
|
|
2c0952a893
|
Fix different signedness warnings.
|
2022-04-22 02:52:54 +02:00 |
|
|
137bf204a6
|
Finished the first set of cleanups, and added TilingWaveFormCollapse to the build.
|
2022-04-22 02:35:38 +02:00 |
|
|
24ef915413
|
More cleanups and refactors to the TilingWaveFormCollapse class.
|
2022-04-22 01:55:53 +02:00 |
|
|
89541c361b
|
Initial cleanup to the TilingWFC class.
|
2022-04-22 01:15:40 +02:00 |
|
|
e6e780291f
|
Small improvements.
|
2022-04-22 00:56:24 +02:00 |
|
|
6c6e9599c2
|
Revert the previous change for now.
|
2022-04-22 00:50:57 +02:00 |
|
|
e7b3819103
|
Remvoed the PropagationEntry struct.
|
2022-04-22 00:33:10 +02:00 |
|
|
cc921370ce
|
Fixed comparison of integer expressions of different signedness warnings.
|
2022-04-22 00:08:26 +02:00 |
|
|
bcfb45d049
|
Also merged directions.h into WaveFormCollapse.
|
2022-04-21 23:35:45 +02:00 |
|
|
9f190ca13c
|
Move methods out from the anonymous namespace.
|
2022-04-21 23:33:21 +02:00 |
|
|
5beae4d5dc
|
Merged Propagator and Wave into the WaveFormCollapse class, ans simplified it's design as much as possible. It still needs more work though.
|
2022-04-21 23:31:25 +02:00 |
|
|
fdb6ced123
|
Got rid of the EntropyMemoisation struct as it just makes readability worse.
|
2022-04-21 20:14:31 +02:00 |
|
|
a501292046
|
Renamed WFC to WaveFunctionCollapse, asn started transforming it.
|
2022-04-21 20:00:42 +02:00 |
|
|
96738f5783
|
Notes.
|
2022-04-21 19:45:09 +02:00 |
|
|
dc1064aac4
|
Small improvements.
|
2022-04-21 17:45:30 +02:00 |
|
|
4e8d254ba9
|
Smaller improvements.
|
2022-04-21 17:33:44 +02:00 |
|
|
2680c89948
|
Got rid of std::touples in the wfc module.
|
2022-04-21 17:17:50 +02:00 |
|
|
bb723e3c44
|
Got rid of std::arrays in the wfc module.
|
2022-04-21 17:05:26 +02:00 |
|
|
e4a2429b45
|
Use error macros in the wfc module instead of asserts.
|
2022-04-21 16:51:10 +02:00 |
|
|
ec6b52f5d8
|
unsigned to uint32_t conversion for the wfc module.
|
2022-04-21 16:43:04 +02:00 |
|
|
531dc783d8
|
std::size_t to uint32_t for the wfc module.
|
2022-04-21 16:36:33 +02:00 |
|
|
f080f5e027
|
Replace std::vectors in the wfc module to engine vectors.
|
2022-04-21 16:31:03 +02:00 |
|
|
c886f9f7af
|
Add wfc's classes to the build.
|
2022-04-21 14:28:18 +02:00 |
|
|
5be272e5cb
|
Fix a few typos and remove std::optional from wcf.
|
2022-04-21 14:28:04 +02:00 |
|
|
dfbae29faa
|
An another set of codestyle cleanups for the wfc module.
|
2022-04-20 03:24:50 +02:00 |
|
|
837e518e5a
|
Clang format and codestyle cfixed to the wfc module.
|
2022-04-20 03:05:34 +02:00 |
|
|
98008d48c9
|
Proper structural setup for the new module.
|
2022-04-20 02:50:16 +02:00 |
|
|
05bb8567ba
|
Added a new wfc (wave function collapse) module. I added https://github.com/math-fehr/fast-wfc 's code as a base for it. It's not in the build yet.
|
2022-04-20 02:39:35 +02:00 |
|
|
bb303112fe
|
Move paint's shader to an another folder to avoid unused variable warning.
|
2022-04-19 00:10:39 +02:00 |
|