Jump to content

Holes in meshes?


photo

Recommended Posts

Posted

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?

image.png.eb4d1187afbcc43923d927ce7e4aedf4.png

Regards,
Charles

Posted

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:

Thanks!

  • Thanks 1

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Posted (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 by Amerio.Stephane
  • Like 1
×
×
  • Create New...