Giter Club home page Giter Club logo

Comments (2)

rms80 avatar rms80 commented on August 19, 2024

Ok, well, thanks for sending the file because it helped me make some improvements, but you will probably not be happy with the results...

  1. this mesh has some nonmanifold geometry, that is why you were getting the error. Basically once you have nonmanifold geom, the results are undefined. I updated the reducer tutorial with a bit about how to check your mesh for this, using DMesh3.CheckValidity

  2. The Reducer can now handle this particular nonmanifold geometry, so it won't throw an error anymore.

  3. This mesh has boundaries so you have to turn on the boundary-preservation I mention in the tutorial. Otherwise it will create holes/etc in the result as it tries to reach your target count.

  4. The library currently does not supported multiple UVs per vertex. So, when a textured OBJ is loaded, the mesh is split at any UV-seams. As a result this mesh is split all over the place (see below). Combined with the preserve-boundary, this means that basically there are no triangles to collapse, it can't get below 3992 triangles w/o modifying the boundary somewhere.

Basically, the current implementation is meant for simplifying unstructured meshes. You have a highly structured mesh that is already basically a minimal triangulation of the shape. Particularly because of the UV seams/etc. So to automatically simplify further is quite difficult, well beyond what I intend to use this implementation for.

image

from geometry3sharp.

alexhackbai avatar alexhackbai commented on August 19, 2024

thank you very much ,i will always be concerned about and use this project
I hope we can be friends, i like this project

       r.SetExternalConstraints(new MeshConstraints());
        MeshConstraintUtil.FixAllBoundaryEdges(r.Constraints, mesh);

        r.ReduceToTriangleCount(300);

I would like to simplify the surface to 300 but i get 3992 Why is this,MeshLab can do it

please help me

from geometry3sharp.

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.