hjwdzh / manifoldplus Goto Github PK
View Code? Open in Web Editor NEWManifoldPlus: A Robust and Scalable Watertight Manifold Surface Generation Method for Triangle Soups
ManifoldPlus: A Robust and Scalable Watertight Manifold Surface Generation Method for Triangle Soups
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
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!
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.
Hi, thank you for the great library!
I would like to ask three questions:
Thanks a lot.
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:
On the bathtub model, I am seeing overlapping flipped faces on the joints, where the model is supposed to be solid:
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:
Hi, I want to research using this and Godot Engine to solve the problem of remeshing before decimation.
Problem statement:
zeux/meshoptimizer#222
I was wondering if you were planning on allowing relicensing so I can use it with https://github.com/godotengine/godot/blob/master/LICENSE.txt.
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
Hi, thanks for making this. Could you clarify the license please?
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.
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
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:
The self-intersected triangles are highlighted in red:
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!
段错误 (核心已转储)
gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
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.
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!
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!
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.
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 ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.