Parameter for drawing distance

Ask questions about the ETS2 mods here. If useful they will be added to the Q&A / Development updates.
Forum rules
Please do not post any crashes, malfunctions or other issues with the mod in this forum. If you have any issues with the mod, please post them here. This forum is only for questions/feedback towards the team, not for solving crashes.
Post Reply
User avatar
Fr8i
Posts: 848
Joined: 13 May 2015 02:13
Location: Lower Saxony

26 May 2017 20:44

Hi there,

I just want to know which parameter is used to set the drawing distance. Before generating the def file there is the option "low end pc" or "high end pc" for example. Does it influence the cut plane set in map editor?

Best regards
[email protected], 16GB RAM @2400MHz, MSI GTX 1070_8GB@1963MHz GPU Clock, Win 8 Prof x64
Profile:ETS2 1.35.1.13@x64(DX11)+Promods 2.41+RusMap 1.8.1.2+Paris Rebuild 2.4

No support via PM!

User avatar
ScuL
Founder
Posts: 10594
Joined: 31 Jul 2013 23:51
Location: Auckland, New Zealand

29 May 2017 07:56

The values are

Code: Select all

LOW
$lod_start = "260.0";
$lod_end = "310.0";

DEFAULT
$lod_start = "410.0";
$lod_end = "460.0";

HIGH
$lod_start = "610.0";
$lod_end = "660.0";

ULTRA
$lod_start = "910.0";
$lod_end = "960.0";
Then in the def file the area you are looking for is

Code: Select all

# Currently we use:
#
# - first lod class for trees.
# - second lod class for grass (detail vegetation).
#
# Note:
# Make sure that (end - start) distance for grass
# is not higher than end/9.0 for proper lod fading.
leaves_lod_start: (240.0, $lod_start, 50.0)
leaves_lod_end:   (300.0, $lod_end, 100.0)
I am Image Dutch living in Image New Zealand and I speak Image EN Image DE Image SE Image FR
Image

User avatar
bumbumek
Posts: 708
Joined: 14 Aug 2014 22:46
Location: City of Poznań

29 May 2017 09:21

There is one more value for drawing distance, but it's in interior camera file for every truck (for example: def/camera/units/interior_daf_xf_euro6).

By default:

near_plane: 0.2
far_plane: 1600

The last one you can increase to 7000. The difference is significant, but you can expect some frame losses from time to time (if you have weak PC).

Bare in mind, this will only work when you are in interior.

User avatar
Fr8i
Posts: 848
Joined: 13 May 2015 02:13
Location: Lower Saxony

30 May 2017 11:01

Great, thank you both for the information :D

I tried the value 5600, but it´s hardly bearable with my mods, settings and config and the old ETS2 engine.

best regards
[email protected], 16GB RAM @2400MHz, MSI GTX 1070_8GB@1963MHz GPU Clock, Win 8 Prof x64
Profile:ETS2 1.35.1.13@x64(DX11)+Promods 2.41+RusMap 1.8.1.2+Paris Rebuild 2.4

No support via PM!

User avatar
bumbumek
Posts: 708
Joined: 14 Aug 2014 22:46
Location: City of Poznań

30 May 2017 17:23

Well, what can I say...ultra drawing distance is not for everyone, unfortunately. My PC cries for help sometimes too ;-)

User avatar
MandelSoft
Lead Developer
Posts: 3835
Joined: 08 Aug 2013 10:48
Location: Delft [NL]

31 May 2017 22:34

Well, the game will cut away even the farthest objects well before that distance. I believe the game stops drawing objects that are set to "far" when they are 2000m away from you. Since the far plane is usually at 1600m, you can see them gradually come into view most of the time.

If you set the drawing distance further away, you will experience a lot more popping issues, since you don't have this gradual load anymore. Setting this cut to 7000m is useless, because objects are just simply not being drawn at more than 2000m
Your daily dose of wisdom!
╔═══╗────╔═╗╔═╗────╔╗
║╔═╗║────║║╚╝║║────║║
║╚═╝╠═╦══╣╔╗╔╗╠══╦═╝╠══╗
║╔══╣╔╣╔╗║║║║║║╔╗║╔╗║══╣
║║──║║║╚╝║║║║║║╚╝║╚╝╠══║
╚╝──╚╝╚══╩╝╚╝╚╩══╩══╩══╝
Don't ask us for a release date; we don't know either.

User avatar
bumbumek
Posts: 708
Joined: 14 Aug 2014 22:46
Location: City of Poznań

01 Jun 2017 16:32

Thanks for this useful explanation ! :-)

crazycrinkle
Posts: 10
Joined: 31 Aug 2020 12:22

03 Sep 2020 17:53

Sorry to necro this, but what is the location of the file to edit??



Post Reply

Return to “Questions & Feedback ETS2”

  • Information