• Forum
  • Education
  • 3D Software
  • Maya
  • Maya API: how to create UVSets in data mesh
  • Coolthreads cool cool
    Adversitment
    + Reply to Thread
    Results 1 to 3 of 3

    1. zj's Avatar

      China

      zj is on a distinguished road

      Join Date:

      Jun 2003

      Posts:

      76

      Rep Power:

      12

      August 1, 2005

      # 1
      Hi,

      I am working on a plug-in node that generates mesh data.



      meshFn.create( numvx, nump, avx, pc, pconn, outMeshData, &stat );



      Then attach some UV info.



      meshFn.setUVs( ua, va ); meshFn.assignUVs( polygoncounts, uvids );


      That works fine to create the default UVset "map1". But when i use the code:


      meshFn.setUVs( ua, va, &MString("foo") ); meshFn.assignUVs( polygoncounts, uvids, &MString("foo") );


      No UVset created. Seems it failed to create any UVset named other than "map1".

      The problem is how to create multiple UVsets in data mesh. I have searched this topic online, but got no luck. Any advice will be appreciated.

      Thanks in advance.

      zhang

    2. breton's Avatar

      Dominican Republic

      Santiago, Dominican Republic

      Autodesk Maya

      breton is on a distinguished road

      Join Date:

      Jan 2004

      Posts:

      1,239

      Rep Power:

      12

      August 1, 2005

      # 2
      http://www.eliteops.com/sama/AdvancedUV/


      Maybe it helps... i'm not sure.

      *check the second tip.

    3. August 2, 2005

      # 3
      Thanks for your help. Stilling trying to find a solution.

    Similar Threads

    1. Data librarian wanted
      By Dinamo in forum Studios Hiring
      Replies: 0
      Last Post: 09-06-10, 10:47 AM
    2. cannot render REAL FLOW mesh in mental Ray
      By greeny in forum Mental Ray
      Replies: 4
      Last Post: 04-18-05, 03:39 AM
    3. Mesh Vs Poly
      By Brocoli in forum 3ds Max
      Replies: 8
      Last Post: 04-11-05, 05:16 PM
    4. 23 gigabytes of data
      By mscjcarr in forum Your News
      Replies: 0
      Last Post: 03-06-03, 04:49 AM
    5. Dino Mesh.
      By 3D in forum 3D Artwork
      Replies: 1
      Last Post: 06-22-02, 02:10 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
    Adversitment