Converting Point cloud to Mesh
See original GitHub issueHello, I’m trying to do the following: I have main mesh (obj, off) trying to make some affine transformation on it, badly I had to use other source code to do this, I wasn’t able to reach exactly how to use transformations using vtkplotter, so the point now, after applying the transformation I have points and I set them in .ply file
from vtkplotter import *
pcl = load("/home/roaa/Desktop/PhD/Models/OwnDatabase/cat_noise_0.0001.ply")
print("Number of vertices:",len(pcl.points()))
mesh = delaunay2D(pcl.points())
mesh.write("/home/roaa/Desktop/PhD/Models/OwnDatabase/cat_noise_0.0002.off")
mesh1 = recoSurface(pcl.points())
mesh1.write("/home/roaa/Desktop/PhD/Models/OwnDatabase/cat_noise_0.0003.obj")
print("Number of vertices: ",len(mesh1.points()))
print("Number of faces:",len(mesh1.faces()))
and this what I got:
Number of vertices: 352
Unknown format /home/roaa/Desktop/PhD/Models/OwnDatabase/cat_noise_0.0002.off file not saved.
Recalculating normals for 352 Points, sample size= 7
Calculating mesh from points with R = 5.278604972180709
Number of vertices: 248764
Number of faces: 147165
It’s so weird to have a number of vertices and faces, especially that I don’t want to perform anything other than getting the mesh after applying transformation on it. What I may be doing false.
Thank you for your support.
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (5 by maintainers)
Top Results From Across the Web
MeshLab: Point Cloud to Mesh – Design Support
This is free, open source software available from www.meshlab.net · MeshLab does have the function to convert a point cloud into a mesh...
Read more >PointFuse: Convert point cloud to Mesh, 3D Model
PointFuse software automatically converts point cloud data into 3D models and mesh that help optimise a variety of industries.
Read more >Generate 3D meshes from point clouds with Python
For getting a 3D mesh automatically out of a point cloud, we will add another library to our environment, Open3D. It is an...
Read more >Point Cloud to Mesh | FabAcademy - Tutorials
"MeshLab is an opensource, portable, and extensible system for the processing and editing of unconstructed 3D triangular meshes."This tutorial shows the ...
Read more >Workflows for converting large Point Cloud objects into ...
To convert Point Cloud objects into meshes: · Particle meshing software FROST. Generate a single mesh from particles, vertex clouds, object ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I don’t think that vtk can do that , you may try something similar with glyphs
but will probably become slow for large meshes.
Hi, sorry I forgot I disabled
settings.renderPointsAsSpheres = False
. Try instead: