I’ve noticed that when applying style(opacity actually) to 3DTileset, pivot point do not picks from tileset anymore, so the camera rotates around the point on Earth surface under the point clicked on tileset.
At the same time, there is no problem with picking points on tileset with
Here is sandcastle.
Is there any workaround?
Second question - I am facing Cesium rendering error with some models when the opacity style is applied to the tileset. The error is
TypeError: Cannot read property 'translucentCommand' of undefined, any thoughts why it happens?
Thank you for reporting the camera navigation issue. This is definitely a bug. I’ve opened an issue here for us to look into this: Camera translate broken when picking 3d tiles point cloud with transparency · Issue #9302 · CesiumGS/cesium · GitHub
Sorry, I don’t know of any workaround at this time.
For your second question, do you have an example to reproduce this error? I haven’t seen that one before.
viewer.scene.pickTranslucentDepth = true should fix the first problem: Sandcastle
For the second problem it’s possible that this PR fixed it: Fixed error when nodeCommands is undefined in Model.updateColor() by KeyboardSounds · Pull Request #9271 · CesiumGS/cesium · GitHub. That fix was included in the CesiumJS release that went out today.
@hannah , @sean_lilley ,
Thank you so much for your help! I will try to reproduce
TypeError: Cannot read property 'translucentCommand' of undefined on new version of Cesium and report if it still occurs.
TypeError: Cannot read property 'translucentCommand' do not occurs in Cesium 1.77, at least in my test cases. Thanks!