Артем Котенко


About Me

Not Specified
Not Specified


Recent Forum Posts

How to start session sync by Python? 2023年3月27日11:33

Hi. Have the same problem.
I tried to use hou.startHoudiniEngineDebugger("hapi"). And it works fine, until you try to work with packed geometry. When doing some unpack/convert it returns no data. Did some extra tests and it's seems to be a problem with cooking time.

calving, maybe you have some solution for this?

Unreal per instance custom data not working ( 5.0 ) 2023年1月14日5:24

Hi, guys!

I try to use unreal per instance custom data attribute to transfer some values from HDA to unreal materials.
Actually HDA just create simple instances on points.
And here is my basic code.

i@id = @ptnum;
@pscale = 1;

v@up = {0,1,0};
v@N = {0,0,1};

s@unreal_output_name    = "geo_" + itoa( i@id );
s@unreal_instance       = chs("ue_inst");
s@unreal_material       = chs("ue_mat");

i@unreal_num_custom_floats = 3;
f@unreal_per_instance_custom_data0 = float ( i@id ) ;
f@unreal_per_instance_custom_data1 = 2.0;
f@unreal_per_instance_custom_data2 =  rand( v@P.y);

With this values I wanna to adjust uv`s in unreal and read texture. Then send it to world offset.
But some how it's not working. And the most interesting that when I use "VERTEX ONTERPOLATOR" node in material and send result to base color everything is fine. Unfortunately there is no option to send data after "vertex interpolator" to world offset.

Thanks for any help.

Python parameter expression not re-cook node 2020年10月7日6:37

Thanks for answer!
I test switch-if SOP, but the same result. Actually switch working fine with expression “npoints(opinputpath(”.“,1))>0”.
Problem is in object merge node - it's not re-cooking after updating path. I think there is some specific point in python parm expression executing.