You use vex chramp to set the ramp parameter of a node? How? Or you just get the ramp value in vex node? Thanks. The Import Block is not work well with multi-parm block / for loop as far as my experience. So I just replace it with VEX chramp to direct get the ramp from the parameter panel. Yeah, the ramp parm is buggy with multi-parm block / for loop. why can't just use the expression like the toggle parameter? Thanks. because the loop times is variable(read form a json use python), so i can't use the method you mention before. then sometimes the ramp don't work, but the toggle (“ch(strcat(”././enable_slope“, detail(”./foreach_count1/“, ”iteration“, 0) + 1))”) always work. But when i use a foreach in the hda, i need the expressions to be something like “ch(strcat(”././slope_ramp“, detail(”./foreach_count1/“, ”iteration“, 0) + 1))”, “detail(”./foreach_count1/“, ”iteration“, 0) + 1” is the index. I check the expressions, it's “ch(”././slope_ramp“)”. ![]() There's 3 little buttons in the top-right of the ramp widget, they will flip the ramp left to right, top to bottom, and the gear contains some preset ramp shapes. When i use “Paste Relative References” it works. Now have a play Add extra points into the ramp GUI, see how adding and moving points corresponds to changes in the geometry. The Import Block is not work well with multi-parm block / for loop as far as my experience.ĮricSheng ChenA tamte ChenA I use ch(“././enable_slope”) and ch(“././slope_ramp”) to connect the hda parameter and heightfield mask byfeature node wouldn't work if you just put ch(“././slope_ramp”) as an expression in there, use one of the mentioned methods as those link the ramp multiparm properly Thanks. Functions and classes for running a web server inside a graphical or non-graphical Houdini. HScript is Houdini’s legacy scripting language. VEX is a high-performance expression language used in many places in Houdini, such as writing shaders. So I just replace it with VEX chramp to direct get the ramp from the parameter panel. How to script Houdini using Python and the Houdini Object Model. When i use “Paste Relative References” it works. ChenA tamte ChenA I use ch(“././enable_slope”) and ch(“././slope_ramp”) to connect the hda parameter and heightfield mask byfeature node wouldn't work if you just put ch(“././slope_ramp”) as an expression in there, use one of the mentioned methods as those link the ramp multiparm properly Thanks.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |