Lurker News

Comments (122) 39 threads

Earlier comments
ExUtumno#
PatchMatch is an algorithm to quickly... match similar patches in an image, it is used in a lot of texture synthesis algos. See my answer to fitzwatermellow for the difference between texture synthesis and WFC. So yes, it's related.

Photoshop's implementation of PatchMatch handles constraints perfectly, yes.

valine2 replies#
You should add some gifs with a lower frame rate. I had to download the one you had and walk through frame by frame. Absolutely beautiful.
TheRealPomax1 reply#
lower framerate, or lower playback speed?
vinchuco#
Probably meant playback speed. Probably you knew this.
ExUtumno#
Thanks!

Yeah, you a right, I'll upload slower gifs. Right now youtube video has the slowest speed, in fact it has segments with no frame-skipping at all: https://youtu.be/DOQTr2Xmlz0

wodencafe1 reply#
That's incredible!

This could be great for generating maps in a sprite based strategy game!

khalilravanna1 reply#
As a person currently rewriting the mapgen algorithm for their Dwarf-Fortress-like game, I'm very excited to experiment with this this weekend =D
Sire1 reply#
Cool, got anything to show? :)
khalilravanna#
As far as the game? Sure I got a blog over here => http://ripplega.me/development/month-development-feb-08/ If you meant the map specifically, at a high level I haven't changed the algorithm (yet) so you can check out an overview of my current one here: http://ripplega.me/development/month-development-may-10/

The blog itself hasn't been updated it in a while as I've been in the midst of some pretty serious rewrites/refactors over the past several months. Since that post I've rewritten the game in TypeScript, rewritten the core engine to use the ECS (Entity Component System) pattern, and right now am actually in the midst of a rewrite of pretty much the whole game. Hence I mentioned the rewrite of the mapgen code, the first version of which was probably written 2 years ago hehe. I had a huge amount of features built up over 2 years (idealogically similar to DF in that regard heh) but realized I needed to pare down the feature set to get an alpha out so people could play. It's also allowing me to address some fundamental flaws that the engine built up over the past year or two. So that's the point where I'm at now.
Feel free to sub to the mailing list if you'd like to know about any updates and when the game comes to fruition you'll be notified ;)

Sharlin1 reply#
This could be extra awesome if it could be made small and fast enough to be able to execute as a fragment shader.
ExUtumno#
Well, right now it is not fast at all. :) But I plan to think about the problem of generating pixel shaders form examples in the future.

Load more comments