Path: news.mathworks.com!not-for-mail
From: "Bhavik " <trust.bvk@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Read a 3D model in Matlab
Date: Tue, 3 Nov 2009 19:50:19 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 9
Message-ID: <hcq1hr$152$1@fred.mathworks.com>
References: <h9f7n8$lja$1@fred.mathworks.com>
Reply-To: "Bhavik " <trust.bvk@gmail.com>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1257277819 1186 172.30.248.37 (3 Nov 2009 19:50:19 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 3 Nov 2009 19:50:19 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 2020410
Xref: news.mathworks.com comp.soft-sys.matlab:582149


To read a 3D model use 
[Tri,Pts]=PLYREAD(FILENAME,'TRI')  % just for polygon type models

and using trisurf u can plot the model.

trisurf(Tri,Pts(:,1),Pts(:,2),Pts(:,3));
 

hope this helps you can use trimesh also..