Skip to main content

Hi,

I currently work with the Cesium 3DTiles writer and stumpled upon some requests asking for support for the DRACO compression.
I tried to do apply the compression afterwards using ‘3d-tiles-tools’ with no luck. So I took a deeper look on the b3dm Files using ‘3d-tiles-tools analyze’ and it looks to me like it’s already DRACO compressed. 

‘3d-tiles-tools analyze’ gives me:

{
"asset": {
"generator": "FME 2022.2.5.0",
"version": "2.0"
},
b...]
"meshes": <
{
"primitives":
{
"attributes": {
"_BATCHID": 4,
"NORMAL": 2,
"POSITION": 1,
"COLOR_0": 3
},
"indices": 0,
"material": 0,
"mode": 4,
"extensions": {
"KHR_draco_mesh_compression": {
"bufferView": 0,
"attributes": {
"_BATCHID": 3,
"POSITION": 0,
"NORMAL": 1,
"COLOR_0": 2
}
}
}
}
]
}
],
r...]
"scene": 0,
"extensionsUsed": x
"CESIUM_RTC",
"KHR_draco_mesh_compression"
],
"extensionsRequired": s
"CESIUM_RTC",
"KHR_draco_mesh_compression"
],
<...]
}

Can somebody confirm that the Cesium 3D Tiles writer is already doing DRACO compression? Or am I missing something?

best regards,
Oliver

Yes, the extension present suggests draco compression is already in use.

One thing which you can do is to use 3d-tiles-tools to decompress and then recompress. You might find that the compression is better. I’ve seen this in the past. 

Draco compression was added I think with FME 2021 or FME 2022.


Reply