Jump to content

export material facesets from maya to houdini with alembic


Recommended Posts

Is it possible to export materials from maya to houdini with alembic via custom attributes.

In my maya-script i have:

1. List of materials - ['blinn1', 'lambert1']

2. List off materials ID for each face - [0,0,1,0,1,1]

With this script i can split any mesh in maya.

But I need to have in houdini geometry from alembic and two prim groups (for this simple example) --> 'blinn1' = 0, 1, 3; 'lambert1' = 2, 4, 5

At now i can add custom attr to shape

setAttr "pCubeShape1.matID" -type "Int32Array" 0 0 1 0 1 1[/CODE]

and replicate groups in houdini. But maybe it is other methods to normal export materials facesets from maya to houdini

  • Like 1
Link to comment
Share on other sites

  • 2 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...