File Exchange

image thumbnail

Linear Subdivision

version 1.0 (244 KB) by

A simple m file for the triangle mesh subdivision using linear interpolation.

3.66667
3 Ratings

9 Downloads

Updated

View License

A simple m file for the triangle mesh subdivision using linear interpolation. The zip file includes four examples of subdivision.

See also the URL:
http://www.mathworks.com.au/matlabcentral/fileexchange/24942

Comments and Ratings (3)

Stéphane

Ankur Pawar

Excellent function.I use it very frequently . I also created polyhedron projections using this function .

Anton Semechko

Anton Semechko (view profile)

Nice piece of code. Although runs into memory issues for meshes that have more than 4E3 vertices. To avoid these problems change

edgeVertex= zeros(nVertices, nVertices); (on line 17)

to

edgeVertex= sparse(nVertices, nVertices);

Thanks for your submission Jesus.

MATLAB Release
MATLAB 7.6 (R2008a)
Acknowledgements

Inspired: meshSubdivision

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video