I’m working with an animated Switch LOP that toggles between different geometry objects, which generates time samples downstream in the USD stage.
My question is: should this be cached?
From what I understand, it’s generally considered good USD practice to cache all animation. However, when I use a File Cache LOP (tested with several configurations), the resulting cache seems to strip or omit the animation data entirely.
Do I need to cache an animated Switch LOP ?
227 3 2-
- amaruki
- Member
- 2 posts
- Joined: 12月 2024
- オフライン
-
- goldleaf
- スタッフ
- 4259 posts
- Joined: 9月 2007
- オフライン
-
- tamte
- Member
- 9291 posts
- Joined: 7月 2007
- オフライン
goldleafI assume the expectation is that exporting a sequence with animated switch into a single .usd (or caching) will behave exactly the same as if you run USD Stitch of individual frames, which have different switched stages
You can't cache a Switch LOP to USD, it has no representation in USD. So whatever is switching your LOP is causing the ROP to not write out the USD.
if it doesn't behave this way there needs to be some warning as that would not be intuitive
Tomas Slancik
CG Supervisor
Framestore, NY
CG Supervisor
Framestore, NY
-
- robp_sidefx
- スタッフ
- 580 posts
- Joined: 6月 2020
- オフライン
-
- Quick Links