A layer info is lost in the Houdini-HDA-Unreal pipeline
4271 10 0- goose7
- Member
- 75 posts
- Joined: Sept. 2018
- Offline
Hello folk,
I finally start to figure out how the pipeline works.(16.5.571-4.19)..I have to say Houdini is the most powerful DCC, and the most difficult one….
And I create a rough landscape in HDN,add two custom layer called Slopehard and grassland
So there are a lot of layers now, and I use a heightfield layer clear to clear the water, flow, bedrock.etc…
And left Slopehard, grassland, peak and debris layer. And I added an unreal material attributive to it.
In UE4, I get a landscape material with the correct layer name..
But when I import HDA and build instance, I found that the debris layer does not have an automatic layer info like the rest three
As you can see, in image 1 the debris layer can be visualized, so Houdini knows the debris layer has info
But in image 2, the unreal terrain info layers shows there is no debris layer info
In image 3, the the landscape layer has the correct layer name
In image 4, the Houdini engine's temp folder even does not contain a debris layer info
I finally start to figure out how the pipeline works.(16.5.571-4.19)..I have to say Houdini is the most powerful DCC, and the most difficult one….
And I create a rough landscape in HDN,add two custom layer called Slopehard and grassland
So there are a lot of layers now, and I use a heightfield layer clear to clear the water, flow, bedrock.etc…
And left Slopehard, grassland, peak and debris layer. And I added an unreal material attributive to it.
In UE4, I get a landscape material with the correct layer name..
But when I import HDA and build instance, I found that the debris layer does not have an automatic layer info like the rest three
As you can see, in image 1 the debris layer can be visualized, so Houdini knows the debris layer has info
But in image 2, the unreal terrain info layers shows there is no debris layer info
In image 3, the the landscape layer has the correct layer name
In image 4, the Houdini engine's temp folder even does not contain a debris layer info
Edited by goose7 - Feb. 10, 2019 15:35:08
- pande
- Member
- 40 posts
- Joined: Oct. 2018
- Offline
- goose7
- Member
- 75 posts
- Joined: Sept. 2018
- Offline
- pande
- Member
- 40 posts
- Joined: Oct. 2018
- Offline
- pande
- Member
- 40 posts
- Joined: Oct. 2018
- Offline
- goose7
- Member
- 75 posts
- Joined: Sept. 2018
- Offline
- pande
- Member
- 40 posts
- Joined: Oct. 2018
- Offline
okey, figured it out (how the %^#@# can't i figure out my own problem lol) not even with your file as example and your unreal pics looks exactly what i want.
anyways… solution for your problem.
your debris layer is not having any height, its just a flat layer. this is because you need to place a timeshift node after your erode nodes since the hda files don't export the correct frame from your erode node (at least from what i've understood)
so the timeshift node “freezes” it at the correct frame for the hda to export.
since it was exporting at frame 0, there wasn't any erosion and no debris created. so the debris layer was flat. and houdini doesn't export flat layers (if i'm correct)
so i posted the correct file with it for you to take a look at it.
also i'm not sure if its needed, but you were using the debris layer in the heightfield output node in stead of the height and i'm not sure if its correct, so i changed it to the height layer. anywayz, it works like this.
anyways… solution for your problem.
your debris layer is not having any height, its just a flat layer. this is because you need to place a timeshift node after your erode nodes since the hda files don't export the correct frame from your erode node (at least from what i've understood)
so the timeshift node “freezes” it at the correct frame for the hda to export.
since it was exporting at frame 0, there wasn't any erosion and no debris created. so the debris layer was flat. and houdini doesn't export flat layers (if i'm correct)
so i posted the correct file with it for you to take a look at it.
also i'm not sure if its needed, but you were using the debris layer in the heightfield output node in stead of the height and i'm not sure if its correct, so i changed it to the height layer. anywayz, it works like this.
Edited by pande - Feb. 10, 2019 16:58:28
- pande
- Member
- 40 posts
- Joined: Oct. 2018
- Offline
- goose7
- Member
- 75 posts
- Joined: Sept. 2018
- Offline
pandeHi, thanks for the help. I can see the debris layer info in my UE4 now..
can't find you on discord, can u add me ?
pandemon#5699
But it is funny that it fails in my own hda. I add the timeshift node after the erosion and change heightfield output layer to height..And reimport and rebuild all instance won't bring the debris info…
- pande
- Member
- 40 posts
- Joined: Oct. 2018
- Offline
- jmmrfx
- Member
- 8 posts
- Joined: Jan. 2019
- Offline
Hi!
I have similar problem with my unreal and the heightfield HDA.
I have my layers (volumes) in houdini and I create the HDA.
Then I import this HDA to my unreal project and finally I add the HDA to the scene. The problem is the landscape object is not nest/join to houdiniassetactor and if I check the layers in landscape/paint, there is no layer and when I use the material by layers, the terrain is black.
I have watched a few tutorial about how is the best way to import a terrain_HDA into unreal and in all of them the landscape is attached to houdiniassetactor.
Any solution?
I have similar problem with my unreal and the heightfield HDA.
I have my layers (volumes) in houdini and I create the HDA.
Then I import this HDA to my unreal project and finally I add the HDA to the scene. The problem is the landscape object is not nest/join to houdiniassetactor and if I check the layers in landscape/paint, there is no layer and when I use the material by layers, the terrain is black.
I have watched a few tutorial about how is the best way to import a terrain_HDA into unreal and in all of them the landscape is attached to houdiniassetactor.
Any solution?
-
- Quick Links