How to assign material to scattered objects?

   1672   5   0
User Avatar
Member
20 posts
Joined: July 2016
Offline
I created scatter objects using Heightfield Scatter and can't assign material to them. I need to create effect of night city lights, so I try to apply emission material, and it doesn't work. How to do it?
Edited by iron100 - Jan. 2, 2019 12:27:01

Attachments:
screenshot_334.jpg (29.0 KB)
screenshot_335.jpg (51.3 KB)
screenshot_337.jpg (59.5 KB)

User Avatar
Member
731 posts
Joined: Dec. 2006
Offline
Can you share your hip file?
Sean Lewkiw
CG Supervisor
Machine FX - Cinesite MTL
User Avatar
Member
20 posts
Joined: July 2016
Offline
mrCatfish
Can you share your hip file?

Of course, here he is.

Attachments:
Scatter.hip (609.3 KB)

User Avatar
Member
731 posts
Joined: Dec. 2006
Offline
I extracted your spheres into another object and it works as expected.

Attachments:
Scatter.2.hipnc (636.3 KB)

Sean Lewkiw
CG Supervisor
Machine FX - Cinesite MTL
User Avatar
Member
20 posts
Joined: July 2016
Offline
mrCatfish
I extracted your spheres into another object and it works as expected.

Thank you very much. Are these groups (“height” and “mask”) assigned automatically?

And one more question. Can I scatter light sources in the same way instead of geometry? I remember trying to do it, but without success.
Edited by iron100 - Jan. 3, 2019 17:05:45
User Avatar
Member
359 posts
Joined: April 2017
Offline
You can instance lights using old-school object instancing (the Instance object), but not within SOPs like you would with a Copy SOP.
MOPs (Motion Operators for Houdini): http://www.motionoperators.com [www.motionoperators.com]
  • Quick Links