Jump to content
squardis

Export pyro to polygon alembic with vertex color

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?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
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...

 

Share this post


Link to post
Share on other sites

I don't know about Maya but in Max such a thing happened to me when I had on my alembic mesh tons of other attributes and groups, if it's the case you just attrib delete, group delete everything except Cd

  • Like 1

Share this post


Link to post
Share on other sites

Does Maya use vector4 for color? As I remember I did (ones) export velocity to Maya with converting to vector4.

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×