Code Monkey home page Code Monkey logo

Comments (4)

hjwdzh avatar hjwdzh commented on July 18, 2024

Thanks for posting the issue.

For the bathtub, it is reasonable since the input is a thin structure, which means faces at two sides are stitched together -- in which case back face rendering will have this issue.

For the spikes, the internal reason is complex:

  1. there is no guarantee that the optimization always achieve the global optimal.
  2. I did not use exact arithmetic so that there could be numerical issues.

I also observe the same problem. However, a higher resolution will definitely alleviate the problem. The rendering I posted is rendered with depth=9.

Finally, I should mention that it is not the perfect solution, and I am keeping developing more fundamental solutions:) Please wait for a more advanced version coming out in months:)

from manifoldplus.

jdumas avatar jdumas commented on July 18, 2024

For the bathtub, it is reasonable since the input is a thin structure, which means faces at two sides are stitched together -- in which case back face rendering will have this issue.

Hmm I guess I'm used to the way TetWild closes the "solid" part of the shape using the generalized winding number. In the case of the bathtub, even though the input mesh is open, you can still view it as a closed volume using generalized winding number. In that case, I would expect the walls/corners of the base on the left to not exhibit overlapping flipped faces.

In general, it's an ill-posed problem to try to mix SDF (for solid volumes) and unsigned DF (for flat sheets). You should be able to pick one option, and avoid overlapping faces in both cases. Mixing the two sounds like a lot of trouble.

I also observe the same problem. However, a higher resolution will definitely alleviate the problem. The rendering I posted is rendered with depth=9.

With depth=9, the pillars are indeed improved, but there are still some artifacts under the pillow unfortunately.

Finally, I should mention that it is not the perfect solution, and I am keeping developing more fundamental solutions:) Please wait for a more advanced version coming out in months:)

Cool! Looking forward to this!

from manifoldplus.

jiangzhongshi avatar jiangzhongshi commented on July 18, 2024

Hi,

This is a probably related issue: as I am trying to clean the following model, but I am only able to get a result with artifacts and self-intersections in the output.
input.obj.zip

Screen Shot 2020-06-24 at 3 01 34 PM

from manifoldplus.

hjwdzh avatar hjwdzh commented on July 18, 2024

Hi Zhongshi, this is currently a limitation, that coarse resolution results in bad approximation. I tried your example with depth=9 and it looks much better.

from manifoldplus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.