just removed old TriangleMesh rendering function