ergor / mcworld Goto Github PK
View Code? Open in Web Editor NEWA program for generating Minecraft maps from real world data
License: GNU Affero General Public License v3.0
A program for generating Minecraft maps from real world data
License: GNU Affero General Public License v3.0
Currently the rendering works on a per source height map basis.
But it should be working on a per chunk basis.
I.e. now it takes a height map and figures out which chunks they will become. But it should be the reverse; it should take a chunk coordinate, and figure out what source height map it needs to read from as well as which points it needs to read.
The rendering should be able to render any 1 chunk, fully independently from other chunks.
It should work as follows:
The chunk first approach is better suited for streaming live data, e.g. for use in a server plugin with live data loading.
The current SOSI format implementation is thrown together to get testing quickly.
It should follow the specification:
https://www.kartverket.no/globalassets/standard/sosi-standarden-del-1-og-2/sosi-standarden/del1_2_realiseringsosigml-4.0.pdf
In WorldMapper#toChunkBuilders
, it is currently assumed that the distance unit per pixel is in meters per pixel.
Need to account for other units as well.
I believe Java suffers from not having value-type structs. We cannot pass a coordinate, nor return one, without allocating it on the heap. There are millions of allocations being done while rendering, which must unnecessarily slow down the process.
Consider the following options:
Now we get random biomes in generated map
If the input heightmap has heights greater than 255, it can't fit in the game. There should be several options for how to deal with this:
The Block
class and its subclasses can be statically initialized. There is no need to create new objects each time we want to add a block to a world; the NBT lib doesn't seem to care.
Now it is "mcworld-$VERSION". Remember to update README.
Detect hills and mountains in order to render the slopes as pure stone.
Currently they just look like heaps of dirt.
Im not happy with how it turned out. See if it can be done in a better way
Add support for additional data:
Add support for OpenStreetMap (.osm) exports.
Can extract lots of surface data like roads, streets, forests, beach etc.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.