We describe a method for acquiring a three-dimensional shape and its texture using a singe-shot active stereo imaging with randomly structured illumination from a projector based on compressive sensing [1]. The principle and its experimental demonstration are presented.