Woo-hoo, distant terrain is in the master.

General discussion regarding the OpenMW project.
For technical support, please use the Support subforum.
User avatar
scrawl
Posts: 2152
Joined: 18 Feb 2012, 11:51

Re: Woo-hoo, distant terrain is in the master.

Post by scrawl »

Is your fork default in releases?
In some, but not all. If you want to be sure, build your own.
User avatar
Frik
Posts: 124
Joined: 20 Dec 2016, 05:22

Re: Woo-hoo, distant terrain is in the master.

Post by Frik »

Recompiled with the OSG fork on my newly updated box and a freshly installed Fedora 26. OpenMW with distant terrain is running smooth now. Love being able to see what's up ahead of me. :mrgreen:

https://postimg.org/image/gye9ovk9t/

Thanks for the help!
User avatar
Pop000100
Posts: 82
Joined: 18 Aug 2014, 21:17
Location: Loitering around Gnisis.

Re: Woo-hoo, distant terrain is in the master.

Post by Pop000100 »

scrawl wrote: 12 Jul 2017, 10:55
Is your fork default in releases?
In some, but not all. If you want to be sure, build your own.
I'm not used to compiled languages, are there instructions to build it?

Edit: generated a .SLN with CMake, got it to build but the DLLs don't run trying to run it gets a 0x000007b error when launching openmw.exe
User avatar
scrawl
Posts: 2152
Joined: 18 Feb 2012, 11:51

Re: Woo-hoo, distant terrain is in the master.

Post by scrawl »

Looks like some terrain pages only start preloading 0.1 seconds before you get there, which may not be enough time for some machines. I'll try adding an option.
Actually, I misread the code, the actual value was 1 seconds. Either way, the option is added now, in [Cells]:

Code: Select all

+prediction time
+---------------
+
+:Type:         floating point
+:Range:                >=0
+:Default:      1
+
+The amount of time (in seconds) in the future to predict the player position for. This predicted position is used to preload any cells and/or distant terrain required at that position.
+
+This setting will only have an effect if 'preload enabled' is set or the 'distant terrain' in the Terrain section is set.
+
+Increasing this setting from its default may help if your computer/hard disk is too slow to preload in time and you see loading screens and/or lag spikes.
User avatar
Frik
Posts: 124
Joined: 20 Dec 2016, 05:22

Re: Woo-hoo, distant terrain is in the master.

Post by Frik »

Sweet. I'm now able to get 35-50 FPS outside with distant terrain enabled:

viewing distance = 52377
small feature culling pixel size = 2
exterior cell load distance = 3

No "loading area" pauses. 8-)

https://s3.postimg.org/vyztcw80j/dt-new3.png
https://s10.postimg.org/mtdgxtt4p/dt-new4.png

Thanks, scrawl :!:
Post Reply