Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minimap Generator #60

Open
Deijin27 opened this issue Nov 26, 2023 · 2 comments
Open

Minimap Generator #60

Deijin27 opened this issue Nov 26, 2023 · 2 comments
Labels
tool enhancement New feature or request in the tool unrelated to mod features
Milestone

Comments

@Deijin27
Copy link
Owner

What would you like?

The minimap images in #35 seem to follow a determined pattern, such that i think it would be pretty easy to generate them from a simple 2d image.

User provides a png where black pixels indicate void, and white squares indicate terrain. The tool scans this inage they provide and creates the minimap facing each required direction.

@Deijin27 Deijin27 added the tool enhancement New feature or request in the tool unrelated to mod features label Nov 26, 2023
@Deijin27 Deijin27 added this to the 6.0 milestone Jan 27, 2024
@Deijin27
Copy link
Owner Author

Deijin27 commented Feb 1, 2024

I've looked more closely at thede minimaps and annoyingly there's unpredictable imorefections around the edges. This means one of three things:

  1. They used some kind of 3d renderer to generate these and the imperfections resulf from lighting
  2. They fully manually created these with great difficulty
  3. They automatically generated a basic thing and added imprefections manually.

Option 3 is what I'm gonna go for with this generator. It will generate the minimap in a predictable and simple manner, then the user can go in and add imperfections if they want.

@Deijin27
Copy link
Owner Author

Deijin27 commented Feb 3, 2024

I've developed a mini proof of concept. It's definitely possible to create accurate (except for imperfections) rectangular minimaps.

It's concerning how many special cases like jagged edges, seeming elevation changes. I don't know if generating all the built-in minimaps is reasonable. Maybe I just leave it at this rectangle generator for now and users can use them as a base to get perspective right, then edit to their actual map shape.

@Deijin27 Deijin27 modified the milestones: 6.0, 6.1 Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tool enhancement New feature or request in the tool unrelated to mod features
Projects
None yet
Development

No branches or pull requests

1 participant