Jump to content

Export pyro to polygon alembic with vertex color


squardis

Recommended Posts

Hi,

I was trying something stupid but it doesn't seems to work.

I converted some pyro to polygons.

Get the Cd heat from volume.

Promote it to vertex color.

Export to alembic

But the colors aren't visible in Maya when I import it. If I do it with some other object. It works.

Do I overlook something?

Link to comment
Share on other sites

1 hour ago, Atom said:

I think Maya has a different name for Cd. Like Cf or something. You may need to rename your Houdini Cd to the Maya equivalent before exporting.

THNX for your fast reply. I understand what your saying but thats not totally true. (but i tried to change the name to see if that fixed it, but no luck)

If I test it with a grid > color it > use a object for transfer color attr. > promote to vertex color > and export with alembic it works in viewport.
I just need to set my colorSet to Cd for render in arnld, e.g.
 

But, if I try it by another object in my colorSet editor I see the attribute named"Cd".
If I do that with Pyro converted polygons. there is no attribute listed in maya.

read the file back in Houdini it gives me the color though...

 

Link to comment
Share on other sites

Vertex colors will work in Maya from Houdini if:

  • the attribute is vector3 RGB (it's possible this could work with vector4, haven't tried it)
  • it's a vertex attribute
  • it has the attribute type "color" (use the VEX command setattribtypeinfo() to set the type to "color" if it isn't already)

Here's a sample file, this displays with vertex colors in Maya as expected:

meshed_pyro_vtx_color.hip

Edited by toadstorm
  • Like 2
Link to comment
Share on other sites

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...