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

Importing terrain from images #83

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

ZivDero
Copy link
Contributor

@ZivDero ZivDero commented Jan 7, 2024

Original PR #69 by @Multfinite

Creation menu

image

How it works

Terrain just will be projected on the map. All color-to-tile are configurable, see Config\ImporterDefault.ini. Also, config can be specified at creation menu. If It isn't then will be used default.

Base level is the basic height level of the map to create. If heighmap used then heightmap value will be added to base level value.

Projection does not require specific asepct ratio for map, but it is possible to get correct aspect ratio by use 'Auto' on height. In this case size of map can be set by width, which used as base parameter for height calculation.

Note: some values in formulas was reached via experiments and tries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants