Noam Toledano

Noam Toledano

About Me

Connect

LOCATION
Not Specified
ウェブサイト

Houdini Engine

Availability

Not Specified

Recent Forum Posts

Unity Instances & Tree Prototypes doesn't work together 2021年10月30日9:20

Hi
I have a terrain, im trying to scatter Rocks & Trees on it,
for the rocks I use the Unity Instance attribute, and it works nicely.
for the trees I use the tree prototype attributes (unity_hf_tree_prototype + index, unity_hf_treeinstance_prototypeindex) and I get the trees scattered on the terrain.

the problem is when I try to use them together, the rocks is no longer scattering on the terrain.
I think it might be because at some stage of the Houdini network I merge the rocks points with the terrain so the points are getting the "unity_hf_treeinstance_prototypeindex" attribute and its set to the default value of 0.

is there a way I can export 2 outputs from the HDA? one for the terrain and tree points & one for the rocks?

I tried creating another HDA to take in the terrain & regenerate the rocks points, but I cant do that because by the time the terrain is reaching the output, i need to clear layers like roads etc so they wont register as texture layers.

any suggestion about how to solve this issue?

Using @ptnum & npoints() to "softly" apply noise 2021年9月5日10:54

thanks so much man!!

Using @ptnum & npoints() to "softly" apply noise 2021年9月5日4:12

thanks!

would love to know what's wrong with this line though,

fit01(@ptnum, 0, npoints("../line1")) * 0.15

so i can learn for next time