-
Notifications
You must be signed in to change notification settings - Fork 28
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
Terrain image import #69
Open
Multfinite
wants to merge
7
commits into
CnCNet:yr
Choose a base branch
from
Multfinite:terrain_image_import
base: yr
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
82693e9
to
47ae89a
Compare
447a1cd
to
89cc7f9
Compare
e75d315
to
acc4192
Compare
563420f
to
a925280
Compare
0708975
to
32ace71
Compare
85662c3
to
9ce3f0b
Compare
a7be093
to
3230bb5
Compare
6a5727c
to
ae17c0d
Compare
cb8f491
to
14d1272
Compare
41942aa
to
ef3690f
Compare
cafad97
to
338df88
Compare
a0cdfcf
to
eeea5b8
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Creation menu
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.