November 5th, 2020
Ben & Jace Talk: Mesh Imposters / LODing
Ben & Jace Talk: Mesh Imposters / LODing (Part 1)
https://www.youtube.com/watch?v=omjFqZQV9fI&t=974
Suggested Wiki Reference Code
Ben
So, technically, vertex animations is a form of optimization you've been doing.
But the other thing, which is definitely not in yet, I hope I can push this with update 4, is I made...
Jace
I mean, that's amazing.
That looks like a plushie.
Honestly, it kind of does.
I want to squeeze it.
Ben
So currently, people with poor GPUs are kind of crying out for better optimizations, which is totally legit to ask for because we have a lot of things that we didn't optimize yet.
So as it is now in the live build, we don't have...
imposters for meshes.
So an imposter is something that should represent, but it is not the same.
It's a form of loading, a level of detail.
So what you would do on a distance, you would, I'll show it with the constructor.
You can, of course, force that.
So this is the first lot and you get further away.
This is the second lot.
As you can see, details got reduced.
Now if the third lot where
it became a beautiful mess.
And then the fourth lot where it even became a more beautiful mess.
And then at one point it just becomes this really simple shape that should represent the same mesh.
Jace
And so this changes as you move further and further away.
So you shouldn't TM notice.
You shouldn't.
But you will notice the performance increase.
Yeah.
Ben
We noticed some GPU gains
Jace
on it,
Ben
which was good to see.
Jace
Okay, so that was loading that you just demonstrated.
So then what are these imposters then?
Ben
So imposters is technically just the last lot, only then extremely simplified.
Jace
Okay.
Ben
So it's almost a box.
Storage containers.
Jace
Oh, okay.
So those, just the really, really low-quality ones, they're considered, they're called imposters.
Ben
Yeah, and on the distance, you cannot see if it's the last lot or first lot, really.
So that's the idea behind it.
It's like,
Jace
do
Ben
you see a difference between this until you zoom in?
Yeah, right, right, right.
Oh, that's really cool.
And
Jace
as
Ben
you can see of the geometry...
Holy
Jace
shit!
Wow!
Can you just zoom in on that a little closer?
Folks at home, playing along at home, can notice the difference in the mesh.
So you can see the complexity there.
A lot less polys on something that you can hardly make out anyway in the distance.
Ben & Jace Talk: Mesh Imposters / LODing (Part 2)
https://www.youtube.com/watch?v=omjFqZQV9fI&t=1171
Suggested Wiki Reference Code
Ben
Now we have our lovely manufacturer here.
Jace
It's just, it looks so fucking stupid.
Ben
Yep, but it works.
Jace
But it works, it works great, yeah, from far away.
Ben
So, yeah.
And also, what we do is remove the skeletal mesh at distance.
Jace
Ah, yeah, that makes sense.
So
Ben
we have it here modeled in, I believe Simon made those in the past.
Yep.
And it represents it.
It works on the distance, but the player
Jace
will
Ben
not notice it.
Jace
Yep, definitely.
Ben
So yes, that's imposters.
Jace
Yeah.
Ben
Very cool.
The things you should never see.