MoleUK Posted February 27, 2023 Posted February 27, 2023 I posted this up on hoggit a few days back, figured I'd slap it up here for anyone fortunate enough to not use social media. This is a bruteforce method that will reduce the draw distance of all planes / ground vehicles etc, so keep that trade-off in mind. Open your graphics.lua file in the DCS config folder, find the line with all the values for your current view distance setting (low, medium, high etc), these values start on line 177. Find the "objects = {3000, 80000}" line for your current view distance setting, and alter the second value down from 80000 to your desired distance. I'd suggest starting at 60000 and see how it goes. This sets the distance in metres at which all ground/air vehicles start getting calculcations done for them, in the direction you're facing in a wide arc. Hence why looking in certain directions on busy servers can tank your frames despite nothing apparant being visible, as the CPU is choking on all those distant objects. Changing in-game settings never alters this value, so you have to do it in the .lua and probably re-apply it after each patch. You can drop it a lot more aggressively if you're doing rotor gameplay or you have a particularly old CPU, drop it far enough and spotting can become a problem however. If you're on VR or generally struggle with shadows performance currently, you may see a greater improvement. 8 5
schurem Posted February 27, 2023 Posted February 27, 2023 Nice! ta mate! 1 I5 9600KF, 32GB, 3080ti, G2, PointCTRL
jnr4817 Posted February 28, 2023 Posted February 28, 2023 What’s recommended for rotorwing only in vr? 25000??? 1 9800x3d|64 GB 6200|4090|m.2 x2 http://www.blacksharkden.com/ Come join us!
MoleUK Posted February 28, 2023 Author Posted February 28, 2023 5 hours ago, jnr4817 said: What’s recommended for rotorwing only in vr? 25000??? One user set it to 30000 for helo gameplay and said he didn't notice any negatives, so maybe start there and work your way up if there are problems. 1 1
VirusAM Posted February 28, 2023 Posted February 28, 2023 16 hours ago, MoleUK said: I posted this up on hoggit a few days back, figured I'd slap it up here for anyone fortunate enough to not use social media. This is a bruteforce method that will reduce the draw distance of all planes / ground vehicles etc, so keep that trade-off in mind. Open your graphics.lua file in the DCS config folder, find the line with all the values for your current view distance setting (low, medium, high etc), these values start on line 177. Find the "objects = {3000, 80000}" line for your current view distance setting, and alter the second value down from 80000 to your desired distance. I'd suggest starting at 60000 and see how it goes. This sets the distance in metres at which all ground/air vehicles start getting calculcations done for them, in the direction you're facing in a wide arc. Hence why looking in certain directions on busy servers can tank your frames despite nothing apparant being visible, as the CPU is choking on all those distant objects. Changing in-game settings never alters this value, so you have to do it in the .lua and probably re-apply it after each patch. You can drop it a lot more aggressively if you're doing rotor gameplay or you have a particularly old CPU, drop it far enough and spotting can become a problem however. If you're on VR or generally struggle with shadows performance currently, you may see a greater improvement. Do this alter also the Targeting Pods visibility?Right now there is a sort of wall at 40nm if I recall correcty which are about 80km. 1 R7-5800X3D 64GB RTX-4090 LG-38GN950 N/A Realsimulator FFSB MKII Ultra, VKB Stecs Max, Winwing F-16EX Throttle, Winwing Orion (Skywalker) Pedals, Razer Tartarus V2 SpeedMaster Flight Seat, JetSeat
MoleUK Posted February 28, 2023 Author Posted February 28, 2023 (edited) 10 minutes ago, VirusAM said: Do this alter also the Targeting Pods visibility?Right now there is a sort of wall at 40nm if I recall correcty which are about 80km. Yup, it's effectively the universal draw distance for objects. So if you fly modern modules more regularly at the limits of the tpod etc, you may not want to reduce it. Or you may want to reduce it less agressively, say to 60km. If you're flying cold war modules or helo's you've got a lot more room to be agressive in reducing the distance overall. Because it's the draw distance for the entire direction you're facing, even reducing it by 10km might still free up some CPU overhead, as it's quite a wide arc. Don't know if it's the full 180 degrees, haven't done enough testing there to say for certain. As an aside, I don't know whether the shadows are still being drawn for these objects even after reducing the object draw distance. I've seen one user report they're still being drawn, even before the objects pop in, which is really unfortunate if accurate. Having a seperate draw distance setting we could alter for shadows could be a huge performance increase tool if that is the case. Edited February 28, 2023 by MoleUK 1
MoleUK Posted February 28, 2023 Author Posted February 28, 2023 If anyone does find a way to alter the draw distance for shadows, please let me know. I've been tinkering around in the lua and shader files but have yet to find anything. Only found one old line that says it no longer does anything. 1
SkateZilla Posted February 28, 2023 Posted February 28, 2023 you know you can add this to autoexec.cfg in your /Saved Games/DCS/Config/ Folder? graphics.options.objects = {3000, 80000} 2 4 Windows 10 Pro, Ryzen 2700X @ 4.6Ghz, 32GB DDR4-3200 GSkill (F4-3200C16D-16GTZR x2), ASRock X470 Taichi Ultimate, XFX RX6800XT Merc 310 (RX-68XTALFD9) 3x ASUS VS248HP + Oculus HMD, Thrustmaster Warthog HOTAS + MFDs
MoleUK Posted February 28, 2023 Author Posted February 28, 2023 (edited) 6 minutes ago, SkateZilla said: you know you can add this to autoexec.cfg in your /Saved Games/DCS/Config/ Folder? graphics.options.objects = {3000, 80000} Good to know. I like to do it manually for whatever reason. Not currently using a reduced range as the server im mostly playing on atm performs bizarrely well in VR (like, really shockingly well. Shadows high 120 FPS with repro), but may go back down to 60k when playing elsewhere so may set that up cheers. I'll keep looking for any way to tweak the shadows for better performance, but I suspect any changes would be at the shader level which might break IC. A seperate draw distance slider for both objects and shadows would be tremenously useful, particularly if you could alter them while playing in-game as with tree distance etc. Edited February 28, 2023 by MoleUK 1
SkateZilla Posted February 28, 2023 Posted February 28, 2023 58 minutes ago, MoleUK said: Good to know. I like to do it manually for whatever reason. Not currently using a reduced range as the server im mostly playing on atm performs bizarrely well in VR (like, really shockingly well. Shadows high 120 FPS with repro), but may go back down to 60k when playing elsewhere so may set that up cheers. I'll keep looking for any way to tweak the shadows for better performance, but I suspect any changes would be at the shader level which might break IC. A seperate draw distance slider for both objects and shadows would be tremenously useful, particularly if you could alter them while playing in-game as with tree distance etc. Every patch it will reset it back, having it in the autoexec.cfg will retain it after every update/clean/repair. 2 Windows 10 Pro, Ryzen 2700X @ 4.6Ghz, 32GB DDR4-3200 GSkill (F4-3200C16D-16GTZR x2), ASRock X470 Taichi Ultimate, XFX RX6800XT Merc 310 (RX-68XTALFD9) 3x ASUS VS248HP + Oculus HMD, Thrustmaster Warthog HOTAS + MFDs
MoleUK Posted February 28, 2023 Author Posted February 28, 2023 (edited) 3 hours ago, SkateZilla said: Every patch it will reset it back, having it in the autoexec.cfg will retain it after every update/clean/repair. Yeah i'm just constantly tinkering with stuff atm so sticking to manually doing it for now lol. Crossing all my fingers in hope that tomorrows patch makes some of these kinds of tricks unnecessary. Just fixing the object buildup problem would be a biggie for me, let alone MT etc. As that object buildup seems to be slowly stealing all my CPU time on my favorite server, and reducing the object draw distance unfortunately can't fix all of that. Edited February 28, 2023 by MoleUK 1
motoadve Posted February 28, 2023 Posted February 28, 2023 12 hours ago, SkateZilla said: you know you can add this to autoexec.cfg in your /Saved Games/DCS/Config/ Folder? graphics.options.objects = {3000, 80000} I tried this, and reduced to 60000 but did not see any changes, I tried it in a instant mission though, is it only for MP? I9 10900K , 4090, Varjo Aero VR
SkateZilla Posted March 1, 2023 Posted March 1, 2023 7 minutes ago, motoadve said: I tried this, and reduced to 60000 but did not see any changes, I tried it in a instant mission though, is it only for MP? I9 10900K , 4090, Varjo Aero VR the syntax might be wrong, I'll have to check it when I'm at home. Windows 10 Pro, Ryzen 2700X @ 4.6Ghz, 32GB DDR4-3200 GSkill (F4-3200C16D-16GTZR x2), ASRock X470 Taichi Ultimate, XFX RX6800XT Merc 310 (RX-68XTALFD9) 3x ASUS VS248HP + Oculus HMD, Thrustmaster Warthog HOTAS + MFDs
motoadve Posted March 2, 2023 Posted March 2, 2023 (edited) On 2/27/2023 at 10:05 AM, MoleUK said: I posted this up on hoggit a few days back, figured I'd slap it up here for anyone fortunate enough to not use social media. This is a bruteforce method that will reduce the draw distance of all planes / ground vehicles etc, so keep that trade-off in mind. Open your graphics.lua file in the DCS config folder, find the line with all the values for your current view distance setting (low, medium, high etc), these values start on line 177. Find the "objects = {3000, 80000}" line for your current view distance setting, and alter the second value down from 80000 to your desired distance. I'd suggest starting at 60000 and see how it goes. This sets the distance in metres at which all ground/air vehicles start getting calculcations done for them, in the direction you're facing in a wide arc. Hence why looking in certain directions on busy servers can tank your frames despite nothing apparant being visible, as the CPU is choking on all those distant objects. Changing in-game settings never alters this value, so you have to do it in the .lua and probably re-apply it after each patch. You can drop it a lot more aggressively if you're doing rotor gameplay or you have a particularly old CPU, drop it far enough and spotting can become a problem however. If you're on VR or generally struggle with shadows performance currently, you may see a greater improvement. Does this work for MP and SP? Edited March 2, 2023 by motoadve
MoleUK Posted March 2, 2023 Author Posted March 2, 2023 1 hour ago, motoadve said: Does this work for MP and SP? Yep, doesn't break IC or pure textures.
motoadve Posted March 2, 2023 Posted March 2, 2023 2 hours ago, motoadve said: I tried doing this but Windows wont give me the option to open the file as admin. So I make the change and cannot save it. I think it works, just did a mission in Project Overlord and performance was not bad at all. 1
crazyeddie Posted March 2, 2023 Posted March 2, 2023 This seems to work fine, I get a few intermittent lags on some really heavily populated airfields as I pan into the dense areas, and this reduces that a lot. Might take it down a bit more yet to see how it works out. 1
jnr4817 Posted March 3, 2023 Posted March 3, 2023 Set mine to 30k. No issues, but I’m a helo only guy. 1 9800x3d|64 GB 6200|4090|m.2 x2 http://www.blacksharkden.com/ Come join us!
SPAS79 Posted March 3, 2023 Posted March 3, 2023 On 2/28/2023 at 12:11 PM, MoleUK said: Good to know. I like to do it manually for whatever reason. Not currently using a reduced range as the server im mostly playing on atm performs bizarrely well in VR (like, really shockingly well. Shadows high 120 FPS with repro), but may go back down to 60k when playing elsewhere so may set that up cheers. I'll keep looking for any way to tweak the shadows for better performance, but I suspect any changes would be at the shader level which might break IC. A seperate draw distance slider for both objects and shadows would be tremenously useful, particularly if you could alter them while playing in-game as with tree distance etc. 3dmigoto lets you selectively disable trees, buildings and objects (units, statics) shadows. Not what you really might have been pointing at but can be useful. And does not break IC. 1
SkateZilla Posted March 3, 2023 Posted March 3, 2023 Sorry Guys. Try options.graphics.objects I think i had them reversed by accident. 1 Windows 10 Pro, Ryzen 2700X @ 4.6Ghz, 32GB DDR4-3200 GSkill (F4-3200C16D-16GTZR x2), ASRock X470 Taichi Ultimate, XFX RX6800XT Merc 310 (RX-68XTALFD9) 3x ASUS VS248HP + Oculus HMD, Thrustmaster Warthog HOTAS + MFDs
muzica9 Posted March 3, 2023 Posted March 3, 2023 (edited) 1 hour ago, SkateZilla said: Try options.graphics.objects and to set for current view distance set in dcs menu? mine is High. or this syntax override all? Edited March 3, 2023 by muzica9
SkateZilla Posted March 4, 2023 Posted March 4, 2023 it should override all. 1 Windows 10 Pro, Ryzen 2700X @ 4.6Ghz, 32GB DDR4-3200 GSkill (F4-3200C16D-16GTZR x2), ASRock X470 Taichi Ultimate, XFX RX6800XT Merc 310 (RX-68XTALFD9) 3x ASUS VS248HP + Oculus HMD, Thrustmaster Warthog HOTAS + MFDs
jnr4817 Posted March 4, 2023 Posted March 4, 2023 Any reason to do more than just the objects. There were several other variables to choose from. 9800x3d|64 GB 6200|4090|m.2 x2 http://www.blacksharkden.com/ Come join us!
Recommended Posts