Hello!
I’m trying to prototype a workflow where we can to time offset our caches (references/payloads) based on stage variables. The idea is to have different layers with different offsets values so our caches look different when each of them are sublayered.
I was trying to get int variable expression working in a simple stage like below and I can’t seem to get them working, getting syntax error on the offset variable. Is it even possible to do something like this? Open for any suggestions, thanks in advance
#usda 1.0
(
expressionVariables = {
int64 FRAME = 5
}
)
def Xform "root"
{
def "FX5" (
prepend references = @cache.usda@</cube1> ( offset = `${FRAME}` )
)
{
}
}
Cheers,
Joseph