Results 1 to 10 of 10

Thread: Polygons into Maya.

  1. #1
    Member Contributor
    Join Date
    Jun 2000
    Location
    Calgary, Alberta, Canada
    Posts
    61

    Polygons into Maya.

    I have a list of polygons that I want to import into Maya.
    How shall I output them from my program such that Maya can read them?

  2. #2
    Member Newbie
    Join Date
    Mar 2005
    Posts
    47

    Re: Polygons into Maya.

    OK

    I am a total newbie to OGL but.....

    What formats does MAYA support?

    Eg STL , VTK etc

    It must be able to import some form of ASCII poly file.

    So its just a case of writing you vertex/polygon array in a different format.

    Julian

  3. #3
    Member Contributor
    Join Date
    Jun 2000
    Location
    Calgary, Alberta, Canada
    Posts
    61

    Re: Polygons into Maya.

    Ok let me rephrase the quesiton...
    Does anybody know of an ascii text format for a list of polygons that maya supports. If so can you point me to a link that documents it.

  4. #4
    Member Newbie
    Join Date
    Mar 2005
    Posts
    47

    Re: Polygons into Maya.

    Looks like a few options (STL is pretty easy)

    http://www.alias.com/eng/products-se..._sdk_mel.shtml

    Import/Export Options

    Enhanced or new data support formats in Maya facilitate the accurate transfer of data between Maya and other applications. Whether bringing models into Maya for design visualization or exporting Maya data to other software packages, you will get the most value from your digital assets. Supported file formats include Macromedia® Flash, DWG, Adobe® Illustrator®, Encapsulated PostScript®, Scalable Vector Graphics, DXF, IGES, OpenFlight®, StudioTools® and OBJ, DDS, PNG, and STL.

  5. #5
    Member Newbie
    Join Date
    Mar 2005
    Posts
    47

    Re: Polygons into Maya.

    As you know IGES, STL and DXF are "open" ish formats

    Hopefully a bit of a search should turn these up.

    Or I can write you some sample files of a simple model and you could figure the formats out.

    Julian

  6. #6
    Member Contributor
    Join Date
    Jun 2000
    Location
    Calgary, Alberta, Canada
    Posts
    61

    Re: Polygons into Maya.

    Ok so after a bit of poking around it would appear that I want to produce a .ma file Maya Ascii...

    Here is what I can gather from sketchy data I've found on the net.
    This is the header...
    //Maya ASCII 1.0 scene
    //Name: myfile.ma
    //Last modified: Thurs, Mar 24, 2005 02:02:00 PM

    Data within the maya ascii file is arrainged in nodes...
    This sounds great because I have a few objects and each object
    has a list of polygons each polygon has a set of integer points that describe the polygon. Each object has a color.

    Not much of and advance.. but its a step in the right direction...

  7. #7
    Member Newbie
    Join Date
    Mar 2005
    Posts
    47

    Re: Polygons into Maya.

    Can you ask someone to create a simple model (cube or similar) and write out one of these files from Maya?

    Someone on this forum must use Maya??

    Good luck

  8. #8
    Senior Member Regular Contributor
    Join Date
    May 2000
    Location
    Oxford, England
    Posts
    472

    Re: Polygons into Maya.

    *.ma is definately NOT what you are looking for. the ma files are simply mel scripts that re-create the dependency graph. You are probably better off writing your own importer using the Maya API, or simply writing out an obj file and then using the obj import plugin.

    Alternatively, you can load the Maya API up into your application using MLibrary. That would allow you to write the data directly out to a Maya binary or ascii file using MFileIO::saveAs().

    you might find my website useful, www.robthebloke.org

  9. #9
    Member Contributor
    Join Date
    Jun 2000
    Location
    Calgary, Alberta, Canada
    Posts
    61

    Re: Polygons into Maya.

    Did I mention that I am on MAC OS X?
    After much reading and posting it would appear that what I need to produce is a .OBJ file.
    So if there are any experts here on .OBJ files please let me know..

  10. #10
    Senior Member Regular Contributor
    Join Date
    May 2000
    Location
    Oxford, England
    Posts
    472

    Re: Polygons into Maya.


Similar Threads

  1. Maya -> Max
    By tarwin in forum COLLADA
    Replies: 1
    Last Post: 06-24-2011, 03:34 PM
  2. COLLADA Maya 0.90 bug
    By croft in forum COLLADA
    Replies: 3
    Last Post: 05-08-2006, 08:22 AM
  3. maya 1.1 importer
    By joeante in forum COLLADA
    Replies: 1
    Last Post: 12-06-2004, 03:59 PM
  4. To display of concave polygons, polygons containing holes
    By deepa in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 10-13-2004, 09:22 PM
  5. ATI all-in-one-wonder and Maya on NT
    By SteveW in forum OpenGL: User Software
    Replies: 0
    Last Post: 02-28-2000, 03:13 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean