converting a .fig to .obj

  • Follow


I have a 3D graph from an output that is a .fig file.  Is there a simple way to convert this file as a .obj file?  I need to manipulate the file with maya so I need a file format that contains the 3D graph in xyz coordinates.  Thanks for reading and very much appreciated if you have the way.  Yes I just got a matlab book and am not that familiar with the program.
0
Reply Dave 1/25/2011 11:22:03 PM

On Jan 26, 12:22=A0pm, "Dave " <kosherst...@yahoo.com> wrote:
> I have a 3D graph from an output that is a .fig file. =A0Is there a simpl=
e way to convert this file as a .obj file? =A0I need to manipulate the file=
 with maya so I need a file format that contains the 3D graph in xyz coordi=
nates. =A0Thanks for reading and very much appreciated if you have the way.=
 =A0Yes I just got a matlab book and am not that familiar with the program.

In Windows Explorer, right click the file, hit Rename, and change
extension to .obj
0
Reply TideMan 1/26/2011 9:29:53 AM


On 25/01/11 5:22 PM, Dave wrote:
> I have a 3D graph from an output that is a .fig file. Is there a simple
> way to convert this file as a .obj file? I need to manipulate the file
> with maya so I need a file format that contains the 3D graph in xyz
> coordinates. Thanks for reading and very much appreciated if you have
> the way. Yes I just got a matlab book and am not that familiar with the
> program.

What kind of graph is it? Some of them are easier to extract data from 
than others.

Generally speaking, you can load() a .fig file by specifying the '-mat' 
option to load(). A .fig file is a .mat file with a different extension 
and containing particular variables. Once the variables are loaded, they 
would be handle graphics objects, and their properties can generally be 
fetched via get(). Making _sense_ of the properties is simple for some 
kinds of graphics and tricky for other kinds.
0
Reply Think 1/26/2011 9:37:21 AM

TideMan <mulgor@gmail.com> wrote in message <9546c6f7-3a18-444c-b620-09e8bad919a7@v17g2000prc.googlegroups.com>...
> On Jan 26, 12:22 pm, "Dave " <kosherst...@yahoo.com> wrote:
> > I have a 3D graph from an output that is a .fig file.  Is there a simple way to convert this file as a .obj file?  I need to manipulate the file with maya so I need a file format that contains the 3D graph in xyz coordinates.  Thanks for reading and very much appreciated if you have the way.  Yes I just got a matlab book and am not that familiar with the program.
> 
> In Windows Explorer, right click the file, hit Rename, and change
> extension to .obj

Brilliant, unfortunately that wasn't the type of answer I was looking for.  Thanks for your time
0
Reply Dave 1/28/2011 5:28:03 AM

"Think blue, count two." <roberson@hushmail.com> wrote in message <mXR%o.4343$OX.459@newsfe07.iad>...
> On 25/01/11 5:22 PM, Dave wrote:
> > I have a 3D graph from an output that is a .fig file. Is there a simple
> > way to convert this file as a .obj file? I need to manipulate the file
> > with maya so I need a file format that contains the 3D graph in xyz
> > coordinates. Thanks for reading and very much appreciated if you have
> > the way. Yes I just got a matlab book and am not that familiar with the
> > program.
> 
> What kind of graph is it? Some of them are easier to extract data from 
> than others.
> 
> Generally speaking, you can load() a .fig file by specifying the '-mat' 
> option to load(). A .fig file is a .mat file with a different extension 
> and containing particular variables. Once the variables are loaded, they 
> would be handle graphics objects, and their properties can generally be 
> fetched via get(). Making _sense_ of the properties is simple for some 
> kinds of graphics and tricky for other kinds.

This is a 3D graph and I am trying to get the graph in a format that has x y z coordinates (such as .obj or .xyz) so I can load the graph into a graphics design program named maya.  I can alread open the file in matlab and manipulate the file.  I just can't (that i'm aware of) save it in the required format using matlab.  If you have any other advice it would be appreciated.  Thanks 
0
Reply Dave 1/28/2011 5:31:04 AM

On 27/01/11 11:31 PM, Dave wrote:

> This is a 3D graph and I am trying to get the graph in a format that has
> x y z coordinates (such as .obj or .xyz) so I can load the graph into a
> graphics design program named maya. I can alread open the file in matlab
> and manipulate the file. I just can't (that i'm aware of) save it in the
> required format using matlab. If you have any other advice it would be
> appreciated. Thanks

It appears that .obj is Lightwave's format, not Maya's format, but that 
Maya can read and write it. A description of Lightwave's .obj format can 
be found at http://www.martinreddy.net/gfx/3d/OBJ.spec

0
Reply Think 1/28/2011 5:16:26 PM

5 Replies
399 Views

(page loaded in 0.002 seconds)

Similiar Articles:













7/20/2012 2:13:10 AM


Reply: