Comments (4)
Hi, sorry for the late reply.
I don't understand what exactly is not working. Are you running something like
ms.save_current_mesh('file.obj')
ms.load_new_mesh('file.obj')
and it does not find the file in the load? It is not clear in your post.
Could you please share the script that you are running?
from pymeshlab.
Hey, thanks so much for trying to help and excuse my late response..
But yeah basically its just loading a mesh and saving it after the screened Poisson reconstruction. Since opening this issue the problem of the reconstruction returning 0 nodes after the depth of 5 just fixed itself.
But still it only computes the reconstruction if the preclean argument is set to true. No matter what the input obj file is (in this case various photo scanned models). If not set applying the filter always fails because of 'incorrect vertex normals'. Can you think of a consistent way of having the normals 'fixed' before applying the reconstruction filter?
Also when having a textured model, and using the 'transfer_vertex_attributes_to_texture_1_or_2_meshes' filter to bake the high poly geometry onto the low poly mesh as a normal map, is there any way of having the filter generate a tangent space normal map instead of an object space normal map?
Again thanks a lot for replying and for creating this awesome library!
Best regards
Mo
from pymeshlab.
What is the exact error you get when you talk about "incorrect vertex normals"?
Is it complaining because the point cloud does not have vertex normals? Because screened poisson requires non-null vertex normals on all the vertices. If the mesh you load does not have them, you need to compute them in some way.
Or, with the preclean parameter, all the vertices with non-proper normal are removed.
Also when having a textured model, and using the 'transfer_vertex_attributes_to_texture_1_or_2_meshes' filter to bake the high poly geometry onto the low poly mesh as a normal map, is there any way of having the filter generate a tangent space normal map instead of an object space normal map?
I am not sure, but I think there is not such filter in meshlab or pymeshlab.
from pymeshlab.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from pymeshlab.
Related Issues (20)
- how to assign new value to vertex scale array? HOT 2
- Detecting if a mesh is a Marching Cube mesh HOT 1
- How to check if two meshes intersect with each other? HOT 2
- How to use the meshing_remove_selected_vertices function to delete vertices? HOT 2
- BUG in ms.current_mesh().selected_face_number() ??? HOT 1
- MemoryError: std::bad_alloc HOT 5
- Problem with compute_scalar_ambient_occlusion_gpu() HOT 2
- suggestion: change error to a warning in boolean operations
- Could not find the Qt platform plugin "xcb"
- ImportError: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by ~/miniconda3x86/lib/python3.11/site-packages/pymeshlab/pmeshlab.cpython-311-x86_64-linux-gnu.so) HOT 1
- Texture Map Defragmentation brings to a core dump HOT 3
- OBJ files don't load textures in pymeshlab >2022.2 HOT 2
- Is there a good way to fill the hole while maintaining the shape of the other parts? ?
- Unable to install latest version with pip HOT 6
- pymeshlab got different result with meshlab HOT 2
- saving got stuck after delete duplicate vertices
- PLY importer can't load some custom float properties HOT 2
- apply filter returns empty HOT 1
- Feature request: 3D Skin Surface Meshing
- Can't build on windows HOT 1
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 pymeshlab.