1 Star 0 Fork 0

InnovatorNZ/OSMCity

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
About these projects:
OSMCityPreview: Preview the reconstruction effect written in Unity. It's a Unity project, you should open it in unity. Newest version of OSMCity will show here in the first place.
OSMCityCoder: Encode the reconstruction part. It turn OSM file to an encoded block.txt file. This project is updated after a main version of OSMCityPreview is finished. It's a C# console application.
OSMCityReader: Read the osm file and turn it into osm.txt that OSMCityPreview or OSMCityCoder use. It's a Java console application.
OSMCityGenerator: Turn the block.txt generated in OSMCityCoder to a Minecraft world. Unzip the OSMCustomed.zip which is an empty world, and the program will turn it to generatored world. You can load this generated world in Minecraft BE above 1.14. It's a Python console application.
OSMCityPolygonalCylinder: This project is an experiment on mesh style instead of voxel/Minecraft style. Don't care this if you are only interested in Minecraft.
Use order:
0. Prepare an osm file and rename it to xml.osm and then put it into OSMCityReader/OSMReader4
1. Open OSMCityReader in Java IDE and compile and run OSMReader4.
2. Copy the generated osm.txt to OSMCityPreview/samples or OSMCityCoder\OSMCityCoder\bin\Release
3. To preview in Unity: Open OSMCityPreview in Unity, and then find the function getFileName(), change the file name to "osm.txt" (return "osm.txt")
To generate in Minecraft:
(1). Run OSMCityCoder.exe or open OSMCityCoder in Visual Studio and then compile and run it. The block.txt generated would be automatically moved into OSMCityGenerator.
(2). Run OSMCityGenerator in Python by executing "python main.py" or open it in Python IDE. Make sure you have unzipped the empty world in OSMCustomed.zip.

空文件

简介

Converting OSM map to Minecraft world. 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/innovatornz/OSMCity.git
git@gitee.com:innovatornz/OSMCity.git
innovatornz
OSMCity
OSMCity
master

搜索帮助