正在加载视频...

视频加载失败

Upgrades! Here we have 5,000 Static Mesh Components simulating physics on the CPU, all active all the time. Perfect collisions. Nanite, Lumen, UE5.3.2 I found a nice bump going from Actors to Components for simulating mesh. Colors change on impact/jump due to low Z UnrealEngine

15,738 次观看 • 2 年前 •via X (Twitter)

27 条评论

🔥GameDevMicah🔥UE6 的头像
🔥GameDevMicah🔥UE62 年前

No limits on what these meshes can be, aka they can be concrete, bricks, cars, columbs, etc. As long as we manage the materials a little bit. Nanite

jake downs 的头像
jake downs2 年前

i love seeing you and @SebAaltonen push the limits of what's possible and sharing your findings

🔥GameDevMicah🔥UE6 的头像
🔥GameDevMicah🔥UE62 年前

@SebAaltonen Indeed, I’m trying to share more daily of what I am up to, and maybe weekly do a longer blueprint run through for youhube 🤘

jake downs 的头像
jake downs2 年前

it's so interesting how the mental models proposed as "free" abstractions, really _DO_ have significant performance implications when you're trying to do things as immediately as possible

🔥GameDevMicah🔥UE6 的头像
🔥GameDevMicah🔥UE62 年前

I was trying to use 500 cpu, this could raise that to 2000... which would be great!

jake downs 的头像
jake downs2 年前

how are thread pool sized on cpu? is it hard coded or % based? like, can a threadripper really chew through it more than a 4-core processor?

🔥GameDevMicah🔥UE6 的头像
🔥GameDevMicah🔥UE62 年前

I’m using sync physics too, but I believe they break it up rather well across all cores. At least I’ve seen load across all the 12900kf on packaged builds. As much as I thought physics was just one thread.

🔥GameDevMicah🔥UE6 的头像
🔥GameDevMicah🔥UE62 年前

The 1080ti is on a 8700 - both systems seems equally stressed with 5000, which would make me think there is a single core limit somewhere

jake downs 的头像
jake downs2 年前

let's play: spot the bottleneck!

🔥GameDevMicah🔥UE6 的头像
🔥GameDevMicah🔥UE62 年前

Oh that’s the point of all this, it’s all been finding where physics tick is , in Unreal insights. Testing and looking at when and what calls are going on, and looking at alternatives

🔥GameDevMicah🔥UE6 的头像
🔥GameDevMicah🔥UE62 年前

Unity has an amazing profiler:(same as insights) and I did two years in there non-stop. I think I just wanted to torcher myself, not using insight the last 3 years and just going off feel 😵

cybercritic 的头像
cybercritic2 年前

🤣🤣🤣

🔥GameDevMicah🔥UE6 的头像
🔥GameDevMicah🔥UE62 年前

Ill take what I can get!

cybercritic 的头像
cybercritic2 年前

If your use case is not running at 60fps on a dev machine, you might as well throw it away. I've seen instances of hundreds of thousands, even touching million objects with physics running on Unity.

🔥GameDevMicah🔥UE6 的头像
🔥GameDevMicah🔥UE62 年前

yeah, I started there. The unity 3d dots sample is 1 million spinning - NON COLLIDING - cubes. The key here, is correct collisions. We can totally take a GPU instance, spin it, and do 1 million of them. But they dont interact. These fully interact, thats not something you see.

🔥GameDevMicah🔥UE6 的头像
🔥GameDevMicah🔥UE62 年前

I went a little nutty

🔥GameDevMicah🔥UE6 的头像
🔥GameDevMicah🔥UE62 年前

some "people" ask me, why not 60fps. The real question is, where did it crash. When did it crash. Whats the limit. Seems the answer to that, is just lower fps. That IS a great answer.

Josh Wood 的头像
Josh Wood2 年前

You can push it further with skeletal meshes + physics bodies on each bone 😉

🔥GameDevMicah🔥UE6 的头像
🔥GameDevMicah🔥UE62 年前

Did that back in novemeber, god I hope I make a game and dont die

🔥GameDevMicah🔥UE6 的头像
🔥GameDevMicah🔥UE62 年前

bad video, it got much better than this... but finding my own content on twitter ... lol

Megafunk 的头像
Megafunk2 年前

Chaos bodies do not need to be actors or components if you suffer through making them directly: (very rough experimental setup) Rendering them is done through simple Niagara mesh arrays in here in another processor

🔥GameDevMicah🔥UE6 的头像
🔥GameDevMicah🔥UE62 年前

!!! Wonderful point MegaFunk! Glad to meet you! I am doing all this in Blueprints, not C++, so I may not have access to that without making a custom call. Can you confirm?

🔥GameDevMicah🔥UE6 的头像
🔥GameDevMicah🔥UE62 年前

Great info, now I have another level of worry (that I should be doing these as chaos bodies) :D

Adrian Sanchez 🎮 的头像
Adrian Sanchez 🎮2 年前

Have you tried using HISMs here?

🔥GameDevMicah🔥UE6 的头像
🔥GameDevMicah🔥UE62 年前

Thank you Adrian! That is what I am doing, testing it out. I found when using Nanite, HISMs are not needed and slower than ISMs.

Adrian Sanchez 🎮 的头像
Adrian Sanchez 🎮2 年前

Good to know! Yeah that's odd, maybe the LOD switching with HISMs adds additional overhead 🤔

🔥GameDevMicah🔥UE6 的头像
🔥GameDevMicah🔥UE62 年前

It does!

相关视频