Return to the tutorials list.

19 - Sort model (or instance) by depth

This tutorial show how to use SortByDepth utility to sort model instance.

Objects can be sorted in front to back (for opaque objects sorting) or back to front (for transparent objects sorting) orders.

Previews: showing front to back and back to front sorting
Front to back

Back to front

Source Code