Maya, Houdini and uvSets

1,326 views
Skip to first unread message

François Devic

unread,
Jun 1, 2020, 4:38:40 PM6/1/20
to alembic-discussion
Hello!

We create an alembic cube in code with "uv" and "uv2" for every vertex. (we create with Houdini Engine in our inhouse engine)



Houdini reads them as uv and uv2 when using the uv view.

Maya reads only the "uv" attribute and create a map1 uvSet but doesn't find the uv2 attribute.



Is there a flag that should be set to make Maya read uv2 as an uvSet?

Thanks
François

Dorian Fevrier

unread,
Jun 22, 2020, 9:48:27 AM6/22/20
to alembic-discussion
I can't help, but I suggest to revert the problem : Export a geo with multiple UV set from Maya, check the Alembic content and try to match it.

Dorian

Joe Moulton

unread,
Jun 22, 2020, 10:46:07 AM6/22/20
to alembic-discussion
PolyMeshSchema objects have default "slots" for a set of normal and a single set of UVs (as a V2GeomParam).  

It looks like the Maya Importer that ships with the SDK supports up to 1 additional UV set (as a V2GeomParam) and 2 additional color sets.  It expects the additional sets to be stored as ordered children in a arbGeomParam child object of the PolyMesh.  I haven't used or written any plug-ins for Houdini [yet], but it would need export to the ABC archive in a similar fashion in order for the Maya import plug-in to pick up the additional UV set.

Joe

Dsharp K

unread,
Jun 22, 2020, 10:52:24 AM6/22/20
to alembic-discussion
https://www.sidefx.com/forum/topic/73635/?page=1#post-311259

plz check this link. In my case, want just change name 'uv' to 'map1', So tried write 'map1' on 'Additional UV attributes'. (already vertex uv attrib-name changed 'map1')

Joe Moulton

unread,
Jun 22, 2020, 11:48:44 AM6/22/20
to alembic-discussion
If there is no name in metadata for the primary UV set attached to the PolyMeshSchema (or rather if the name has a length of 0) the Maya import plug-in will assign "map1" as the name of the uv set.  For the additional uv set under arbGeomParams node it does not do this.  So either Houdini did not assign a name in abc metadata archive at export time or it was already Houdini already had the uv set named as 'map1' at export time.  In the former case, I'm not sure what would happen if there was no name metadata associated with the second uv set.  If he does both:

    a)  Move the second uvset to be the first child of arbGeomParams
    b)  Ensure that the name metadata is written for the secondary uv set node.

I think that may solve his problem.

François Devic

unread,
Jun 25, 2020, 1:43:18 PM6/25/20
to alembic-discussion
THanks a lot!
I will find a way to create correctly the parameter from Houdini

François Devic

unread,
Jul 16, 2020, 3:25:01 PM7/16/20
to alembic-discussion
Thanks a lot!

So the issue was : I didn't use the Addiotnal UV in the Alembic ROP (please use a facepalm emoji here)
Reply all
Reply to author
Forward
0 new messages