Git Product home page Git Product logo

amsterdam / citydatatobinarymodel Goto Github PK

View Code? Open in Web Editor NEW
1.0 5.0 4.0 969 KB

Development for this project has moved to a new location. Please refer to github.com/Netherlands3D/CartesianTileBakeTool for the latest updates and contributions. If you have any questions or concerns, feel free to reach out to us.

Home Page: https://github.com/Netherlands3D/CartesianTileBakeTool

C# 100.00%
3d binary cityjson threejs tiles unity3d

citydatatobinarymodel's Introduction

⚠️ Development Has Moved!

Attention: Development for this project has moved to a new location. Please refer to github.com/Netherlands3D/CartesianTileBakeTool for the latest updates and contributions.

If you have any questions or concerns, feel free to reach out to us.

CityDataToBinaryModel

TileBakeTool

The TileBakeTool is an executable that converts RD coordinate based CityJSON files from a target folder into combined binary mesh tiles. City Objects are added to tiles using an OVERLAP or TILED method.

OVERLAP places a CityObject in a mesh tile if its centroid is within the tile bounds. TILED cuts CityObjects using the bounds and places the parts into their tiles.

The TileBakeTool can selectively reduce polycount of specific CityObjects, and/or combine double verts, reducing filesize.

Using the Tile Bake Tool

Download the latest release from the releases page and extract with .zip file with all its contents to a folder.
Please note TileBakeTool.exe is not portable and all .dll files are required for the tool to run.

Use TileBakeTool.exe --help to display the available parameters.
Best practice is to supply the required parameters via a config .json file.

Please take a look at the example JSON config files in the config folder.

Use TileBakeTool.exe --config PathToYourConfigFile.json to start the tool using the config file.

Binary tile data

Binary tile byte order

GLTF Wrapper

Gltf files are created next to the binary tiles as a wrapper for the binary data. This way the binary tiles can be used standalone, or used/imported as Gltf files with external binary mesh data. The Gltf files also allow you to load/preview the 3D output using 3D viewers/tools like the standard Windows 3D Viewer.

Brotli compression

The TileBakeTool can optionaly create compressed versions of the binary tiles using Brotli compression, reducing download times for streaming in the data in web applications.

citydatatobinarymodel's People

Contributors

mvangog avatar sambaas avatar tomsimons avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

citydatatobinarymodel's Issues

Crashlog

In a scenario where a bake process stopped/crashed overnight I want to see where and what went wrong

Cant pause/resume progress

In case of failure (disk full), resume tool where it left off.
Maybe write log file that we can use to track where we failed, and can resume from?

Cant see progress percentage

Would like to show progress percentage or file # out of # to be able to estimate time left.
Maybe also show disk space remaining

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.