CesiumGS / cesium

An open-source JavaScript library for world-class 3D globes and maps :earth_americas:
https://cesium.com/cesiumjs/
Apache License 2.0
13.02k stars 3.51k forks source link

3dtiles gltf1.0 贴图丢失 #10768

Closed luolihui119 closed 2 years ago

luolihui119 commented 2 years ago

:exclamation: Please use the community forum for asking questions about how to use Cesium and best practices. The core Cesium team actively monitors the forum and we love seeing what people are working on! :exclamation: 最新1.97版本,3dtiles gltf1.0 贴图丢失。1.91版本没有出现问题。 尝试调试修改: 修改updateVersion.js: 将 const baseColorTextureNames = ["u_tex", "u_diffuse"]; 修改为:const baseColorTextureNames = ["u_tex", "u_diffuse","u_diffuseTex"];

但是这样修改,贴图是出来了,但是贴图显示是乱的,并且有黑块。

因此请教大家,怎么修改?

ggetz commented 2 years ago

Hello @dgjkl.

We dropped support for glTF 1.0 in Cesium 1.97. Please use that thread to get help updating your model.

Thanks!