Miarmy Crowd Simulation Documentation (English)

Shading with Polygon Mesh Texture

After version 3.5, we added a feature which allow agent geometries are able to be shaded based on the terrain texture,

For example, we can make a special geometry with texture, and then mark some geometries of agent read the color of that special geometry and create the shader dynamically.

The result will be like below images:

Workflow

Before you create this, you need to know how to render with Arnold

Please refer our video tutorial firstly (Video Tutorials)

  • 055 Arnold DSO Render 1
  • 056 Arnold DSO Render 2

 

1.    Create a plane which name must be "McdColorGeo", and it must contain texture!

 

2.     Mark geometry read terrain texture color.

Select on geometry from agent, and then mark it by Miarmy > RENDER > Arnold > Add Read Terrain Color Attr

 

3.    It's done, and when you render it, it will be automatically read the color from the step1 marked geometry.

 

Notice, if the agent outside the range, it will rendered as the itself's shader, like the below image:

 

 

 

 

Basefount Technology