gkjohnson / three-bvh-csg

A flexible, memory compact, fast and dynamic CSG implementation on top of three-mesh-bvh
MIT License
552 stars 45 forks source link

When the object used for detection is a reverse cube, how can csg detection be performed correctly #126

Closed mqTongXue closed 11 months ago

mqTongXue commented 11 months ago

image Initial state

image As shown in the figure above, after cutting, the object to be cut is a standard cube, and the cube with the material is the reverse side, which occurs when csg is performed on the reverse side. csg doesn't support tails?

gkjohnson commented 11 months ago

What are you expecting to happen here? The project does not support inverted geometry.

csg doesn't support tails?

I don't know what this means

mqTongXue commented 11 months ago

你期待在这里发生什么?该项目不支持反转几何体。

csg不支持tails吗?

我不知道这意味着什么

I want this effect 1690959081776 But this cube is in reverse,Is that possible? image

gkjohnson commented 11 months ago

Why are you using inverted geometry? As I've said - inverted geometry is not supported. If you want to cut a hole in another geometry you must use the "SUBTRACT" operation.