Code Monkey home page Code Monkey logo

manifoldplus's Introduction

Hi there 👋

manifoldplus's People

Contributors

hjwdzh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

manifoldplus's Issues

Unable to build make -j8, what to do?

I encountered this kind of problem How do I fix it?

Error : 
        C:\Users\Desktop\ManifoldPlus>mkdir build
        
        C:\Users\Desktop\ManifoldPlus>cd build
        
        C:\Users\Desktop\ManifoldPlus\build>cmake .. -DCMAKE_BUILD_TYPE=Release
        -- Building for: Visual Studio 17 2022
        -- Selecting Windows SDK version 10.0.22000.0 to target Windows 10.0.19045.
        -- The C compiler identification is MSVC 19.35.32217.1
        -- The CXX compiler identification is MSVC 19.35.32217.1
        -- Detecting C compiler ABI info
        -- Detecting C compiler ABI info - done
        -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/bin/Hostx64/x64/cl.exe - skipped
        -- Detecting C compile features
        -- Detecting C compile features - done
        -- Detecting CXX compiler ABI info
        -- Detecting CXX compiler ABI info - done
        -- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/bin/Hostx64/x64/cl.exe - skipped
        -- Detecting CXX compile features
        -- Detecting CXX compile features - done
        -- Configuring done (6.5s)
        -- Generating done (0.0s)
        CMake Warning:
          Manually-specified variables were not used by the project:
        
            CMAKE_BUILD_TYPE
        
        
        -- Build files have been written to: C:/Users/Suae/Desktop/Metavaese/ManifoldPlus/build
        
        C:\Users\Desktop\ManifoldPlus\build>make -j8
        make: *** No targets specified and no makefile found.  Stop.

Who can fix the fever please help me

renaming the executable name in examples.sh

Hi,
The name of the executable produced from compiling was manifold, not "ManifoldPlus"
This means examples.sh doesn't work out of the box.

Please fix examples.sh to have the correct name.

Thanks for this!

Simplify complex meshes

Is there a way to simplify the mesh (i.e., reduce the number of vertices and edges) that works with complex mesh shapes? With the mesh, I mean the mesh that's produced by manifold.

I've tried to use simplify from your Manifold project. This works for simple shapes, like a box. However, for certain complex shapes, such as a bowl, it results in this error:

simplify: /home/andreas/software/Manifold/3rd/igl/per_vertex_point_to_plane_quadrics.cpp:95: igl::per_vertex_point_to_plane_quadrics(const MatrixXd&, const MatrixXi&, const MatrixXi&, const MatrixXi&, const MatrixXi&, std::vector<std::tuple<Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, 1, -1, 1, 1, -1>, double> >&)::<lambda(const RowVectorXd&, const MatrixXd&, double)>: Assertion `std::abs(S.row(j).dot(ei)) < 1e-10' failed.
Aborted

This is the mesh: bowl.tar.gz.

Simplify from Manifold

Hi, thank you for the great library!

I would like to ask three questions:

  1. Do you have a simplification feature for ManifoldPlus; I have seen it on the original repo for Manifold?
  2. I am working with ShapeNet.v2. Can you recommend which depth value to use for the 13 categories from ShapeNet?
  3. Should I use Manifold or ManifoldPlus for ShapeNet?

Thanks a lot.

Artifacts in the results

Hi,

Thanks for sharing your code. When I run it on the example provided in this repository, it looks quite different from the renderings advertised in the paper.

E.g., the bedpost frame has spikes on it:
Screen Shot 2020-06-15 at 1 36 41 AM

On the bathtub model, I am seeing overlapping flipped faces on the joints, where the model is supposed to be solid:
bathtub
Screen Shot 2020-06-15 at 1 44 16 AM

For the bathtub itself I understand that it's a single sheet of triangles, so there is no inside/outside properly defined. But in the corner/joint there shouldn't be any artifacts no?

And finally when I tried it on the london model from AccuCities, I'm getting some artifacts along sharp features, where things get more "spiky", e.g. on this building on the lower-left of the rendered result:
Screen Shot 2020-06-15 at 1 31 22 AM

Requires Manifold?

Does ManifoldPlus require Manifold? I don't have it, and I cannot seem to run any of the examples:

~/Desktop/ManifoldPlus/build$ ./manifold -input ../data/table.off --output ../results/table_manifold.obj
##################### Arguments #####################
depth: 8.
input: ../examples/input.obj.
output: ../results/table_manifold.obj.
#####################################################
vertex number: 0    face number: 0
~/Desktop/ManifoldPlus$ sh examples.sh 
examples.sh: 2: ./build/ManifoldPlus: not found
examples.sh: 3: ./build/ManifoldPlus: not found
examples.sh: 4: ./build/ManifoldPlus: not found
examples.sh: 5: ./build/ManifoldPlus: not found


reconstion always bigger than the original model

Thanks for your excellent work. We have used your programm to reconstruct our model. But the reconstructed model is always about 0.5mm bigger than the origin model. I have tried to adjust the resolution, but it doesnt work. Do you have any idea how that happened, and how can we solve this.
image

License

Hi, thanks for making this. Could you clarify the license please?

point cloud reconstruction example

Hey @hjwdzh ,
Thanks for sharing your great work.
I am wondering if you provide the examples of reconstruction from range scan (and processed into a point cloud) as shown in Fig. 13 in your paper.

thx a lot.

When the model have texture.

I have a model(with obj,mtl and png file or fbx,png file),when the obj is converted to watertight,will the texture be projected to it correctly?Or is there any way to solove?Thanks

Issues on converting ShapeNet meshes

Hi @hjwdzh ,

Thank you for sharing this amazing work!
Manifold is a wonderful tool for fixing non-manifold mesh and ManifoldPlus is even better!
However, when we were trying to process ShapeNet meshes using ManifoldPlus, we found that though the sharp features are preserved much better than Manifold, the self-intersecting issues still remain in the output mesh. And it happens in almost every mesh in the car category.

For instance, the following shows the processed result using depth = 8:
Screenshot from 2021-08-22 11-49-26

The self-intersected triangles are highlighted in red:
Screenshot from 2021-08-22 11-48-59

The input mesh id is 1a56d596c77ad5936fa87a658faf1d26 under car category (02958343).

The input mesh can be found here:
https://drive.google.com/file/d/1PQQldcOMT3mNNKsaVxTyM2oWePl_2XNy/view?usp=sharing

The output mesh is here:
https://drive.google.com/file/d/1ySplYD6FA3uERTJfmBCxT4-15HChT865/view?usp=sharing

Since Shapenet is the most comprehensive and influential 3D dataset in the world, we sincerely hope this issue can be fixed so that ManofoldPlus can be much more impactful and useful in the research community.
Thanks a lot!

Question on zero-volume structures

Hey @hjwdzh ,

First of all thanks for sharing your great work.

I have a question (more than being an issue). Sometimes I need to work with flat surfaces (meaning no enclosed volumes), just planes with some borders. Sometimes these surfaces have non manifold vertices/faces/edges. I'm wondering if there is a way to use ManifoldPlus on this surfaces without the need of building the "other side" of the surface (opposite normal and the need of using double sided lighting for meshlab etc).

I understand a surface with borders does not really comply the concept of watertight manifold, but I'm looking for a way to "fix" those surfaces using ManifoldPlus.

What do you think? Am I making sense?
Thanks for your time.

Build error

I am sorry, there are some problems occur when I try to build the project.
cmake .. -DCMAKE_BUILD_TYPE=Release

Traceback (most recent call last):
File "/usr/lib/command-not-found", line 27, in
from CommandNotFound.util import crash_guard
ModuleNotFoundError: No module named 'CommandNotFound'

So, what should i do for this problem?
Thank you very much!

Watertight check with Trimesh

Hi there,

Thank you for the great work! I'm using it for my research and I load the processed mesh with trimesh package (in python). However, trimesh shows that the mesh is not watertight (I was checking the results from demo). According to their documentation, 'is_watertight' function checks if a mesh is watertight by making sure every edge is included in two faces. Do you have any insight why this check would fail? Thanks in advance!

Output Mesh Missing UV Map

Hi @hjwdzh ,
I'm using this repo to convert a mesh into watertight mesh. I got the watertight mesh following the steps you mentioned.
My input mesh contains uv-map but the same is missing the uv-map.
Can you please suggest me how to get the output mesh with uv-map?
Thanks.

How to generate color mesh output ?

Dear friend,
Thanks your good work in advance.
I notice, the output mesh is gray even input is color mesh, how we get color mesh output ?

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.