参考资料:
1.https://www.cnblogs.com/onsummer/p/12799366.html
1. https://www.cnblogs.com/onsummer/p/13128682.html
1.https://www.cnblogs.com/onsummer/p/14886996.html#5135130
2.https://blog.csdn.net/hhw_hhw/article/details/135103914
https://blog.csdn.net/qq_40872385/article/details/137874680
https://blog.csdn.net/Rsoftwaretest/article/details/90667628
http://mars3d.cn/dev/guide/map/tileset.html
http://mars3d.cn/dev/guide/map/tileset.html#_1-3dtiles%E4%BB%8B%E7%BB%8D
https://segmentfault.com/a/1190000041318062
一、基本介绍
Revit(RVT)和3D Tiles是两种不同类型的三维数据格式,主要用于建筑、工程和地理信息系统(GIS)领域。
二、和glb关系
转换工具:三维模型:人工建模模型转为3DTiles格式 | Mars3D开发教程
3D Tiles 支持多种几何格式,包括:
Batched 3D Model (b3dm):这是最常用的格式,可以嵌入 GLB 或者 GLTF 模型。
Instanced 3D Model (i3dm):用于存储带有多个实例的模型,每个实例可以是一个 GLB 或 GLTF 模型。
Point Cloud (pnts):用于存储点云数据。
Composite (cmpt):可以组合多个其他格式的 Tiles。
具体来说,Batched 3D Model (b3dm) 格式中,GLB 模型可以作为它的 payload(有效载荷)来存储。这样,3D Tiles 可以在网络传输和渲染时高效地利用 GLB 模型。
Batched 3D Model (b3dm) 是 3D Tiles 规范中的一种格式,专门用于在大规模 3D 场景中批量存储和传输3D模型。
tileset.json:
{
"asset": {
"generatetool": "cesiumlab3@www.cesiumlab.com/model2tiles",
"version": "1.1"
},
"extras": {
"scenetree": "scenetree.json"
},
"geometricError": 1093.9185988288373,
"properties": {
"地址": {
"extras": {
"group": "",
"id": "1ed3dac48e7471e11e1fa0777c47192b",
"name": "地址",
"type": "string",
"unittype": ""
},
"maximum": -2147483647.0,
"minimum": 2147483647.0
},
"负责人": {
"extras": {
"group": "",
"id": "d0aaf87d2c3c623410b6efb20c462ef3",
"name": "负责人",
"type": "string",
"unittype": ""
},
"maximum": -2147483647.0,
"minimum": 2147483647.0
}
},
"refine": "REPLACE",
"root": {
"boundingVolume": {
"box": [
-9.313225746154785e-10,
0.01461515505798161,
79.27479144139215,
546.9592994144186,
0,
0,
0,
491.50253849918954,
0,
0,
0,
51.83136284397915
]
},
"children": [
{
"boundingVolume": {
"box": [
78.44910714850451,
-133.61501164716015,
62.557087089603314,
238.91571476277485,
0,
0,
0,
299.2483010152529,
0,
0,
0,
35.07316210960718
]
},
"content": {
"uri": "NoLod_0.glb"
},
"geometricError": 0.0,
"refine": "REPLACE"
},
{
"boundingVolume": {
"box": [
182.24060914573863,
-314.8460016422549,
36.17286962434224,
153.2073199737141,
0,
0,
0,
63.76910682849382,
0,
0,
0,
5.058037740212187
]
},
"content": {
"uri": "NoLod_1.glb"
},
"geometricError": 0.0,
"refine": "REPLACE"
},
{
"boundingVolume": {
"box": [
-114.77800068855788,
-80.870083720281,
57.15060964039941,
432.1311692364342,
0,
0,
0,
362.729729978937,
0,
0,
0,
26.176803688056257
]
},
"content": {
"uri": "NoLod_2.glb"
},
"geometricError": 0.0,
"refine": "REPLACE"
},
{
"boundingVolume": {
"box": [
-101.82959163582007,
45.814098172794786,
40.75461621072135,
445.0060812575266,
0,
0,
0,
445.64542914922487,
0,
0,
0,
9.928653964579853
]
},
"content": {
"uri": "NoLod_3.glb"
},
"geometricError": 0.0,
"refine": "REPLACE"
},
{
"boundingVolume": {
"box": [
176.29959097049334,
-120.9750824808341,
50.121677064958924,
364.05705550598395,
0,
0,
0,
363.48672767184587,
0,
0,
0,
19.140742338236997
]
},
"content": {
"uri": "NoLod_4.glb"
},
"geometricError": 0.0,
"refine": "REPLACE"
},
{
"boundingVolume": {
"box": [
248.48687474378858,
-60.615468472483144,
65.3863901328014,
194.8693546001124,
0,
0,
0,
157.59826419679814,
0,
0,
0,
34.39031360293268
]
},
"content": {
"uri": "NoLod_5.glb"
},
"geometricError": 0.0,
"refine": "REPLACE"
},
{
"boundingVolume": {
"box": [
113.26660787873851,
-121.30356970751396,
49.75785359783327,
429.8014285388403,
0,
0,
0,
368.37708543967517,
0,
0,
0,
18.73352971251922
]
},
"content": {
"uri": "NoLod_6.glb"
},
"geometricError": 0.0,
"refine": "REPLACE"
},
{
"boundingVolume": {
"box": [
169.76949084030497,
-152.15421276829744,
53.54928522179644,
286.2775748935907,
0,
0,
0,
289.3082871023233,
0,
0,
0,
22.8218419325889
]
},
"content": {
"uri": "NoLod_7.glb"
},
"geometricError": 0.0,
"refine": "REPLACE"
},
{
"boundingVolume": {
"box": [
124.61484473746606,
-126.8156651015988,
52.974987285929146,
255.52697669292007,
0,
0,
0,
292.476883197495,
0,
0,
0,
22.203383318262894
]
},
"content": {
"uri": "NoLod_8.glb"
},
"geometricError": 0.0,
"refine": "REPLACE"
},
{
"boundingVolume": {
"box": [
87.00912464390655,
-90.3428333873164,
61.45162376003383,
216.46007434434858,
0,
0,
0,
256.0040514832126,
0,
0,
0,
30.892339899298683
]
},
"content": {
"uri": "NoLod_9.glb"
},
"geometricError": 0.0,
"refine": "REPLACE"
},
{
"boundingVolume": {
"box": [
78.20710338365888,
-138.9819309566668,
63.43936669360645,
239.15769980928957,
0,
0,
0,
304.6178694958903,
0,
0,
0,
35.87386438825464
]
},
"content": {
"uri": "NoLod_10.glb"
},
"geometricError": 0.0,
"refine": "REPLACE"
},
{
"boundingVolume": {
"box": [
78.44324570898053,
-138.35192886834886,
63.77476276991737,
238.8772183877954,
0,
0,
0,
303.3625513212868,
0,
0,
0,
33.678593165317366
]
},
"content": {
"uri": "NoLod_11.glb"
},
"geometricError": 0.0,
"refine": "REPLACE"
},
{
"boundingVolume": {
"box": [
87.22837664063874,
-140.52637059231847,
62.68061526684694,
248.19456172314383,
0,
0,
0,
303.07342986023866,
0,
0,
0,
34.949633932363554
]
},
"content": {
"uri": "NoLod_12.glb"
},
"geometricError": 0.0,
"refine": "REPLACE"
},
{
"boundingVolume": {
"box": [
139.72179945241,
-157.44270141677458,
67.71410199653137,
291.72655566578624,
0,
0,
0,
211.1323516482674,
0,
0,
0,
36.80091613517089
]
},
"content": {
"uri": "NoLod_13.glb"
},
"geometricError": 0.0,
"refine": "REPLACE"
},
{
"boundingVolume": {
"box": [
176.5475547183911,
-121.32422419121139,
81.0432758714675,
366.37955737146603,
0,
0,
0,
368.25611912843357,
0,
0,
0,
50.08807890421503
]
},
"content": {
"uri": "NoLod_14.glb"
},
"geometricError": 0.0,
"refine": "REPLACE"
},
{
"boundingVolume": {
"box": [
176.2996473280018,
-120.97513643838002,
50.812661204672075,
364.2574757954641,
0,
0,
0,
363.6871474416597,
0,
0,
0,
21.499983827486467
]
},
"content": {
"uri": "NoLod_15.glb"
},
"geometricError": 0.0,
"refine": "REPLACE"
},
{
"boundingVolume": {
"box": [
216.93435193938274,
-128.71259093033927,
61.09857141265312,
274.72505167969825,
0,
0,
0,
312.8784403460643,
0,
0,
0,
30.187399379983027
]
},
"content": {
"uri": "NoLod_16.glb"
},
"geometricError": 0.0,
"refine": "REPLACE"
},
{
"boundingVolume": {
"box": [
204.90697686796318,
-331.24272256050637,
42.7044892550972,
181.49472501685227,
0,
0,
0,
86.83192030393383,
0,
0,
0,
11.667198752537576
]
},
"content": {
"uri": "NoLod_17.glb"
},
"geometricError": 0.0,
"refine": "REPLACE"
},
{
"boundingVolume": {
"box": [
93.85660173184476,
-143.32277521783527,
42.67566609127627,
234.0886932708919,
0,
0,
0,
298.21057133697497,
0,
0,
0,
11.605111310212147
]
},
"content": {
"uri": "NoLod_18.glb"
},
"geometricError": 0.0,
"refine": "REPLACE"
}
],
"geometricError": 1093.9185988288373,
"transform": [
-0.8903442895049883,
-0.45528787173156443,
0.0,
0.0,
0.23893873392797907,
-0.4672598382321002,
0.8512206088930212,
0.0,
-0.38755041939695006,
0.7578794082368606,
0.5248080363292792,
0.0,
-2474131.205732857,
4838320.384271334,
3327958.371404471,
1.0
]
}
}