neocturne / MinedMap

Minecraft map renderer and viewer
88 stars 13 forks source link

Coordinates watermark #51

Open dreadnaut opened 1 month ago

dreadnaut commented 1 month ago

Over the years I have built a few scripts that update MinedMap tiles with additional information. They work OK at a single tile level, zooming in, but updating higher level tiles is far more difficult for an external program.

A couple of examples in the screenshot below: tile coordinates, and a red highlight of a list of tiles that I plan to trim from the world. A section of a MinedMap map

Maybe these could be useful enhancement for a future version:

neocturne commented 3 weeks ago

Hmm, interesting. Maybe some kind of postprocessing hook could be used for this, making MinedMap call an external command for each generated tile after generation, but before mipmapping?

dreadnaut commented 3 weeks ago

That could work! It would be slower, but far more flexible and easy to implement for you.

Are you thinking about passing tile filename, and maybe the coordinates as parameters to the external tool? Would it work to call the tool only on re-rendered tiles, to avoid repeated overlays on the same image?

neocturne commented 3 weeks ago

Are you thinking about passing tile filename, and maybe the coordinates as parameters to the external tool? Would it work to call the tool only on re-rendered tiles, to avoid repeated overlays on the same image?

Yes, that's exactly what I am considering to implement.

dreadnaut commented 1 week ago

Partially related: any resources you would suggest for getting into Rust?