How we build perception from the inside out