optionally threeD, with quadratic correction