Code covered by the BSD License  

Highlights from
Linear Subdivision

4.5

4.5 | 2 ratings Rate this file 14 Downloads (last 30 days) File Size: 244.1 KB File ID: #24964
image thumbnail

Linear Subdivision

by Jesús P. Mena-Chalco

 

08 Aug 2009

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

| Watch this File

File Information
Description

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

MATLAB release MATLAB 7.6 (R2008a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
10 Jan 2011 Anton Semechko

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.

08 Dec 2011 Ankur Pawar

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

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
linear sudbdivision Jesús P. Mena-Chalco 10 Aug 2009 11:47:49
mesh subdivision Jesús P. Mena-Chalco 10 Aug 2009 11:47:49
computer graphics Jesús P. Mena-Chalco 25 Aug 2009 22:18:25
subdivision Jesús P. Mena-Chalco 25 Aug 2009 22:18:41
interpolation Jesús P. Mena-Chalco 25 Aug 2009 22:19:03

Contact us at files@mathworks.com