Is there a way I can use a For Each LOP to send each variant into a SOP modify LOP, do some animation stuff and get it back into Solaris as a layer override?
Essentially something like shown in the image.
Use a for each to send each variant into a SOP Modify LOP?
1327 6 4- traileverse
- Member
- 355 posts
- Joined: 11月 2015
- Offline
- alexandru_p
- Member
- 22 posts
- Joined: 6月 2013
- Offline
- traileverse
- Member
- 355 posts
- Joined: 11月 2015
- Offline
- mtucker
- スタッフ
- 4441 posts
- Joined: 7月 2005
- Offline
Yes, you can do roughly what you've done there, but you also have to use an Add Variant LOP between the SOP Modify and the foreach_end so that the per-variant modification is authored back into the originating variant. As you've got it there, the overrides authored for each variant are all going to be applied to the prim all the time, regardless of the variant selection.
- j00ey
- Member
- 55 posts
- Joined: 5月 2013
- Offline
- alexandru_p
- Member
- 22 posts
- Joined: 6月 2013
- Offline
Using the first input of the foreach instead of the second makes the original geometry be used also as an input stage. That means the layer resulting after the foreach doesn’t contain just the “over” with the modified geo, but also the original layer.
While this is a totally valid approach, we usually like to keep things separate because it gives you the flexibility in the final stage to load/unload layer at will.
Usually these things happen in different Houdini projects handled by different departments. You would have the initial static asset published by the lookdev department, the animation would read these assets but only write inside their own usd file the changes they bring to the asset. Finally, when it comes to lighting for instance, the artist can start working with the static assets, even if the animation is not there yet, and load it in later at his own convenience.
While this is a totally valid approach, we usually like to keep things separate because it gives you the flexibility in the final stage to load/unload layer at will.
Usually these things happen in different Houdini projects handled by different departments. You would have the initial static asset published by the lookdev department, the animation would read these assets but only write inside their own usd file the changes they bring to the asset. Finally, when it comes to lighting for instance, the artist can start working with the static assets, even if the animation is not there yet, and load it in later at his own convenience.
- j00ey
- Member
- 55 posts
- Joined: 5月 2013
- Offline
-
- Quick Links