Miarmy Crowd Simulation Documentation (English)

Mesh Drive Shader Issue

The Issue

Sometimes you may face the below issue

After duplicating and enabling mesh drive, there are bounding boxes moving, but nothing can be rendered,

Please take a look at below image:

  

And you can try to select some bbox and display them as geometries (Miarmy > RENDER > Mesh Drive > Show Geometries),

You may found the object are there is no shaders on them.

But when you display as shading method you can see some wire objects there, that means object existed but no shader connect with.


The reason

That is because before the duplication, your shaders assign to geometry by faces or some special link:

  • Correct: The left picture is the object level shader link (one way pink link)
  • Incorrect: The right picture is the face level link (bi-directional blue/green links)


The solution 1 of 2

Switch to object level of geometry, and re-assign the same shader, like below picture shown:


Re-assign the same shader in hypergraph:


It will turn into pink link:


And then try to clear the duplicated contents and duplicate geometries again.

And then select some of the bounding box and show them out by Miarmy > Render > Mesh Drive > Show Geometries



The solution 2 of 2

If this cannot solve your problem, that means you object store the face object group info inside,

At this time whenever you assign a new shader, it will become blue+green bi-directional link

We can only resolve this issue by following steps:

select the object


go to hypergraph connections and find the shape node of object. and select those connections manually to shading group, please be careful.


After deleting the object will displays as wire frame mode (no shader on object)


Then, re-assign the shader in object level, it will turn into pink link and everything OK






Basefount Technology