added depth_method parameter, added check for active projections