3D: moved depth to plotoptions, introduced totaldepth