Replies: 3 comments 2 replies
-
I think you want |
Beta Was this translation helpful? Give feedback.
-
Yes, I have tried using Still, going back to the original question, I would like to understand: am I using |
Beta Was this translation helpful? Give feedback.
-
I achieved the desired behaviour using But the resulting code of disabling depth testing for nodes created by
Also, I see |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I need some nodes to be displayed always on top of others.
In OSG I achieved this by placing nodes in different bins.
I wanted to do the same in VSG using
vsg::DepthSorted
.But it didn't work for me. The nodes go into different bins, but it doesn't cause the node from the bin with the higher number to be on top of the node from the bin with the lower number.
What am I doing wrong?
Here is a minimal, reproducible example with two colored squares in different bins and the resulting scene.
Depending on the viewpoint, one or the other square is drawn at the top.
Beta Was this translation helpful? Give feedback.
All reactions