Systems and methods for three-dimensional imaging, modeling, mapping, and/or control capabilities in compact size suitable for integration with and/or augmentation of robotic, laparoscopic, and endoscopic surgical systems. The systems including at least one optical source configured to project onto a surgical or endoscopic environment, and at least one camera positioned to capture at least one image of the surgical or endoscopic environment,