Lales.Charles Posted yesterday at 05:34 PM Posted yesterday at 05:34 PM Hi, Is there any way to extrude some meshes? For example here, I would try to use the blue box to generate a hole in the red panel, at end hidding the blue box of course. Alternatively using a decal? Another approach? Regards, Charles
silent Posted 16 hours ago Posted 16 hours ago Hi Charles, Mesh boolean operations are required for that kind of task, I'm afraid. You can try to integrate one of the 3rd party libraries that can do that, such as: Meshlib: https://github.com/MeshInspector/MeshLib mcut: https://github.com/cutdigital/mcut CGAL: https://github.com/CGAL/cgal Thanks! 1 How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
Amerio.Stephane Posted 12 hours ago Posted 12 hours ago (edited) Hi, I think Charles would be OK with a shader based solution (so no mesh boolean, just a visualization of the boolean result). One classic solution would have been to use the stencil buffer, with dedicated material graph, but I couldn't find anything stencil related in Unigine. In his specific case, the cutter is always a collection of boxes, and the cut object is also always a box (similar to a thin wall with movable doors and windows) EDIT: the goal is to do the edit/visualization inside the editor, not in a runtime app. Edited 12 hours ago by Amerio.Stephane 1
Recommended Posts