Move default material handling to TriangleModel.