karl- / pb_CSG

A C# port of CSG.js by Evan W (http://evanw.github.io/csg.js/).
MIT License
623 stars 98 forks source link

Big scale size wavefront mesh failed to intersect... #30

Open eunwonki opened 2 years ago

eunwonki commented 2 years ago

Hello, Karl, I'm a junior programmer from korea.

I have multiple meshes with different scales.

For example, I have a head model with an mm scale and an m scale.

model m scale mm scale

And then, I tried Intersecting this model and cube.

SplitPolygon method causes stack overflow when I try with an mm scale. (I saw at ver2 patch note about that)

Maybe too many polygons and face cause stack overflows...

On the other hand, I don't have a problem when I try with an m scale.

Is it sensitive at scale?

Do you have any solution in this case?

I'm not good at CSG Algorithm yet, So Could you advise to me?

ankofl commented 7 months ago

It looks like the library is dead...