Jump to content

Custom Attribute export to Alembic


gramx

Recommended Posts

Hi,
 
I am having some difficulty exporting custom attributes in the correct format.
 
Currently I am trying to export 3 attributes Cd(3fc), v(3fv), custom(3f)
 

 

I am reading these in V-Ray for 3DS-Max. I can read v and Cd but not the custom attribute. I have had chaos group look at the alembic file and they are saying that they can't read the custom attribute because it is written as a scalar channel and not a vector channel.
 
I am using a parameter node in a pointvop and have tried setting it to vector and color. The custom attribute reads as (3f) but Cd is (3fc) and v is (3fv). If the custom attribute is a color should it not also read as (3fc)???
 
Anyone got any ideas how to change the format of the custom attribute?
 
Thanks
 
Graham

 

 

 

Link to comment
Share on other sites

The "setattribtypeinfo" VEX function should let you specify that your attribute is a vector:

 

http://www.sidefx.com/docs/houdini14.0/vex/functions/setattribtypeinfo

 

I believe the corresponding VOP is this one:

 

http://www.sidefx.com/docs/houdini14.0/nodes/vop/setattrib

 

-Jon

 

 

Thanks Jon! The setattrib VOP let me change it to a vector (3fv)  cheers :)

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