trying to re-factor relative origin calculations into the render