Page 3 of 3

Re: Distant Land: where to next?

Posted: 26 Dec 2020, 16:44
by AnyOldName3
As is mentioned on the first page of the thread, not every group of meshes can be merged into just one draw call, so a chunk can need several. If it covers a larger area, there's a bigger chance that it'll contain more meshes that can't be merged yet, for example because it contains parts of two towns which use different textures.

Re: Distant Land: where to next?

Posted: 27 Dec 2020, 14:48
by Chris
I think that's a spambot. That's word-for-word exactly what you said back here in the middle of the first sentence.

Re: Distant Land: where to next?

Posted: 27 Dec 2020, 16:38
by pvdk
I disapproved the post, should be gone now

Re: Distant Land: where to next?

Posted: 17 Mar 2021, 12:54
by CMAugust
Adding this brief discussion with AnyOldName3 about the viability of LOD, since there is some talk that may be good to reference later. AnyOldName3 is in normal typeface and myself in bold, with minor editing for flow:
Spoiler: Show

Re: Distant Land: where to next?

Posted: 07 Jan 2022, 00:58
by Sagacity
Is it impossible to have the object paging system use differing minimum sizes for differing objects? To my knowledge, later games specifically tag trees to be treated differently, and quite a few other objects as well. Utilizing this information, you could have say a min tree paging size, and a minimum landscape paging size, etc.

Also, do cells meaningfully change in relative size between the game versions? Could it be possible that the later games are reducing load by simply have larger cells overall?

I'm really on board with avoiding baking things in as far as LODs and optimizations go. That is obviously a poor experience for everyone with largely moderate performance benefit, and that can be demonstrated with previs and precombine data in Fallout 4, which constantly breaks and is hard to properly generate for modders and users.

Re: Distant Land: where to next?

Posted: 07 Jan 2022, 16:31
by psi29a
Problem is that Trees in the original game do not have any special markers indicating that it's a tree, which is why we treat everything in a generic way.

The closet thing we have at this point is OP for generic things and Groundcover for things we can instance (lots of little things littered everywhere) without collision, for example.

The plan is to further refine both systems.

Re: Distant Land: where to next?

Posted: 08 Jan 2022, 02:22
by AnyOldName3
The biggest issues with size are:
  • It's not a great match for impact on the scene of this object being removed for a variety of reasons. Theoretically, there should be better metrics we can use to judge what to skip and what to keep. CMAugust got pretty good results by looking at meshes and making a judgement call, so the algorithm exists, it just hasn't been ported from the human brain to any of the platforms we support.
  • We don't know the size until we've loaded the mesh, so we have to load everything then discard it with the current approach. Ideally we'd amortise this cost by going back in time and making Bethesda add the information to the Nif header or something so it happened once in the late 90s/early 2000s and never on user's machines. We can't do that, so computing it ahead of time (or at least caching it once OpenMW's loaded the mesh once on a particular machine) is a sensible compromise.