pmneila / PyMCubes

Marching cubes (and related tools) for Python
BSD 3-Clause "New" or "Revised" License
692 stars 87 forks source link

fix flipped normals in obj export #45

Closed hoosha closed 2 months ago

pmneila commented 2 months ago

Thank you!

hoosha commented 2 months ago

Well, actually after submitting this fix, I started thinking that this is not the right way to do it. We get flipped triangles may be because the shape/axis are mirrored. I have seen results that confirm that hypothesis but not quite sure. So depending on the application and the type of axis you have for your SDF, you might need to negate one of the vertex coordinates instead of this fix. That will fix both the flipping and the mirroring issues. On 3 Jul 2024, at 10:26 PM, pmneila @.***> wrote: Thank you!

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>