maryam
1
1. A concise explanation of the problem you’re experiencing.
I am just wondering to know if we can do meshing in cesium. If no, can we integrate Three.js with cesiumjs.
Thanks
2. A minimal code example. If you’ve found a bug, this helps us reproduce and repair it.
3. Context. Why do you need to do this? We might know a better way to accomplish your goal.
4. The Cesium version you’re using, your operating system and browser.
omar
2
Hey Maryam,
You can add any 3D model in Cesium (see example here https://cesiumjs.org/Cesium/Build/Apps/Sandcastle/?src=3D%20Models.html ).
By meshing, do you mean something like this? https://threejs.org/docs/#api/en/objects/SkinnedMesh
I don’t think CesiumJS has a rigid/bone system like that. There is some experimental Threejs/Cesium integration, check out the blog post here https://cesium.com/blog/2017/10/23/integrating-cesium-with-threejs/
It also links to a full code example at the beginning.
If you can share, I’d love to hear what are you building with Cesium with this!
omar
3
Actually, I was wrong, glTF supports skinning (https://github.com/KhronosGroup/glTF-Tutorials/blob/master/gltfTutorial/gltfTutorial_020_Skins.md)
Which CesiumJS supports just fine! Check out the “skinned character” in this example: