Hey there, I've been working with the JavaScript SDK for a little while now. Recently, I've been attempting to render some GLTF models inside the SceneView. Managed to do so eventually until I ran into my most recent problem.
Some of the models I wanted to render were on the larger size, so I used draco compression to reduce their size. I'm now noticing that any of the models that have been draco compressed won't render in the scene. I get the following warning in my console log.
[esri.views.3d.layers.graphics.Graphics3DSymbolLayer] gltf loader was not able to load unsupported feature. Required extensions: KHR_draco_mesh_compression
wondering if anyone else has come across this problem before? Any advice for how I can get around it? Thanks!
Draco compression is currently not supported for 3D Symbol resources. This is in our backlog but not yet planned for a release.
Basis Universal compressed textures are supported though. If the models contain large textures, maybe this could be worthwhile to reduce size?
Draco compression is about meshes, not textures.
Support for Draco-compressed glTF models was added in the recently released version 4.34 of the ArcGIS Maps SDK for JavaScript. It is now possible to load glTFs that require the KHR_draco_mesh_compression extension in both ObjectSymbol3DLayer.resource and Mesh.createFromGLTF().