I was wondering if it is at all possible to order the drawing of handles by distance from camera.
I use handles to draw nodes of a graph and the nodes are drawn one after another and overlay incorrectly.
The first image shows a graph with 4 nodes. The node in the top left is further away from the camera. (It is smaller)
![Image 1][1]
The second image shows the smaller node in front of the bigger node.
![Image 2][2]
Is it possible to automatically order the handles by z distance from camera?
Thank you very much.
[1]: /storage/temp/47009-zsorting1.png
[2]: /storage/temp/47010-zsorting2.png
↧