CesiumGS / cesium

An open-source JavaScript library for world-class 3D globes and maps :earth_americas:

Home Page:https://cesium.com/cesiumjs/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Using Cesium Cesium3DFileset loads a 3D model, which is very blurry and unclear

c-Clithe opened this issue · comments

What happened?

let translation = Cesium.Cartesian3.fromArray([0, 0, -30])
let m = Cesium.Matrix4.fromTranslation(translation)
const tileset = new Cesium.Cesium3DTileset({
url: './cesiumData/tileset.json',
modelMatrix: m,
maxinumScreenSpaceError: 16,
maximumNumberOfLoadedTiles: 1024
})

viewer.scene.primitives.add(tileset)

Reproduction steps

...

Sandcastle example

No response

Environment

Browser:
CesiumJS Version:
Operating System:

Hi @c-Clithe, would you be able to include a Sandcastle example that replicates the issue? That would help us give us more context to determine the issue. Thanks!

Just a cross-link to the forum thread: https://community.cesium.com/t/blurry-model-from-cesium3dtileset/33441

You could try to set the maximumScreenSpaceError to a lower value than 16. (NOTE: It's called maximumScreenSpaceError, not maxinumScreenSpaceError!). This may cause more tiles (with additional detail) to be loaded, if there are more tiles with additional detail. Maybe the tileset itself does not have more detail....

I'm closing this issue due to inactivity. If you believe this is still an issue, please feel free to re-open. Thanks!

@javagl It's already much better, thank you, brother