International audienceWe present a three-dimensional cosmic shear analysis of the Hubble Space Telescope COSMOS survey, the largest ever optical imaging program performed in space. We have measured the shapes of galaxies for the telltale distortions caused by weak gravitational lensing and traced the growth of that signal as a function of redshift. Using both 2D and 3D analyses, we measure cosmological parameters Omegam, the density of matter in the universe, and sigma8, the normalization of the matter power spectrum. The introduction of redshift information tightens the constraints by a factor of 3 and also reduces the relative sampling (or ``cosmic'') variance compared to recent surveys that may be larger but are only two-dimensional. Fro...