Gary Nisbet

gnisbet

About Me

専門知識
Technical Director
INDUSTRY
Film/TV

Connect

LOCATION
United Kingdom
ウェブサイト

Houdini Skills

Availability

Not Specified

Recent Forum Posts

Control curve width with material (Karma) 2024年2月20日16:47

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? 2022年10月17日11:05

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? 2022年10月17日10:26

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?