A method for reconstructing three dimensional shapes from two dimensional image domains uses glyph address carpets as a structured light pattern. The glyph address carpet includes a glyph encoding scheme in which the coordinates of any given point can be computed by looking at the glyph marks in a small neighborhood. The method includes calibrating at least one projecting device and at least one image detecting device and projecting a glyph address carpet pattern onto a three dimensional figure. The projected glyph address carpet pattern is detected and used to reconstruct the three dimensional coordinates for each readable glyph mark within the projected glyph address carpet pattern.