Comments (2)
The plan is to first create an implicit tileset writer that parses the CDB directory structure to get the contents and metadata template URIs needed to write the root tileset JSON. which looks something like this:
---
"root": {
"refine": "ADD",
"geometricError": 16384.0,
"boundingVolume": {
"region": [-1.707, 0.543, -1.706, 0.544, 203.895, 253.113]
},
"extensions": {
"3DTILES_implicit_tiling": {
"extensions": {
"3DTILES_tile_contents": {
"content": [
{
"uri": "buildings/{level}/{x}/{y}.b3dm",
"extensions": {
"3DTILES_metadata": {
"layer": "buildings"
}
}
},
{
"uri": "trees/{level}/{x}/{y}.i3dm",
"extensions": {
"3DTILES_metadata": {
"layer": "trees"
}
}
}
]
}
},
"maximumLevel": 16,
"subdivisionScheme": "QUADTREE",
"subtreeLevels": 10,
"subtrees": {
"uri": "subtrees/{level}/{x}/{y}.subtree"
}
}
}
}
This new tileset writer will likely be in TileFormatIO.cpp
, since that is where the explicit writer is.
Then, we can start creating the availability buffers for the subtrees. This has already been done in the UTIC terrain tiler here. I'm not sure how much of that applies to use with CDB, but it is a starting point. I will read it more thoroughly when it comes time to implement availability. We will follow the combined subtree JSON and availability buffers binary file described here.
from cdb-to-3dtiles.
One thing to be careful about for implicit tiling is the CDB tiling scheme. The world is split into GeoCells, and within each GeoCell levels [-10, -1] add progressively more detail but only levels [0, N] subdivide as a quadtree. Therefore level 0 CDB tiles would have the implicit extension on them but everything else before that would be part of the explicit tileset.
from cdb-to-3dtiles.
Related Issues (20)
- Seperate Elevation and Imagery in the --combine option
- Generate tighter bounding region for tile
- Out of core
- Vector data not clamped to elevation
- [root@localhost cdb-to-3dtiles]# cmake --build Build --config Release -j 4 HOT 3
- Segmentation fault (core dumped) HOT 2
- Rename Math.h HOT 2
- CDBConverter does not compile HOT 3
- Update README links once `3d-tiles-next` branch is merged
- Use conan for third party libraries
- Store materials metadata in 3DTILES_metadata
- Process all substrates in Composite Material Tables
- San_Diego example is not complet HOT 1
- error 1 / error 2 HOT 2
- Tile availability and content availability are written to separate buffers
- EXT_feature_metadata buffers are not 8-byte aligned HOT 6
- CDBConverter does not recognise Latitude with prefixing 0.
- glTF validation errors in Yemen dataset
- Compilation Error HOT 4
- GT models converting Segmention fault(core dumped) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cdb-to-3dtiles.