Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: How to create "ASCII Scene Export" files from a MATLAB mesh
Date: Fri, 24 Jul 2009 10:25:19 +0000 (UTC)
Organization: Lulea University of Technology
Lines: 28
Message-ID: <h4c26f$5cp$1@fred.mathworks.com>
References: <h499kp$f8n$1@fred.mathworks.com> <eccf65eb-b27a-4f8a-a09d-32a60210a1ee@c29g2000yqd.googlegroups.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1248431119 5529 172.30.248.38 (24 Jul 2009 10:25:19 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 24 Jul 2009 10:25:19 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1595763
Xref: news.mathworks.com comp.soft-sys.matlab:558069


Máday Péter <madapeti@gmail.com> wrote in message <eccf65eb-b27a-4f8a-a09d-32a60210a1ee@c29g2000yqd.googlegroups.com>...
> Hi,
> 
> Assuming that you have access to something that can render such
> models, I suppose you can save them as well. As I have no experience
> with this format, what I would suggest, is to create a plane in the X-
> Y plane (a flat rectangular surface) with side lengths set to 1 and 10
> vertices per dimensions (so that it has 10 by 10 vertices on a uniform
> grid) in one such editor, save it as ASE, and try to understand the
> result.
> 
> If you did this, and are capable of generating rectangular meshes in a
> certain size, and with a certain number of vertices, than all you need
> to do, is to create such a file with the Z coordinates of the
> respective vertices set to the intensity values of the image (or some
> transformed version of it).
> 
> Peter
> 

Hi,

Thanks for the response. This is what we're currently trying to do, writing our own export function. 

I was hoping, though, that someone out there already did this, since this is really only a small part of a bigger project.

Anyway, thanks!
/Johan