I am trying to load a gltf that uses the extension “EXT_mesh_gpu_instancing” but I am not seeing multiple instances of my model, only one instance of the mesh spawns, when I should have 490. I have inlcuded the tileset.json text and the gltf file.
tileset.json
{
"asset": {
"version": "2.0"
},
"extensionsUsed": [ "3DTILES_content_gltf" ],
"extensionsRequired" : [ "3DTILES_content_gltf" ],
"extensions": {
"3DTILES_content_gltf": {
"extensionsUsed": ["EXT_mesh_gpu_instancing"]
}
},
"geometricError": 1,
"root": {
"transform": [ ... ],
"boundingVolume": {
"region": [ ... ]
},
"geometricError": 1,
"refine": "ADD",
"content": {
"uri": "linked_cubed_inst.gltf"
}
}
linked_cubed_inst.gltf (31.3 KB)
I am not sure where I am going wrong.
Any help would be greatly appreciated!
Thanks
Taylor
Hi @taymiser ,
Cesium for Unreal does not yet support instancing, whether through EXT_mesh_gpu_instancing or i3dm. Keep an eye on these issues:
opened 12:01AM - 03 Nov 21 UTC
enhancement
Roadmap issue to keep track of 3D Tiles Next extensions and their implementation… status in Cesium Native.
See [3D Tiles Next README](https://github.com/CesiumGS/3d-tiles/tree/main/next) for more background on these extensions.
3D Tiles Next extensions:
* [x] [3DTILES_content_gltf](https://github.com/CesiumGS/3d-tiles/tree/main/extensions/3DTILES_content_gltf)
* [ ] [3DTILES_metadata](https://github.com/CesiumGS/3d-tiles/tree/main/extensions/3DTILES_metadata)
* [ ] [EXT_mesh_features](https://github.com/KhronosGroup/glTF/pull/2082) - Successor to [EXT_feature_metadata](https://github.com/CesiumGS/glTF/tree/3d-tiles-next/extensions/2.0/Vendor/EXT_feature_metadata) ([#281](https://github.com/CesiumGS/cesium-native/pull/281))
* [x] [3DTILES_implicit_tiling](https://github.com/CesiumGS/3d-tiles/tree/3d-tiles-next/extensions/3DTILES_implicit_tiling) - https://github.com/CesiumGS/cesium-native/issues/353
* [x] [3DTILES_bounding_volume_S2](https://github.com/CesiumGS/3d-tiles/tree/main/extensions/3DTILES_bounding_volume_S2) - https://github.com/CesiumGS/cesium-native/issues/364
* [ ] [3DTILES_multiple_contents](https://github.com/CesiumGS/3d-tiles/tree/main/extensions/3DTILES_multiple_contents)
Other useful glTF extensions
* [ ] [EXT_mesh_gpu_instancing](https://github.com/KhronosGroup/glTF/blob/master/extensions/2.0/Vendor/EXT_mesh_gpu_instancing) - https://github.com/CesiumGS/cesium-native/pull/290 (related)
* [x] [KHR_texture_basisu](https://github.com/KhronosGroup/glTF/blob/master/extensions/2.0/Khronos/KHR_texture_basisu/README.md)
* [ ] [EXT_meshopt_compression](https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Vendor/EXT_meshopt_compression)
* [ ] [KHR_mesh_quantization](https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Khronos/KHR_mesh_quantization)
The initial 3D Tiles Next datasets we want to show are OWT and CDB. The OWT base globe uses nearly all the 3D Tiles Next extensions. CDB data can be converted to 3D Tiles Next with the `--3d-tiles-next` flag once https://github.com/CesiumGS/cdb-to-3dtiles/pull/58 is merged. Datasets like Yemen have raster materials that are converted to feature ID textures.
OWT base globe | CDB with feature ID textures
--|--
|
opened 08:03PM - 28 Oct 21 UTC
enhancement
Splitting up [this old issue](https://github.com/CesiumGS/cesium-unreal/issues/1… 2) so we can more accurately track progress.
Add support for [Instanced 3D Models](https://github.com/CesiumGS/3d-tiles/tree/main/specification/TileFormats/Instanced3DModel).
Attempting to load i3dm tilesets results in errors like `[warning] [TileContentFactory.cpp:77] No loader registered for tile with content type '' and magic value 'i3dm'`
opened 05:18PM - 08 Mar 22 UTC
enhancement
Add support for [Instanced 3D Models](https://github.com/CesiumGS/3d-tiles/tree/… main/specification/TileFormats/Instanced3DModel).
Once this is completed, some work will need to be done in Cesium Native integrations (e.g. Cesium for Unreal, Cesium for O3DE) before the feature is fully operational in each engine.
Kevin