Original Post
Hello! I would like to create out of two meshes, which lie partly in each other, a new one which only consits of the parts of the two meshes which lie in each other. My first idea was to test each triangle if it lies on or in the other mesh and vice versa but this would be of course very slow and at the edges there would be problems. Maybe stencil buffers could help? It would be great to hear your opinion how you would make this. Thanks a lot!!