Contrastive SDF