Gary Nisbet

gnisbet

About Me

EXPERTISE
Technical Director
INDUSTRY
Film/TV

Connect

LOCATION
United Kingdom
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

Control curve width with material (Karma) Feb. 20, 2024, 4:47 p.m.

Edmond BG
Thank you both for all those info.

Using the S coordinate is quite a good idea, at least to scale the curve down, which is very interesting for me.

I managed to get it work in Mantra but no luck in Karma so far. Out of the 2 parametric coordinate (s,t) only t seems to be working, s is just returning a black value.

I will keep digging in that direction.
Thanks !

Did you have any luck trying to do this? The only way I've done it so far is to wrangle the widths, or modify it in the render geometry settings.

How to read EXR metadata/header attribs? Oct. 17, 2022, 11:05 a.m.

Ah, fantastic, thanks so much!

I was trying to directly read the MetaData name, but the name on the node is attributes.

import ast
# path to file node
node = hou.node("../render_file")
# convert string to dict
attrs = ast.literal_eval(node.getMetaDataString("attributes"))
# Print peak memory and render time
print(attrs["info:peakMemory_s"], attrs["renderTime_s"])

How to read EXR metadata/header attribs? Oct. 17, 2022, 10:26 a.m.

Ah, I could never read any of the metadata in the python script. I was trying to query the rendertime from a karma render, but:

node = hou.node("/obj/cop2net/file")
node.getMetaDataString("renderTime")

The second one never returned any metadata but I can read that string in nuke. Was that similar metadata to what you were reading?