Search - User list
Full Version: ( Solved ) Heigtfield file or Mapbox heightfield not importing in Unreal
Root » Houdini Engine for Unreal » ( Solved ) Heigtfield file or Mapbox heightfield not importing in Unreal
samuelbrunner
Okay. so i watched videos, threads, searched over the internet, looked on the doc.

Nobody tell me how i import an simple heightfield file into unreal in .hda

My heightfield is a heightfield file node, not an heightfield node.

Same probleme if i use mapbox tool, it won't work with ue4 because it need a heightfield node and both don t use it.

So unreal engine is lost i guess.

If i export to png heightmap, i will loose all the advantage of using houdini, no layer infos, no scattering, no procedural placement…

My final gool is to import a real world terrain from houdini ( using mapbox ), generate road, veg scattering, terrain layer, placing house and then simply send that via hda to Unreal.

Now im just stuck at importing the terrain

Here is tuts i followed but are not working:

https://www.youtube.com/watch?v=HtKNtGdbgNk [www.youtube.com]
https://www.deborahrfowler.com/HoudiniResources/HoudiniHeightFields.html [www.deborahrfowler.com]
https://www.youtube.com/watch?v=iUGRAbTHynE [www.youtube.com]
https://www.sidefx.com/docs/unreal/_landscapes.html [www.sidefx.com]

And many more

Tried with heightfield in the node graph, but has soon as i add heightfield file it stop working
samuelbrunner
Here i tried a workaround by addind a project node, if i select the noise node then save the asset it work fine.

If i select the heightfield project, not working.

I have missed something ?

Seem like a bug with Houdini, add a heigfield file has input and it won't work anymore
dpernuit
Heightfield is a type of data, made at least of two 2d volumes (height / mask).
If your HDA is outputting a heightfield, the plugin will convert that HF to a Landscape.

How that heightfield is created doesn't really matter, whether it's using a Heightfield node and noise, or a Heightfield file node…
If you want to create a Landscape from a Heightfield created by a heightfield_node, all you need to do is wrap the hf_file node in an HDA, save it and import it in Unreal.

The HDA you're showing first seems to be allright, but the issue I'm seeing is that you're relying on $HIP in your path. ($HIP/desktop/test/…)
$HIP is the path to your saved hip file, which might be valid in Houdini, but not via Houdini Engine / Unreal, since you are not loading/saving any .hip file via Houdini Engine, but just using a Houdini Engine session.
This mean that your HDA is just failing to find the file when in UE4.

Try replacing your file's path by an absolute path.
You can also simply expose the file path on the HDA, and fill the path in Unreal, which will always give you a correct path.
samuelbrunner
Damn, it was pretty simple !

Thx
Nuuk
I prefer to set a file parameter with $HIP as the default value, and related it whenever I need to call $HIP.
Then replacing it by the absolute path when using .hda in UE.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB