Wavefront sensors (WFS) have now become core components in the fields of metrology of optical systems, biomedical optics, or adaptive optics systems for astronomy. However, none of the designs defined so far achieves simultaneously a high spatial resolution at the pupil of the tested optics and absolute measurement accuracy comparable to that of laser-interferometers. This paper presents an improved WFS design that reaches both previous goals. The device is named Crossed-sine phase sensor (CSPS) and is based on a fully transparent Gradient phase filter (GPF) whose virtual image is located forward or backward the exit pupil of the tested optical system. After briefly summarizing the theoretical principle of the CSPS, we describe four different optical layouts meeting its requirements and evaluate them with the help of Zemax modeling. We finally select the best optical design and discuss the achieved optical performance.