Crowd - Apply diffetent texture for agents

   4574   4   2
User Avatar
Member
14 posts
Joined: Oct. 2015
Offline
Hi I am trying crowd simulation, I have two agents soldiers and zombies. I need to apply separate textures for each of them. when I am applying materials in crowd source it get apply in both the agents.
How to apply separately?

Attachments:
Sketch2.png (1.5 MB)
Sketch.png (773.0 KB)

User Avatar
Member
182 posts
Joined: April 2009
Offline
If you just want to have one material for all the zombies and one for all the soldiers, then a simple material sop with overrides per group should do the trick. If you want to have variations per agent and more control, then you need to take a look at material stylesheets.

There are two videos in the tutorial section about this topic:
https://www.sidefx.com/h15-masterclass-material-stylesheets [sidefx.com]
https://www.sidefx.com/tutorials/material-stylesheets [sidefx.com]
User Avatar
Member
14 posts
Joined: Oct. 2015
Offline
Thank you Blackpixel, Its very useful. Got different textures for agents. This image is much easier for understanding

Attachments:
13320410_975858939193947_1797981469927828789_o.jpg (203.6 KB)

User Avatar
Member
1 posts
Joined: July 2015
Offline
Hi! I can't find material stylesheet drop down menu in the data tree. Help me please!

Attachments:
screenshot.png (143.9 KB)

User Avatar
Member
1743 posts
Joined: March 2012
Offline
badday
I can't find material stylesheet drop down menu in the data tree.

Based on your screenshot, it looks like you're using Houdini 14.0. I think material stylesheets were added in Houdini 15.0. The latest major version of Houdini is 15.5.
Writing code for fun and profit since... 2005? Wow, I'm getting old.
https://www.youtube.com/channel/UC_HFmdvpe9U2G3OMNViKMEQ [www.youtube.com]
  • Quick Links