generalized contact rendering