Comments (5)
Could you please provide the mesh on which the adaptive remeshing fails?
from pmp-library.
Could you please provide the mesh on which the adaptive remeshing fails?
Here is the poly (*.ply) file on which the adaptive remeshing fails. I have changed its extension from *.ply to *.txt.
cube_outInt.txt
As you can see, it is a simple mesh. I use the above mesh for test purpose.
I create the pmp::SurfaceMesh object using the following snippet.
// copy surface mesh to pmp mesh
pmp::SurfaceMesh m;
vector<pmp::Vertex> vs;
for (auto& p : pts)
vs.emplace_back(m.add_vertex(pmp::Point(p.x,p.y,p.z)));
for (auto& t : tri) {
int v0 = t[0], v1 = t[1], v2 = t[2];
m.add_triangle(vs[v0],vs[v1],vs[v2]);
}
Here, tri is a vector<vector> object while pts is a vector object, which contain the face information and the vertex information respectively.
Is the above code sufficient to correctly create SurfaceMesh object?
from pmp-library.
I'm sorry but I cannot reproduce the problem. Does the problem also occur when you use this mesh in the remeshing example app?
from pmp-library.
Can't reproduce this either, calling adaptive_remeshing
with above parameters on the provided example mesh works fine.
Smells like a memory issue somewhere else in your program. Do you get the same error when compiling in Debug
mode?
from pmp-library.
Related Issues (20)
- Tesselating a non-planar linear ring
- Issue with STL reader HOT 3
- STL export does not guarantee positive vertex coordinates HOT 2
- remnants of submodules HOT 2
- missing faces in face circulator HOT 2
- Curious, is this topology a legitimate and supported halfedge data structure? HOT 2
- extract texture png file HOT 1
- Valence of faces are unexpectedly 0, affecting is_triangle_mesh() HOT 6
- Issue in hole filling algorithm HOT 1
- Parameterization with stitched edges
- Regression: Shader info logs are not reported on compile error HOT 3
- Keyboard modifier state is not tracked correctly when ImGui is capturing the keyboard HOT 2
- SurfaceMesh gives the error result HOT 1
- OpenGL 4.6 support? HOT 1
- write_obj followed by read_obj crashes when the mesh has halfedge texcoords HOT 1
- Topology Exception reading binary STL files HOT 8
- Help Needed - How to use this in iOS Project
- Bug of Renderer::update_opengl_buffers? HOT 6
- Incorrect endianness in OFF file handling HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pmp-library.