Chisel.Prototype icon indicating copy to clipboard operation
Chisel.Prototype copied to clipboard

CSG bugs

Open LogicalError opened this issue 5 years ago • 3 comments

There are several CSG bugs, most of them seem to have to do with merging vertices

LogicalError avatar Oct 12 '20 07:10 LogicalError

Some bugs have been fixed in #297

LogicalError avatar Oct 20 '20 19:10 LogicalError

Seems the last bug is vertices being merged when they shouldn't. This is because vertices are merged based on distance, when it should be based on comparing intersecting plane triplets on multiple vertices.

Right now this distance merging fails on sharply angled planes where vertices that are very close to each other get merged and create polygons which causes degenerate edges on polygons

A B C ---->--->* | <--- /B C

A,B,C are vertices, and thee edge BC is followed by CB This causes problems further on in the pipeline.

LogicalError avatar Oct 07 '21 10:10 LogicalError

Apparently github kills ascii art. awesome

LogicalError avatar Oct 07 '21 10:10 LogicalError