Path: news.mathworks.com!not-for-mail
From: "Alexander " <alexander.erlich@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Import a 3D model into Matlab and rotate/translate it
Date: Fri, 10 Oct 2008 21:56:03 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 19
Message-ID: <gcoj1j$2qi$1@fred.mathworks.com>
References: <gcl6oh$39k$1@fred.mathworks.com> <df5b5254-b140-4c06-8f1d-5c6ea9bf6a72@w13g2000prm.googlegroups.com>
Reply-To: "Alexander " <alexander.erlich@gmail.com>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1223675763 2898 172.30.248.35 (10 Oct 2008 21:56:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 10 Oct 2008 21:56:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1217178
Xref: news.mathworks.com comp.soft-sys.matlab:494636


Thank you Rune, 


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

yeah, I've seen that there is a file converter from CAD to Matlab, but I understand that there is no simple, Mathworks-predefined way. So I guess I'll have to change my plans a little.

Actually, what my goal is, is to build a simulation of a spinning top. For the beginning, some simple, symmetric looking object would suffice. I need access to its Euler angles as I receive them from numerically solving the differential equations. If all of that was given, I could simply update the three Euler angles frame by frame using drawnow or movie.   


> 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.

Actually, if sometime in the distant future I will realize doing the 3D grapics stuff in Matlab is too slow, is there an easy way to use a different renderer, like openGL? I mean, can I operate and update things from Matlab just like I described it, but address openGL directly?