assign mesh, material to objects