*set mesh as resource