Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!w13g2000prm.googlegroups.com!not-for-mail
From: Rune Allnor <allnor@tele.ntnu.no>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Import a 3D model into Matlab and rotate/translate it
Date: Thu, 9 Oct 2008 09:01:52 -0700 (PDT)
Organization: http://groups.google.com
Lines: 24
Message-ID: <df5b5254-b140-4c06-8f1d-5c6ea9bf6a72@w13g2000prm.googlegroups.com>
References: <gcl6oh$39k$1@fred.mathworks.com>
NNTP-Posting-Host: 212.17.141.54
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Trace: posting.google.com 1223568113 31977 127.0.0.1 (9 Oct 2008 16:01:53 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Thu, 9 Oct 2008 16:01:53 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: w13g2000prm.googlegroups.com; posting-host=212.17.141.54; 
	posting-account=VAp5gAkAAAAmkCze5hvZtMeedpZWNthI
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET 
	CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022),gzip(gfe),gzip(gfe)
Xref: news.mathworks.com comp.soft-sys.matlab:494374


On 9 Okt, 17:08, "Alexander " <alexander.erl...@gmail.com> wrote:
> Hi,
>
> I would like to import a 3D model file (like from Maya, 3DSMax, or something else) into Matlab in order to access its coordinates and the rotation angles.
>
> Can you tell me how this is possible?

In principle this is easy: Just get a description
of whatever file format you import from, and read
the data into the data structures internal to matlab.

In practice there are two problems: Obtaining the
file format descriptions and selecting what data
structures to use internal to matlab.

> My aim is actually to animate the rotation of a fairly simple 3D model (using either drawnow or movie for animation). Will Matlab be able to handle this on a relatively up-to-date machine?

Probably. Just be aware that 3D graphics is one
of the more demanding computational tasks around,
both what memory and algorithms are concerned, and
that matlab is notoriously inefficient what memory
and algorithms are concerned.

Rune