Surface construction from vertices and their respective normals
Show older comments
I'm importing a 3D set of triangle vertices and their associated normals to construct a surface in MATLAB and am having a bit of trouble in constructing this.
The vertices are in a x,y,z format and the normals are computed as one might expect and correspond to the same vertice at each instance.
Previously I've been able to bring in the points (vertices) and build a surface using the smooth function:
A=smooth3(A); %A is a set of points (x,y,z)
p2=patch(isosurface(A,lo));
isonormals(A,p2);
I am trying to get away from this process as the pre-processing of which points to include is much easier in another software (Imaris).
Any help is greatly appreciated
6 Comments
Matt J
on 19 Mar 2013
Get away from it and move toward what? What are you looking to do that is different from what you're doing?
Adam
on 22 Mar 2013
Adam
on 22 Mar 2013
Michael J
on 4 Dec 2014
Adam, Was your script ever finished? I am trying to do the same thing and would appreciate the help if you were able to figure out the problem. Thanks, Michael
raym
on 3 Apr 2019
I have a script to get surface mesh data from imaris to matlab, and do a matrix transposition/rotation, then put it back to imaris to show the modified surface. Cool
Answers (1)
If you have the vertices, why not just use MESH, SURF, or similar to build the surface?
Categories
Find more on Surface and Mesh Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!