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

Change Composable generator pipeline - Shape & Composition #1591

Closed
madmaxoft opened this issue Nov 7, 2014 · 0 comments · Fixed by #1604
Closed

Change Composable generator pipeline - Shape & Composition #1591

madmaxoft opened this issue Nov 7, 2014 · 0 comments · Fixed by #1604

Comments

@madmaxoft
Copy link
Member

Current generator is suited only for heightmap-based generators - the overhangs are quite difficult to implement and non-conceptual.

Instead of having a terrain height generator and then terrain composition based on that height alone, we should instead make a terrain shape and then composition based on that shape.
The shape generator will produce a chunk-sized array of bytes, distinguishing air, solid terrain and liquid terrain. Then, the composition will change the solid terrain into stone, dirt, sand, clay etc.

This will require changes in the structure generators as well, because some of those take the terrain height generator as input; these will need rewriting to take the terrain shape generator as input instead.

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

Successfully merging a pull request may close this issue.

1 participant