How to convey the scale of instances

   3549   3   2
User Avatar
Member
2 posts
Joined: Sept. 2014
Offline
Scale is not working in Unity.
Unity 5.4.2p4;
Houdini FX 15.0.416;


Attachments:
rand01.hip (104.7 KB)
rand_01.hda (13.2 KB)

User Avatar
Member
402 posts
Joined: March 2013
Offline
Copy stamping will not work in Unity because it breaks instancing. Instancing requires all meshes to be the same but copy stamping actually makes each instance unique.

To scale instances, you need to use the pscale point attribute. For an example use of pscale, see: https://www.sidefx.com/tutorials/painting-color-and-instance-scale-unity/ [sidefx.com]
User Avatar
Member
2 posts
Joined: Sept. 2014
Offline
Thank you for the video,
pscale- not work in Unity for Instance, need
scale-(float3) this attribute will be to translate the scale.

I corrected file

Edited by Serg reinforced - Nov. 21, 2016 18:19:28

Attachments:
rand03.hip (104.9 KB)

User Avatar
Member
402 posts
Joined: March 2013
Offline
My bad. Yes, scale is the one you want for instances.
  • Quick Links