Andriy Babak
ababak
About Me
VFX Pipeline supervisor at Plarium
専門知識
CG Supervisor
業界:
Film/TV
Connect
LOCATION
Ukraine
ウェブサイト
Houdini Engine
Availability
Not Specified
Recent Forum Posts
Event Trigger for python callback on drag and drop 2024年9月12日3:20
Is there something similar hidden to process clipboard pasting?
hou.IPRViewer.saveFrame() + OCIO/ACES 2023年3月23日8:48
Hi Moritz,
Try to use it like this:
Cheers,
Andriy
Try to use it like this:
ipr_viewer = hou.ui.paneTabOfType(hou.paneTabType.IPRViewer) if not ipr_viewer: return "" conv_lut = os.path.join( os.path.dirname(os.getenv("OCIO")), "baked", "houdini", "Rec.709 for ACEScg Houdini.lut", ).replace("\\", "/") ipr_viewer.saveFrame(path, 0, -1, -1, "C", "C", "*", conv_lut, 1.0, False)
Cheers,
Andriy
Pass some data into custom Asset Resolver 2022年6月14日15:57
As there are no replies, I'll try to add my thoughts.
Currently I've come up with this solution: asset resolver gets its context path with a suffix:
Then in CreateDefaultContextForAsset I separate the context path ("/path/to/context/file.usd") and decode the key-value pairs into my context dictionary.
This solution is almost fine as I can encode my data and use configureStage node's "resolvercontextassetpath" parm to send this to my resolver.
Any other ideas?
Currently I've come up with this solution: asset resolver gets its context path with a suffix:
/path/to/context/file.usd?key1=value1&key2;=value2...
Then in CreateDefaultContextForAsset I separate the context path ("/path/to/context/file.usd") and decode the key-value pairs into my context dictionary.
This solution is almost fine as I can encode my data and use configureStage node's "resolvercontextassetpath" parm to send this to my resolver.
Any other ideas?