Houdini Landscape Test
This UE4 project is a test for referencing UE4 Physical Materials from a Houdini HDA generated landscape. The code for this is implemented in a branch of the UE4 Houdini Engine plugin.
- Install the Houdini Engine plugin at the above link.
- Open HoudiniLandscapeTest.uproject
- Drag in the landscape houdini asset from the UE4 Content browser into the TestMap level.
- After import, view the landscape layer infos that are created. One of them should be set to PM_Dirt, one of them should be set to PM_Snow, and the other should be set to None.
Setting the Landscape Layer Info's Physical Material in Houdini
See landscape.hdalc for the full example.
Create a primitive string attribute named
unreal_landscape_layer_physical_material for the layer you want to add a physical
material to. The value of the attribute should be a string reference to the physical material in UE4.
Here's an example Attribute Create node in Houdini:
Here's what the Geometry Spreadsheet should look like after you've set two different physical materials on two different layers:
Here's what the layer info should look like with a physical material set: