1. A method comprising: projecting a structured light pattern into a volume, the structured light pattern comprising a predefined structure comprising striping extending in a dimension having a plurality of features, each feature comprising a predefined variation along the dimension comprising a cycle of intensities in an additional dimension, each stripe of a group of stripes in the cycle projected with a respective intensity, the predefined structure further comprising an intensity variation along each of the stripes so peak intensities of different stripes are in different locations relative to each other, and the structured light pattern further comprises an additional variation across an additional dimension, the additional variation also varying along the dimension; detecting light reflected from one or more objects in the volume, the detected light including one or more of the features of the predefined structure of the structured light pattern; correlating the one or more features in the detected light with the predefined structure; and determining depth information for objects based on the locations of peak intensities of different stripes.