How to transfer pointcloud to mesh

51 views (last 30 days)
YE HUICHAO on 11 Nov 2011
I have got an obj file of a year. I want to transfer it to mesh.The file has two variables v and f. I don't know how to use commands like delaunay,trisurf,meshgrid to make it into mesh. Help?Has nayone done something sililiar before?

Answers (3)

Fangjun Jiang
Fangjun Jiang on 11 Nov 2011
mesh is for 3-D data. If you only have v and f, I am not sure how do you want to present it in 3-D. However, if you have x, y and z data in a vector, this post might help you.

Patrick Kalita
Patrick Kalita on 11 Nov 2011
Perhaps v and f represent vertex and face information? If that is the case you can use the patch command. patch objects have the properties Vertices and Faces. Read the documentation to ensure you set these values using the right format; you may not be able to apply the variables v and f directly without some preprocessing.
Walter Roberson
Walter Roberson on 15 Nov 2011
Please show us the first few rows of your F matrix.

Sign in to comment.

YE HUICHAO on 14 Nov 2011
I just need to know what is f which is a 125731*3 matrix and number in each row is the same. I need to find someway to create faces thus I can use patch command.Thanks.


Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by