Download

Best method to Instanciate static Meshes ?!

Hello ,
I’m working on a Data VR project . As you see in the Screenshot I want to generate these “Dead Bodies” which have 2200 faces each in large Numbers . (Up to like 10,000)

Here’s My approach which failed :
I created Instanced Static Mesh , but It drops FPS when I load more than 60 bodies . I’ve added LOD to it’s mesh but it’s pointless when Instancing the mesh cuz UE4 won’t Load LODs for Instanced Meshes .
Lights and Meshes Are Moveable , I’ve tested with static but no change in Framerate .

Is there any method to Generate these bodies in large Numbers without loosing performance ?!

A few ideas

  1. Set the lights to stationary and your meshes to static. Then hit Rebuild. Your fps should get better.
  2. Combine for example 10 bodies into 1 mesh. You can do this in UE4, but it´s an experimental feature. Less draw calls = more fps.
  3. Cull bodies at far distance

Thanks for your ideas ,
I have to mention that It’s going to generate bodies based on what User enters at the beginning of the Game , So I guess I can’t use static meshes or build lights .
I’ll try other tips though .

I don’t understand why instances don’t handle LODs properly. Right now I am doing something similiar and getting far better performance from NOT using instances, because they use proper LODs.