Colin Kennedy
korinkite
About Me
Connect
LOCATION
Not Specified
WEBSITE
Houdini Skills
Availability
Not Specified
Recent Forum Posts
How does "Resolver Context Asset Path" work? Aug. 31, 2022, 10:09 p.m.
The USD Render ROP indicates that you can pass context directly to the rendered stage, via the Resolver Context Asset Path [www.sidefx.com] parm. I'm just getting into this now but was hoping to get clarification on what the parm, in USD source code, is doing.
This some pseudo-code of what I was thinking "Resolver Context Asset Path" is doing:
Maybe something like that? I need to know roughly how "Resolver Context Asset Path" works to ensure a custom resolver implements the feature correctly.
This some pseudo-code of what I was thinking "Resolver Context Asset Path" is doing:
context_string = node.parm("resolvercontext").eval() if context_string: context = Ar.GetResolver().CreateContextFromString(context_string) stage = Usd.Stage.Open(node.stage().GetRootLayer().identifier, context) else: stage = node.stage() _do_the_render(stage)
Maybe something like that? I need to know roughly how "Resolver Context Asset Path" works to ensure a custom resolver implements the feature correctly.