Active stereo with structured light