triangle mesh works