Code covered by the BSD License  

Highlights from
readObj

5.0

5.0 | 1 rating Rate this file 7 Downloads (last 30 days) File Size: 1.68 KB File ID: #18957

readObj

by Bernard Abayowa

 

27 Feb 2008 (Updated 28 Feb 2008)

readObj file into Matlab structure

| Watch this File

File Information
Description

This function reads vertices, faces, texture and normal information from a specified Obj file, and stores the information in a Matlab structure. This file is designed for faces with 3 vertices (Triangulated mesh).

MATLAB release MATLAB 7.4 (R2007a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
08 Oct 2009 Binh Nguyen

Simple and efficient code. Note that the code work with faces with arbitrary number of vertices also (not just 3 like the author's description).

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
data import Bernard Abayowa 22 Oct 2008 09:50:52
data export Bernard Abayowa 22 Oct 2008 09:50:52
obj Bernard Abayowa 22 Oct 2008 09:50:52
mesh Bernard Abayowa 22 Oct 2008 09:50:52
read Bernard Abayowa 22 Oct 2008 09:50:52
texture Bernard Abayowa 22 Oct 2008 09:50:52
faces Bernard Abayowa 22 Oct 2008 09:50:52
vertices Bernard Abayowa 22 Oct 2008 09:50:52
structure Bernard Abayowa 22 Oct 2008 09:50:52
data export Philip Morrow 02 Jul 2009 14:56:10
obj Nevena Joskoska 07 Jul 2009 10:03:00

Contact us at files@mathworks.com