user1111Hi, I seem to have the same issue with trying to create variants from multiple SOP geometry. Could you post this hip file so we can have a look?
Don't think it's correct but the best I could find was to put it in a add variant block in a for each loop with everything but the thing you want to be a new variant deleted (pack, delete everything else with a removepoint in a wrangle, unpack) using the contextoption("ITERATIONVALUE") to select the correct one.
Load as reference seemed to be required for me to get it to work, don't know USD enough to know why unfortunately. It's nearly procedural with the main value that has to be hand done is the total iteration number.
It's really a mess though, hopefully we get a node that takes packed prims and turns them to variants or from a sop attribute. Would be glad to see a better way than what I've kludged too.Image Not FoundImage Not FoundImage Not FoundImage Not Foundif (@ptnum!=`contextoption("ITERATIONVALUE")`){ removepoint(0,@ptnum); }
Found 2 posts.
Search results Show results as topic list.
Solaris and Karma » USD variants from alembic 'name' or 'path' attributes
- pavgv44
- 2 posts
- Offline
Technical Discussion » How to raytrace AOVs in mantra
- pavgv44
- 2 posts
- Offline
Hi all, I'm looking for a way to raytrace my AOVS in Mantra from reflection. I have a curved mirror that my camera is looking at and all of the important objects are in that distorted reflecion and I was wandering how to raytrace my AOVs. I have matte, light elements and zdepth image planes. I tried using the gather() function inside my mirror shader and output the AOV vex variables from there but I can't seem to get the reflection vector right or just my whole setup is wrong. Is there a simpler way to do this in general? Thanks
-
- Quick Links