A one-shot technique for profile measurements is presented. A sinusoidal fringe pattern embedded with one-dimensional pulses is used to illuminate the inspected object. The pattern projected on the inspected object is observed by a CCD camera at another view angle. The pulse-encoded fringe pattern provides additional information to identify the fringe order. Even though the surface color or reflectivity varies periodically with positions, it distinguishes the fringe order very well.