I used Cesium.Primitive to create different primitives with different geometry types.Some Geometry options have a height attribute, but some do not.When I create the primitives in a certain order, it seems that they are not rendered in the order I want. The primitives added first block the primitives added later. I tried to reset it using raise or lower, but it still didn’t work. I am using a 2.5D map and the depth test is not turned on.
Hi @yangmaoying28,
Thanks for your post and welcome to the Cesium community.
It would be helpful for us if you could provide a code sample with out sandcastle tool https://sandcastle.cesium.com/. This will help us better understand your use case can offer assistance.
Please let us know if you have any questions.
Thank you,
Luke
Hi,I created an example and tried to update the display order in 3 seconds, but it did not take effect.ex:ex,I found that the previous problem was caused by setting the translucent option in the material to true when creating the primitive, which caused the primitive to always be on top when rendering.