Offnuts is right. I've reversed-engineered .jar files as well as compiled code - there's got to be a lot of money in the game to make it worthwhile, because it would certainly entail an awful lot of unfun hours. I'd rather have teeth extracted without anaesthetics.
But in this case, I think it is unnecessary. I know what this one smells like.
Read the context:
Blur By ColorOne commonly feeds the G'MIC smoothing algorithm -diffusiontensors with -structuretensors and doctors the results, i.e., judicious modification of the tensor field, then feed the concoction to -smooth. For those who prefer their whiskey with branch water, a couple of Gimp-G'MIC filters furnish a starting point:
Fire up Gimp and draw some lines (black on white, say)
Do Filters->G'MIC->Contours->Edges Offsets
Maybe, possibly Follow up with Filters->G'MIC->Contours->Gradient RGB
Now you're so damn close its on a silver platter. You need the vector transverse to the contour to break the contour runs into segments so you got your tile chips. That vector is 90 rotated degrees from the contour, which you know. Everything else is gathering rendering details from the user or pixel sampling from the underlying image to color the tile. Maybe relief_light or bump-mapping for fake shadows and highlights. Don't nobody have to reverse engineer anything.
I have clients today. They've made my phone ring all ready. Probably keep me busy over the weekend. Next week smells like the holidays to Noo Yawkers and it will settle down. I can then play with toys. Isn't that what Christmas is for?
Of course, Ronounours probably has coded this already. Probably waiting for my 200 loc so he can boil it down to - what? Ten, maybe fifteen lines. He'll do it over croissants and coffee, probably.
Stay tuned.
Garry
dinnasset - see you've posted a PDF. Haven't read it. Interesting to see if their thinking is like my thinking. But I like my thinking. Ciao.