Open yiyanggis opened 6 years ago
Hi, Yang. @yiyanggis
You can set these parameters in customTilesetOptions.json
file, and here is the full optional parameters list.
And the bounding
is parameters minHeight
, maxHeight
, tileWidth
, tileHeight
, these value are calculate based on your model file, so basically no need to add. The geometricError
is geometricError, default value is 200
.
Hope that can make some help, BW.
Hi @PrincessGod
I'm curious about how vertices' coordinate of OBJ is translated to WGS84 lat / long?
For Example, I have set the location of origin(0, 0, 0) to (24.808927, 121.033922) in customTilesetOptions.json
, how does it calculate the latitude and longitude of point (1, 1, 1)?
In addition, I have a model with 9 levels of mesh density: 1 model for level one,2 split models for level two, 4 split models for level three, ...
How would you recommend me to calculate and set the geometricError
correctly?
Shall I know all the theory and formula?
And is there any way to translate and combine all levels of OBJ models into one tileset.json?
@CrashedBboy
I just get a transform matrix by a Cesium giving function, if you want know more detail about the matrix, may be you can search TRS Matrix.
Hi @PrincessGod. cesium's demo tileset options is like this("Longitude": { "minimum": 2.0818461850713565, "maximum": 2.0819858114115157 }, "Latitude": { "minimum": 0.4551993222126411, "maximum": 0.4553389485528006 }) ,but customTilesetOptions.json longitude and latitude is only support number. so how to use customTilesetOptions.json when I have bounding info of min/max latlng.
Hi, I'm able to convert obj to 3dtiles. but not sure how to setup the bounding and geometricError in tileset.json. Should I get it from the .obj or what is the way to setup tilesetoptions. Thanks