Is this an LAS Asset Bug? Cesium Assets Height Issue?

Cesium Asset Height Issue?

We have defined the same asset twice once with Heght defined at 433 and another at 0.

Here is an example of Asset 732846 imported and all looks good in ION…
Height is 433

When referencing Asset 732846 in Cesium JS the Height results in an issue.

When the tileset defined is shown in this Sandcastle
var tileset = viewer.scene.primitives.add(
new Cesium.Cesium3DTileset({
url: Cesium.IonResource.fromAssetId(762355),
//This tileset doesn’t have a location, so we’re using a modelMatrix to place it at 0, 0 instead of drawing at the center of the earth
modelMatrix: Cesium.Transforms.eastNorthUpToFixedFrame(
Cesium.Cartesian3.fromDegrees(-121.068253,39.032291,0)
),
})
);

Removing the modelMatrix then allows the model to be displayed but the Height causes an issue?
//This tileset doesn’t have a location, so we’re using a modelMatrix to place it at 0, 0 instead of drawing at the center of the earth
modelMatrix: Cesium.Transforms.eastNorthUpToFixedFrame(
Cesium.Cartesian3.fromDegrees(-121.068253,39.032291,0)
),

As shown in this Sandcastle…

Removing the Hieght in the Asset then positions it correctly?

Here is the same model uploaded as Asset 762355 but with the Height removed?

Now when referenced with out the Height the Asset shows up correctly?

So after lots of experimenting we created this Sandcastle. But very painful and tedious to create since all we are tryinf to do is mimic what we created in Cesium ION.

AND it ION assets heights have to be removed so that they are usable in Cesium JS?
Creates an issue with having to maintain two versions of every asset?

1 Like