In my case,disableDepthTestDistance of PointPrimitive has been set to POSITIVE_INFINITY, but it is still not at the top.It is still overwhelmed by CircleGeometry, which makes it impossible to pick up.
I want to keep PointPrimitive at the top level, even if the appearance.renderState.depthTest of the Primitive loaded CircleGeometry is false, what should I do?
Thank you very much for the detailed community forum post! I would love to know more about your application. For instance, what are you trying to achieve with your PointPrimative objects? More information on your project goal would help me provide you with more tailored support. In the meantime, have you checked out the following community forum threads?
These threads discuss a lot of the topics that you are mentioning here. Among other things, these resources discuss best practices for disabling depth tests for a variety of entities. I am curious to hear your thoughts!
I want to keep my PointPrimative at the top level. I have set its disableDepthTestDistance property to Number.POSITIVE_INFINITY. But it doesn’t seem to take effect. For details, you can see the Test Demo above.
The PointPrimitive in the middle seems to be overwhelmed by the CircleGeometry, which prevents me from picking it up.
And the reason why I want Disable Depth Test For the CircleGeometry is because I want CircleGeometry to maintain its integrity and not be overwhelmed by other objects, such as 3dtiles.
As shown below (Enable Depth Test):
But there is still a problem with the above effect. PointPrimitive is overwhelmed by CircleGeometry, even if the disableDepthTestDistance property of PointPrimitive has been set to Number.POSITIVE_INFINITY.
So, my real demand is, Disable Depth Test For CircleGeometry, and keep PointPrimitive at the top.
I don’t know if I have described my problem clearly. I look forward to your reply. @sam.rothstein
I want to use Primitive API instead of Entity API.
In my case, how can I pick up the PointPrimitive covered by CircleGeometry. Or how to make PointPrimitive at the top. When I set disableDepthTestDistance of PointPrimitive to Number.POSITIVE_INFINITY, PointPrimitive is still not at the top level. Can this be considered a BUG?