Distant objects

Everything about development and the OpenMW source code.
User avatar
Stomy
Posts: 47
Joined: 11 Dec 2018, 02:55
Location: Fhloston Paradise!
Contact:

Re: Distant objects

Post by Stomy »

AnyOldName3 wrote: 11 May 2019, 22:30All that said, I'm still not convinced optimised billboards are the best use of our time when we've got no batching whatsoever.
Other than the nuclear option of replacing OSG with hand-written rendering I don't have any ideas for that so I'm exploring something what could be done. Billboards aren't a silver bullet but nothing is, and at least this could allow replacer artists to do the work of tuning some distant features to look right instead of hoping for an algorithm to do it reliably. But even so, it's still not a solution for the vanilla game so pushing it beyond 1.0 is pretty much a given, if it ever even is supported.
User avatar
AnyOldName3
Posts: 2668
Joined: 26 Nov 2015, 03:25

Re: Distant objects

Post by AnyOldName3 »

We've got a pretty good design for a system that should 'just work'. It doesn't require abandoning OSG or even using it in ways it wasn't designed to be used. It's just that no one's implemented it yet.
User avatar
plop
Posts: 4
Joined: 04 Jul 2019, 11:03
Contact:

Re: Distant objects

Post by plop »

Hey, I'm just intruding to add that I'm willing to help. I'm a rendering engineer by day (working on open world games) and I have some free time in the next couple of weeks. I don't know anything about OSG though :D

Am I correct that the current plan is to implement what's described in the paste bin link? (batching objects of a cell into one mesh + maybe cache + I guess building a texture atlas)

(I'm also on discord if you want to talk.)
User avatar
lysol
Posts: 1513
Joined: 26 Mar 2013, 01:48
Location: Sweden

Re: Distant objects

Post by lysol »

Nice. You might want to have a look at this too, I don't know if it has anything to do with batching, but it's at least a somewhat working distant statics system.

https://gitlab.com/OpenMW/openmw/merge_requests/127
mikeprichard
Posts: 113
Joined: 16 Dec 2018, 19:42

Re: Distant objects

Post by mikeprichard »

Now that shadows are being implemented, distant statics seems to be the last major feature remaining for inclusion in OpenMW. Have plop and/or others been able to make concrete progress on this recently? Thanks to all contributors for your work!
Post Reply