Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

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 Aufrufe • vor 2 Jahren •via X (Twitter)

27 Kommentare

Profilbild von 🔥GameDevMicah🔥UE6
🔥GameDevMicah🔥UE6vor 2 Jahren

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

Profilbild von jake downs
jake downsvor 2 Jahren

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

Profilbild von 🔥GameDevMicah🔥UE6
🔥GameDevMicah🔥UE6vor 2 Jahren

@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 🤘

Profilbild von jake downs
jake downsvor 2 Jahren

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

Profilbild von 🔥GameDevMicah🔥UE6
🔥GameDevMicah🔥UE6vor 2 Jahren

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

Profilbild von jake downs
jake downsvor 2 Jahren

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?

Profilbild von 🔥GameDevMicah🔥UE6
🔥GameDevMicah🔥UE6vor 2 Jahren

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.

Profilbild von 🔥GameDevMicah🔥UE6
🔥GameDevMicah🔥UE6vor 2 Jahren

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

Profilbild von jake downs
jake downsvor 2 Jahren

let's play: spot the bottleneck!

Profilbild von 🔥GameDevMicah🔥UE6
🔥GameDevMicah🔥UE6vor 2 Jahren

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

Profilbild von 🔥GameDevMicah🔥UE6
🔥GameDevMicah🔥UE6vor 2 Jahren

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 😵

Profilbild von cybercritic
cybercriticvor 2 Jahren

🤣🤣🤣

Profilbild von 🔥GameDevMicah🔥UE6
🔥GameDevMicah🔥UE6vor 2 Jahren

Ill take what I can get!

Profilbild von cybercritic
cybercriticvor 2 Jahren

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.

Profilbild von 🔥GameDevMicah🔥UE6
🔥GameDevMicah🔥UE6vor 2 Jahren

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.

Profilbild von 🔥GameDevMicah🔥UE6
🔥GameDevMicah🔥UE6vor 2 Jahren

I went a little nutty

Profilbild von 🔥GameDevMicah🔥UE6
🔥GameDevMicah🔥UE6vor 2 Jahren

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.

Profilbild von Josh Wood
Josh Woodvor 2 Jahren

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

Profilbild von 🔥GameDevMicah🔥UE6
🔥GameDevMicah🔥UE6vor 2 Jahren

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

Profilbild von 🔥GameDevMicah🔥UE6
🔥GameDevMicah🔥UE6vor 2 Jahren

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

Profilbild von Megafunk
Megafunkvor 2 Jahren

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

Profilbild von 🔥GameDevMicah🔥UE6
🔥GameDevMicah🔥UE6vor 2 Jahren

!!! 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?

Profilbild von 🔥GameDevMicah🔥UE6
🔥GameDevMicah🔥UE6vor 2 Jahren

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

Profilbild von Adrian Sanchez 🎮
Adrian Sanchez 🎮vor 2 Jahren

Have you tried using HISMs here?

Profilbild von 🔥GameDevMicah🔥UE6
🔥GameDevMicah🔥UE6vor 2 Jahren

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.

Profilbild von Adrian Sanchez 🎮
Adrian Sanchez 🎮vor 2 Jahren

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

Profilbild von 🔥GameDevMicah🔥UE6
🔥GameDevMicah🔥UE6vor 2 Jahren

It does!

Ähnliche Videos