( Solved ) Heigtfield file or Mapbox heightfield not importing in Unreal
6361 4 0- samuelbrunner
- Member
- 38 posts
- Joined: June 2019
- Offline
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
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
Edited by samuelbrunner - June 11, 2019 03:30:21
- samuelbrunner
- Member
- 38 posts
- Joined: June 2019
- Offline
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
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
Edited by samuelbrunner - June 9, 2019 17:27:05
- dpernuit
- Staff
- 534 posts
- Joined: Sept. 2016
- Offline
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.
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
- Member
- 38 posts
- Joined: June 2019
- Offline
- Nuuk
- Member
- 24 posts
- Joined: April 2020
- Offline
-
- Quick Links