Jump to content

usd model variants from attribute


sixjames1000

Recommended Posts

Hi all
 
I've been looking at creating usd variants from the following, thinking on using this to create a model with variants from a piece of geometry that has a primitive attribute called "myattr" with 2 values (say half a sphere with myattr="left", and the other side called "right")

1- sopimport an object into LOPS with prim attributes.
2- create an add variant to existing primitive block
3- done

Any ideas on how to iterate through each of the primitive attribute values to create this variants? 
 
adding a hip file for reference, maybe someone can help

Thanks in advance!

usdvariants_from_groups.hipnc

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