Cesium3DTileset disappears when being scaled/rotated

1. A concise explanation of the problem you’re experiencing.

When i give a Cesium3DTilesets modelMatrix a scale of anything but 1,1,1 the tileset simply disappears, same happens if i try to change its rotation

**2. A minimal code example. If you’ve found a bug, this helps us reproduce and repair **

I made quick sandbox to show what i’m experiencing:

when i change the “height” in this example i also apply a scale to the tileset with the same x,y,z value as the height, just to make a quick example.

3. Context. Why do you need to do this? We might know a better way to accomplish your goal.

I need a way to let users reposition/rotate/scale their 3d tilesets in case they were generated incorrectly

4. The Cesium version you’re using, your operating system and browser.

Browser: Google chrome - version 75.0.3770.142 (64-bit)

Cesium version: 1.57

Operating system: Windows 10

I think the problem with this specific tileset is that it uses an RTC coordinate to get its position on the globe, so scaling it will scale that coordinate as well.

How is your tileset created? What is your source data?

The tileset is created with ContextCapture.

I’ve updated the example with one of my tilesets so you can see everything:


I’m afraid i can’t tell you too much about the creation process since i don’t have anything to do with it, all i know is we use ContextCapture

Can you try uploading the source data to cesium.com/ion? Context Capture should have an option for outputting OBJ models that you can upload. That will allow you to position, scale and rotate it using Cesium ion’s location adjust tool.

That works, thanks for your help