CesiumGS / 3d-tiles

Specification for streaming massive heterogeneous 3D geospatial datasets :earth_americas:
2.15k stars 469 forks source link

Is it OK to use componentType of 5125(UNSIGNED_INT) to store _BATCHID rather than 5123(UNSIGNED_SHORT)? #285

Closed caohaoze closed 6 years ago

caohaoze commented 6 years ago

Now I want to create the buildings of the whole city by 3D Tiles. I will use the refine(replace) attribute in the {tileset.json} because the source data has HLOD. In this case, the root node of quadtree in the tileset has a b3dm file which contains the coarsest models of all buildings in the city. The number of buildings is above 65536, so the UNSIGNED_SHORT can not store all batchid. Can I use the UNSIGNED_INT(0~4294967295) instead of UNSIGNED_SHORT(0~65535)? Does Cesium support this change?

caohaoze commented 6 years ago

UNSIGNED_INT(0, 4294967295) UNSIGNED_SHORT(0, 65535)

caohaoze commented 6 years ago

@pjcozzi @lilleyse

lilleyse commented 6 years ago

Yes UNSIGNED_INT should work fine.

caohaoze commented 6 years ago

OK. Thanks.