Point Instancer without Referencing ("Reference" Method)
898 4 0- nd_sliu
- Member
- 16 posts
- Joined: Sept. 2023
- Offline
I'm trying to copy payloads on points. But the payloads are coming in under a Prototype Scope prim, and prepended as references on each point. Instead, I want to copy the "raw" payloads on to each point, as shown in the attached image.
Hopefully this can be done without a second Python or VEX step, which can be slow on thousands of points.
I also attached a demo hip file (Houdini 20.0.506), which exports the usd to the user desktop.
Appreciate any discussions/tips!
Hopefully this can be done without a second Python or VEX step, which can be slow on thousands of points.
I also attached a demo hip file (Houdini 20.0.506), which exports the usd to the user desktop.
Appreciate any discussions/tips!
Edited by nd_sliu - Nov. 30, 2023 19:09:58
- mtucker
- Staff
- 4444 posts
- Joined: July 2005
- Offline
- nd_sliu
- Member
- 16 posts
- Joined: Sept. 2023
- Offline
- nd_sliu
- Member
- 16 posts
- Joined: Sept. 2023
- Offline
@mtucker I tried out your suggested method was able to add payloads the way I wanted. Took a bit to wrap my head around it 😅. Now I'm hitting another blocker trying to variants based on point attributes.
In SOPs, I'm assigning different payloads to each point using a string point attribute "payload". Then in LOPs the attribute "payload" turns into a primvar. But I can't get the Reference node to apply a payload based on the "payload" primvar - The File Pattern parameter doesn't seem to evaluate on a per-prim basis.
Any tips on assigning different payloads based on primvars? Thanks!
I also attached the updated demo file to showcase the issue
In SOPs, I'm assigning different payloads to each point using a string point attribute "payload". Then in LOPs the attribute "payload" turns into a primvar. But I can't get the Reference node to apply a payload based on the "payload" primvar - The File Pattern parameter doesn't seem to evaluate on a per-prim basis.
Any tips on assigning different payloads based on primvars? Thanks!
I also attached the updated demo file to showcase the issue
Edited by nd_sliu - April 12, 2024 22:47:38
- mtucker
- Staff
- 4444 posts
- Joined: July 2005
- Offline
-
- Quick Links