javascript - 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.
解决方案
推荐阅读
- jsf - 如何在 jsf/primefaces ajax 请求上设置超时?
- c# - 与附加柱连接的柱
- protocol-buffers - 如何从 ONNX 模型中读取各个层的权重和偏差值?
- excel - 需要一个公式,根据“L”列中记录的值将我的行设置为绿色
- jquery - Jquery 切换向上/向下滑动
- sql-server - SQL Server - 使用 PIVOT 关系运算符时如何处理重复的列名
- ios - 下载的 Pod 中缺少所有文件
- ajax - 在ajax调用中重定向到另一个页面
- java - Neo4j StatementResult 太慢
- laravel - Laravel 5.7 - 更改 .env 文件位置以进行生产