Is attribute paint broken?

   4341   3   1
User Avatar
Member
18 posts
Joined: 8月 2019
Offline
I'm following the PDG for Indie Gamedev tutorial [www.sidefx.com] and I'm trying to paint scale and density attributes on a terrain but it doesn't seem to work. In my HDA I'm using an edit node and adding it to editable nodes in the HDA's properties. In Unity in the editable nodes tool's view tab it shows the node name twice for some reason and painting either attribute has no affect. I also tried an attribute paint node (following the instructions in the docs [www.sidefx.com]) instead of an edit node but I get the same issue.



Houdini: 19.0.498
Unity: 2020.3.26
OS: MacOS 12.1
Edited by HypoSection - 2022年2月12日 23:30:55

Attachments:
Unity screenshot.png (30.2 KB)

User Avatar
Member
18 posts
Joined: 8月 2019
Offline
I believe I've found the source of the bug. The structure of the HDA in the tutorial is as follows:

terrain_layout (HDA subnet)
--painting (geometry)
----painter (edit)
--scattering (geometry)

If you have more than one nested geometry node in the subnet it will cause the editable node to be duplicated in Unity (see screenshot in the previous post) even if the other geometry nodes are empty. The workaround is only have 0 or 1 nested geometry nodes in the subnet.
Edited by HypoSection - 2022年2月13日 16:20:12
User Avatar
Member
5 posts
Joined: 1月 2022
Offline
I'm stuck in this exact same place! THANK YOU!!!!
https://www.youtube.com/watch?v=NqZGx1uwP1s&list=PL5V9qxkY_RnI4olJ4uKJ2eKSyVqqRMW7r&index=10 [www.youtube.com]

Updated tutorials can be found here
Edited by MarkBergo - 2022年5月12日 11:00:00
User Avatar
Member
1 posts
Joined: 10月 2017
Offline
This helped me as well! Thanks!! In short, just put everything inside the terrain_layout subnet in the same geo node.



It took me a while to find this post, so I'm adding some search words:
Unity, HDA, Houdini, Houdini Engine, Editable Nodes Tools, painting does not work.

Attachments:
image.png (35.7 KB)

  • Quick Links