I'm creating a simple HDA tool with a heightfield and heightfield file node. The heightfield node is using loading png file which is the heightmap. Everything is ok in Houdini. In Unity I get warnings and nothing is cooked:
Houdini Engine: Cooking finished with some errors for asset: island1
Object (ID: 0): /obj/island1
Geo (ID: 4): /obj/island1/terrain/null1
No geometry generated!
Is assume has to do with the heightmap image. Probably Houdini engine can not retrieve the file via the Unity Houdini Engine or something like that. Is there a solution to this issue?
Heightfield File doesn't work in Unity [SOLVED]
2932 2 0- AndreasNull
- Member
- 7 posts
- Joined: April 2016
- Offline
- AndreasNull
- Member
- 7 posts
- Joined: April 2016
- Offline
- AndreasNull
- Member
- 7 posts
- Joined: April 2016
- Offline
Ok. I found 3 solutions
1. You can use full paths and will work.
2. Lock the file node.
3. Add texture as an embedded asset via the “Extra Files” tab in “Type Properties…” window. And then you can get the texture (or any embedded asset) with:
e.x.).
1. You can use full paths and will work.
2. Lock the file node.
3. Add texture as an embedded asset via the “Extra Files” tab in “Type Properties…” window. And then you can get the texture (or any embedded asset) with:
opdef:..?<filename>
e.x.
opdef:..?mytexture.png
Edited by AndreasNull - Sept. 20, 2020 09:06:58
-
- Quick Links