Page 5 of 5

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

Posted: 12 Jul 2017, 10:55
by scrawl
Is your fork default in releases?
In some, but not all. If you want to be sure, build your own.

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

Posted: 12 Jul 2017, 22:06
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!

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

Posted: 13 Jul 2017, 02:40
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

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

Posted: 19 Jul 2017, 15:50
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.

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

Posted: 19 Jul 2017, 19:18
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 :!: