gltf使用gltfpack压缩后 在bablylon\three无法单独选中问题
gltf模型使用gltfpack压缩后发现 选中高亮时连成一片了,但是在3dMAX和blender中发现确实单独的构件. 主要原因是材质被多份数据共享了,gltfpack会根据共享将选中的构件认为是一个整体
![](https://liubf.com/wp-content/uploads/2023/03/1.png)
我们可以打开blender 选中后查看材质球 发现共享数据是5 导致了点击选中时高亮了5个构件
![](https://liubf.com/wp-content/uploads/2023/03/2-1024x276.png)
只要点击一下 取消共享数据就可以
![](https://liubf.com/wp-content/uploads/2023/03/3-1024x350.png)
![](https://liubf.com/wp-content/uploads/2023/03/4-1024x474.png)
本站文章除注明转载外,均为原创文章。转载请注明:文章转载自:
葱爆GIS—刘博方GIS博客(
https://liubf.com )