首页 > 解决方案 > Is it posible to render a 3D model in cesium with compressed textures? (DXT1)

问题描述

I am trying to render a 3D model with the cesium javascript library (v1.80). I am rendering a .b3dm model with external textures. It works perfectly when the textures are in the .jpg format, but not when they are compressed with DXT1 to a .dds file. Is compressed textures not supported?

The error I get:

A 3D tile failed to load: http://localhost:8080/.../something.b3dm
Cesium.js:1 Error: Failed to load image: http://localhost:8080/.../something_textures.dds
undefined

I am certain that the files are found.

标签: javascript3dcesium3d-model

解决方案


推荐阅读