TA的每日心情 | 开心 2020-3-20 17:50 |
---|
签到天数: 1 天 [LV.1]初来乍到
|
楼主 |
发表于 2020-3-19 09:44:48
|
显示全部楼层
本帖最后由 liyihongcug 于 2020-3-19 09:52 编辑
海量数据分析处理 。 做过类似开发能看懂下面的东西,可以按照定义格式自己做这个文件
第一部分物理文件处理建筑模 型文件
b {"BATCH_LENGTH":6} {"height":{"byteOffset":72,"componentType":"FLOAT","type":"SCALAR"},"objectid":["21","22","23","24","25","26"],"shape_area":{"byteOffset":24,"componentType":"FLOAT","type":"SCALAR"},"shape_len":{"byteOffset":48,"componentType":"FLOAT","type":"SCALAR"},"xzqdm":["娴嬭瘯1","娴嬭瘯2","娴嬭瘯3","娴嬭瘯4","娴嬭瘯5","娴嬭瘯6"],"xzqmc":["name1","name2","name3","name4","name5","name6"],"xzqmj":{"byteOffset":0,"componentType":"FLOAT","type":"SCALAR"}} 窤 鯞 B A 侭 燖glTF ? JSON{"asset":{"generator":"lab","version":"2.0"},"scenes":[{"nodes":[0]}],"scene":0,"nodes":[{"mesh":0,"matrix":[1.0,0.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0,1.0,0.0010000000474974514,0.0,0.0,0.0,1.0]}],"meshes":[{"primitives":[{"attributes":{"NORMAL":1,"POSITION":2,"_BATCHID":3},"indices":0,"mode":4,"material":0}]}],"accessors":[{"bufferView":0,"byteOffset":0,"componentType":5123,"count":243,"max":[154],"min":[0],"type":"SCALAR"},{"bufferView":1,"byteOffset":0,"componentType":5126,"count":155,"max":[0.9988886117935181,0.9957988858222961,1.0],"min":[-0.9908678531646729,-0.9997218251228333,0.0],"type":"VEC3"},{"bufferView":1,"byteOffset":1860,"componentType":5126,"count":155,"max":[118.55355072021485,119.99430084228516,123.0674819946289],"min":[-118.55101013183594,-119.96600341796875,-0.350239634513855],"type":"VEC3"},{"bufferView":2,"byteOffset":0,"componentType":5123,"count":155,"max":[5],"min":[0],"type":"SCALAR"}],"materials":[{"pbrMetallicRoughness":{"metallicFactor":0.30000001192092898,"roughnessFactor":0.699999988079071}}],"bufferViews":[{"buffer":0,"byteOffset":4030,"byteLength":486,"target":34963},{"buffer":0,"byteOffset":0,"byteLength":3720,"byteStride":12,"target":34962},{"buffer":0,"byteOffset":3720,"byteLength":310,"byteStride":2,"target":34962}],"buffers":[{"byteLength":4516}]} ? BIN
第二部分瓦片结构
r {_content: T, _batchId: 6, _color: undefined}
_batchId
:
6
_color
:
undefined
_content
:
T
featurePropertiesDirty
:
false
_batchIdAttributeName
:
"a_batchId"
_batchTable
:
L {featuresLength: 7, _translucentFeaturesLength: 0, _extensions: {…}, _properties: {…}, _batchTableHierarchy: undefined, …}
_contentModelMatrix
:
c {0: -0.898458234112383, 1: -0.439058995529824, 2: 0, 3: 0, 4: 0.219147513328513, 5: -0.448447452027847, 6: 0.866527120274756, 7: 0, 8: -0.380456527027185, 9: 0.778538426292546, 10: 0.499129992916012, 11: 0, 12: -2424569.26045182, 13: 4961461.30339503, 14: 3180850.24654401, 15: 1}
_diffuseAttributeOrUniformName
:
{0: "u_baseColorFactor"}
_features
:
(7) [r, r, r, r, r, r, r]
_model
:
Te {_cacheKey: undefined, _cachedGltf: undefined, _releaseGltfJson: true, _resource: R, show: true, …}
_resource
:
R {_url: "http:///sampledata/shp3dtiles2/0/0/0.b3dm", _templateValues: {…}, _queryParameters: {…}, headers: {…}, request: n, …}
_rtcCenterTransform
:
c {0: 1, 1: 0, 2: 0, 3: 0, 4: 0, 5: 1, 6: 0, 7: 0, 8: 0, 9: 0, 10: 1, 11: 0, 12: 0, 13: 0, 14: 0, 15: 1}
_tile
:
B {_tileset: H, _header: {…}, transform: c, _initialTransform: c, computedTransform: c, …}
_tileset
:
H {_url: "./sampledata/shp3dtiles2/tileset.json", _basePath: "./sampledata/shp3dtiles2/", _root: B, _asset: {…}, _properties: undefined, …}
batchTable
:
(...)
batchTableByteLength
:
(...)
featuresLength
:
(...)
geometryByteLength
:
(...)
innerContents
:
(...)
pointsLength
:
(...)
readyPromise
:
(...)
texturesByteLength
:
(...)
tile
:
(...)
tileset
:
(...)
trianglesLength
:
(...)
url
:
(...)
__proto__
:
Object
color
:
(...)
content
:
(...)
pickId
:
(...)
primitive
:
(...)
show
:
(...)
tileset
:
(...)
__proto__
:
Object |
|