tri-planar implementation