Switching between variants over time for a turntable?

   377   2   1
User Avatar
Member
30 posts
Joined: Aug. 2019
Offline
I have an asset with unknown amounts of geo and mtl variants.

I'm looking for a way to create a turntable for all of these variant combinations.
I want to show variant:geoA:mtlA for x frames then switch to geoB:mtlA for another x frames aso for all variant combinations.
I then want to export this as a single usd file and render it on our farm with husk.

I know the set variant node doesn't support animation but has anyone found a way to handle a case like this?

Is there maybe a way to do this with python? ie extract out all variant combinations and switch between them over x frames.
Or maybe using the explore variants lops with a for loop and animating visibility in a prune node?

My preference if possible would be to do this in 1 usd file instead of seperated per variant and keeping any references/sublayers without the need for flattening the hierarchy and saving out extra inbetween usd files.

Any ideas on how to solve this?

Thanks.
User Avatar
Staff
4563 posts
Joined: July 2005
Offline
I would suggest an explore variants node (to create an instance of the asset for each variant selection combination) and an animated prune LOP to change the visibility of the variants so that only one is visible at a time. This follows the rules of USD (visibility can be animated, variant selection cannot be) which means you could even write this to a single USD file and render it all as a sequence.
User Avatar
Member
41 posts
Joined: Aug. 2020
Offline
https://youtu.be/fdh2HJui7Uw?si=kcfB0YVcBWkPaGYW [youtu.be]

This is an old video with surely some bad practices, but it's what I used to render 1000+ unique variant combinations in TOPs, bit different since I didn't manually keyframe anything.
Edited by Latimerias - Nov. 24, 2025 13:01:54
  • Quick Links