Hello, I'm trying out the new PCG Houdini Digital asset node. I managed to generate meshes with my HDA on PCG points. As a next test I want to spawn a point cloud from my HDA into my PCG graph, but I haven't been able to figure out how.
In the documentation it says:
PCG data The HDA PCG node can create raw PCG data instead of Unreal objects. For example, an HDA may sample a Houdini heighfield and return a list of points rather than a whole landscape. You can use unreal_pcg_params to export parameters and attribute sets.
Hi, you can just add the attribute to the points and set the value to 1 and it should work. So 'i@unreal_pcg_params = 1' on a wrangle set to points would do the trick. Houdini Engine will recognize the attribute and import the points from the HDA as points in your PCG graph. **This may not be back ported yet, but there is also a new checkbox on the pcg HDA Node called 'Force PCG Outputs' and this will automatically set this attribute for you on import when checked on.
And if you had an a spline output with the regular @unreal_output_curve with the same @unreal_pcg_params attribute, Houdini Engine will convert the output as a spline in PCG.
As well, all PCG attributes that were brought into an HDA input should be passed through to the output. And PCG respects the regular attributes in Houdini. eg pscale on points would be brought in.