I tried the H18.5's new VEX function - ramp_unpack / ramp_lookup yesterday.
But I'm confused with the introduction of the ramp_unpack function.
Ramps are commonly packed as JSON formatted strings by Houdini operations.
To my understanding, the ramp_unpack's string parm need a JSON formatted strings from ramp channel.
But how can I get the right json string?
I tried the “Attribute from Parameters” SOP, but the dict(will be converted to JSON use json_dumps function) it gets from ramp channel seems is not the right format which ramp_unpack needs.
I post my hip here.
Does anyone can help me? Thanks.