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

WIP: Add mapgen diamond-square #11216

Closed
wants to merge 5 commits into from

Conversation

vladtcvs
Copy link

@vladtcvs vladtcvs commented Apr 19, 2021

Generate beatiful mountains using diamond-square algorythm: #11213

This PR is a Work in Progress

@vladtcvs
Copy link
Author

image

@SmallJoker SmallJoker added @ Mapgen Feature ✨ PRs that add or enhance a feature WIP The PR is still being worked on by its author and not ready yet. labels Apr 20, 2021
@vladtcvs
Copy link
Author

vladtcvs commented Apr 21, 2021

image
image

PseudoRandom *prandom;
public:
MountainLandscape(PseudoRandom *prandom) {this->prandom = prandom;}
std::list<std::tuple<DiamondSquareMountain *, std::pair<double, double>>> mountains;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

small bit of advice: We have a core::vector2d<double> type you could use here,
perhaps core::vector2d<float> (short v2f) would also suffice.

@Emojigit
Copy link
Contributor

Emojigit commented May 4, 2021

This mapgen cannot generate good plains

@ThatElektrika
Copy link

wow...

@rubenwardy
Copy link
Member

Closing as WIP with no progress. Also, is not on the roadmap

@rubenwardy rubenwardy closed this Oct 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature ✨ PRs that add or enhance a feature @ Mapgen Possible close WIP The PR is still being worked on by its author and not ready yet.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants