Revert "3D: moved depth to plotoptions, introduced totaldepth"

This reverts commit 3d8f3f073886ff85a5adef7c44653fd338bda071.