Andriy Babak
ababak
About Me
VFX Pipeline supervisor at Plarium
EXPERTISE
CG Supervisor
INDUSTRY
Film/TV
Connect
LOCATION
Ukraine
WEBSITE
Houdini Skills
Availability
Not Specified
Recent Forum Posts
Event Trigger for python callback on drag and drop Sept. 12, 2024, 3:20 a.m.
Is there something similar hidden to process clipboard pasting?
hou.IPRViewer.saveFrame() + OCIO/ACES March 23, 2023, 8:48 a.m.
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 June 14, 2022, 3:57 p.m.
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?