The following warnings occurred:
Warning [2] Undefined array key "extra" - Line: 100 - File: inc/plugins/google_seo/url.php PHP 8.1.28 (Linux)
File Line Function
/inc/plugins/google_seo/url.php 100 errorHandler->error
/inc/plugins/google_seo.php 317 require_once
/inc/class_plugins.php 38 require_once
/inc/init.php 239 pluginSystem->load
/global.php 20 require_once
/printthread.php 16 require_once
Warning [2] Undefined variable $location - Line: 1250 - File: inc/plugins/google_seo/url.php PHP 8.1.28 (Linux)
File Line Function
/inc/plugins/google_seo/url.php 1250 errorHandler->error
/inc/plugins/google_seo/url.php 174 google_seo_url_hook
/inc/plugins/google_seo.php 317 require_once
/inc/class_plugins.php 38 require_once
/inc/init.php 239 pluginSystem->load
/global.php 20 require_once
/printthread.php 16 require_once
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.1.28 (Linux)
File Line Function
/global.php 94 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "lockoutexpiry" - Line: 573 - File: global.php PHP 8.1.28 (Linux)
File Line Function
/global.php 573 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $can_access_moderationqueue - Line: 752 - File: global.php PHP 8.1.28 (Linux)
File Line Function
/global.php 752 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.1.28 (Linux)
File Line Function
/global.php 892 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.1.28 (Linux)
File Line Function
/global.php 892 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $newpmmsg - Line: 34 - File: global.php(956) : eval()'d code PHP 8.1.28 (Linux)
File Line Function
/global.php(956) : eval()'d code 34 errorHandler->error
/global.php 956 eval
/printthread.php 16 require_once
Warning [2] Undefined variable $messagestyle - Line: 45 - File: global.php(959) : eval()'d code PHP 8.1.28 (Linux)
File Line Function
/global.php(959) : eval()'d code 45 errorHandler->error
/global.php 959 eval
/printthread.php 16 require_once
Warning [2] Undefined variable $boardmessage - Line: 45 - File: global.php(959) : eval()'d code PHP 8.1.28 (Linux)
File Line Function
/global.php(959) : eval()'d code 45 errorHandler->error
/global.php 959 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 1024 - File: global.php PHP 8.1.28 (Linux)
File Line Function
/global.php 1024 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5342 - File: inc/functions.php PHP 8.1.28 (Linux)
File Line Function
/inc/functions.php 5342 errorHandler->error
/global.php 1024 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$bottomlinks_returncontent - Line: 7 - File: global.php(1059) : eval()'d code PHP 8.1.28 (Linux)
File Line Function
/global.php(1059) : eval()'d code 7 errorHandler->error
/global.php 1059 eval
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 606 - File: inc/plugins/simpleckeditor.php PHP 8.1.28 (Linux)
File Line Function
/inc/plugins/simpleckeditor.php 606 errorHandler->error
/inc/plugins/simpleckeditor.php 517 simpleckeditor_is_allowed
/inc/class_plugins.php 142 setCKeditor
/global.php 1253 pluginSystem->run_hooks
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 606 - File: inc/plugins/simpleckeditor.php PHP 8.1.28 (Linux)
File Line Function
/inc/plugins/simpleckeditor.php 606 errorHandler->error
/inc/plugins/simpleckeditor.php 233 simpleckeditor_is_allowed
/inc/plugins/simpleckeditor.php 521 simpleckeditor
/inc/class_plugins.php 142 setCKeditor
/global.php 1253 pluginSystem->run_hooks
/printthread.php 16 require_once
Warning [2] Trying to access array offset on value of type null - Line: 833 - File: inc/plugins/google_seo/url.php PHP 8.1.28 (Linux)
File Line Function
/inc/plugins/google_seo/url.php 833 errorHandler->error
/inc/plugins/google_seo/url.php 1381 google_seo_url_cache
/inc/functions.php 6219 google_seo_url_forum
/printthread.php 213 get_forum_link
/printthread.php 67 makeprintablenav
Warning [2] Trying to access array offset on value of type null - Line: 833 - File: inc/plugins/google_seo/url.php PHP 8.1.28 (Linux)
File Line Function
/inc/plugins/google_seo/url.php 833 errorHandler->error
/inc/plugins/google_seo/url.php 1381 google_seo_url_cache
/inc/functions.php 6219 google_seo_url_forum
/printthread.php 213 get_forum_link
/printthread.php 67 makeprintablenav
Warning [2] Undefined array key 42 - Line: 833 - File: inc/plugins/google_seo/url.php PHP 8.1.28 (Linux)
File Line Function
/inc/plugins/google_seo/url.php 833 errorHandler->error
/inc/plugins/google_seo/url.php 1381 google_seo_url_cache
/inc/functions.php 6219 google_seo_url_forum
/printthread.php 213 get_forum_link
/printthread.php 218 makeprintablenav
/printthread.php 67 makeprintablenav
Warning [2] Undefined array key 48 - Line: 833 - File: inc/plugins/google_seo/url.php PHP 8.1.28 (Linux)
File Line Function
/inc/plugins/google_seo/url.php 833 errorHandler->error
/inc/plugins/google_seo/url.php 1381 google_seo_url_cache
/inc/functions.php 6219 google_seo_url_forum
/printthread.php 213 get_forum_link
/printthread.php 218 makeprintablenav
/printthread.php 218 makeprintablenav
/printthread.php 67 makeprintablenav
Warning [2] Undefined array key 4 - Line: 833 - File: inc/plugins/google_seo/url.php PHP 8.1.28 (Linux)
File Line Function
/inc/plugins/google_seo/url.php 833 errorHandler->error
/inc/plugins/google_seo/url.php 1412 google_seo_url_cache
/inc/functions.php 6251 google_seo_url_thread
/printthread.php 124 get_thread_link
Warning [2] Trying to access array offset on value of type null - Line: 833 - File: inc/plugins/google_seo/url.php PHP 8.1.28 (Linux)
File Line Function
/inc/plugins/google_seo/url.php 833 errorHandler->error
/inc/plugins/google_seo/url.php 1412 google_seo_url_cache
/inc/functions.php 6251 google_seo_url_thread
/printthread.php 124 get_thread_link
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key 1 - Line: 833 - File: inc/plugins/google_seo/url.php PHP 8.1.28 (Linux)
File Line Function
/inc/plugins/google_seo/url.php 833 errorHandler->error
/inc/plugins/google_seo/url.php 1347 google_seo_url_cache
/inc/functions.php 6136 google_seo_url_profile
/inc/functions.php 6204 get_profile_link
/printthread.php 177 build_profile_link
Warning [2] Trying to access array offset on value of type null - Line: 833 - File: inc/plugins/google_seo/url.php PHP 8.1.28 (Linux)
File Line Function
/inc/plugins/google_seo/url.php 833 errorHandler->error
/inc/plugins/google_seo/url.php 1347 google_seo_url_cache
/inc/functions.php 6136 google_seo_url_profile
/inc/functions.php 6204 get_profile_link
/printthread.php 177 build_profile_link
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key 4 - Line: 833 - File: inc/plugins/google_seo/url.php PHP 8.1.28 (Linux)
File Line Function
/inc/plugins/google_seo/url.php 833 errorHandler->error
/inc/plugins/google_seo/url.php 1347 google_seo_url_cache
/inc/functions.php 6136 google_seo_url_profile
/inc/functions.php 6204 get_profile_link
/printthread.php 177 build_profile_link
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key 139 - Line: 833 - File: inc/plugins/google_seo/url.php PHP 8.1.28 (Linux)
File Line Function
/inc/plugins/google_seo/url.php 833 errorHandler->error
/inc/plugins/google_seo/url.php 1347 google_seo_url_cache
/inc/functions.php 6136 google_seo_url_profile
/inc/functions.php 6204 get_profile_link
/printthread.php 177 build_profile_link



Silgrad Tower from the Ashes
[GAME/PERFORMANCE] Manipulating grass distance - Printable Version

+- Silgrad Tower from the Ashes (https://www.silgradmodding.net/forum)
+-- Forum: Discussions for Silgrad Tower TES IV (Oblivion) & TES III (Morrowind) (https://www.silgradmodding.net/forum/Forum-Discussions-for-Silgrad-Tower-TES-IV-Oblivion-TES-III-Morrowind)
+--- Forum: FAQ Board TESIV. (https://www.silgradmodding.net/forum/Forum-FAQ-Board-TESIV)
+---- Forum: Game / Performance (https://www.silgradmodding.net/forum/Forum-Game-Performance)
+---- Thread: [GAME/PERFORMANCE] Manipulating grass distance (/Thread-GAME-PERFORMANCE-Manipulating-grass-distance)



[GAME/PERFORMANCE] Manipulating grass distance - Razorwing - 03-24-2006

Based on an ESF post by Regnaw on ESF, March 23rd 2006. Edited by Razorwing.
The file being referenced here is located on your computer, at My Documents\My games\Oblivion\Oblivion.ini

black[/hr]

If you're having FPS problems this may help. If your grass distance is at maximum and you're still running smooth, the only thing you can grab from all this is that you can increase the density even more.

Keep in mind that settings are relative to your computer, but the portion in the .ini file that looks like this is what you should find:

[blockquote][Grass]
iMinGrassSize=80
fGrassEndDistance=3000.0000
fGrassStartFadeDistance=2000.0000[/blockquote]

I've found that grass and HDR are the two biggest hogs of FPS in Oblivion. HDR is a must. Leave this on if you can. It cannot be sacrified for FPS and you'll find out why later. And Bloom doesn't cut it. And AA is not a worthy excuse. That leaves grass.

Some people have turned grass off or lowered the distance but there is a better solution where you will actually increase the grass draw distance.

What you must do is first decrease the density of the grass. By default Oblivion draws extremely thick grass and this causes enourmous amounts of FPS drop when travelling the through the grass because thousands of sprites are covering the entire viewpoint.

To reduce the density of the grass, edit the iMinGrassSize setting. Change it to a fairly high number, ranging between 120-300. The higher the number the less dense the grass is. I changed mine to 200. This makes the grass very thin and sparse.

Now that the grass is very thin, you get a huge increase in FPS. This increase is absolutely massive. It's almost like playing with no grass at all. Since we got a huge boost in FPS we can now increase the draw distance of the grass significantly. Do so by increasing the fGrassEndDistance and fGrassStartFadeDistance settings to higher numbers. I changed to fGrassEndDistance to 10000.0000 and fGrassStartFadeDistance to 5000.0000.

Now here's where HDR comes in. When HDR is disabled then the grass pops in making the fGrassStartFadeDistance command useless. But when HDR is enabled the grass smoothly fades in and out. So you can see why HDR is needed for optimal grass drawing.

Okay, there is an alternative to HDR. You can turn HDR off... and because HDR is such a hog and you just freed alot of GPU power you can then set the fGrassEndDistance and fGrassStartFadeDistance to some to a value like 15000.0000 or higher so the grass goes all the way to view distance clipping thing. And even still increase the density by a little bit. It all depends on the computer setup, but on my Athlon 64 4000+ and 6800GT the HDR takes up a lot of juice.


There are huge advantages to using these commands. Because the grass is thin, your view isn't occluded by a mass of swarming grass sprites while trekking through the countryside. Now you can see the wolves that are attacking you plus your FPS isn't at 5-10 anymore. Ding ding ding! The grass also fades in and out with distance and it blends into the ground textures. "Suspension of disbelief" factor... rising!

Disadvantage is that it doesn't look as lush and full. Can't have everything, I guess. If you have a super-computer with an SLI rig, you're free to put the density at whatever you want. Atleast now you know how to increase it. Try putting it at 20 Tongue

Here are a few screenshots to illustrate what the effect looks like.

#1 [RW: attached as first screenshot]
#2 [RW: attached as secondscreenshot]
#3 [RW: not attached]

Without HDR but increased distance [RW: attached as third screenshot]




This is what the author of the original post recommended you set the three Grass settings to:
[blockquote][Grass]
iMinGrassSize=200
fGrassEndDistance=10000.0000
fGrassStartFadeDistance=5000.0000[/blockquote]


- Razorwing - 03-29-2006

Another poster noted:

[blockquote]iMinGrassSize=
Determines how thick the grass is. 80 is default, setting higher will increase performance, but cause thinner grass. Anything above 150 causes the grass to appear in patches. I find 110 or 120 to be a good middle ground on performance and quality.

fGrassEndDistance=
Determines how far out grass will draw. Set this farther for grass to be drawn far away, but this will impact performance.

fGrassStartFadeDistance=
This will determine the distance at which grass starts to fade out, but only if you have HDR enabled. Otherwise, this setting is useless.[/blockquote]


Grass Distance - sandor - 03-29-2006

Hi there,

I tried these settings (P4 3.00 Ghz, 1024 Mb, X550 Ati).

[Grass]
iMinGrassSize=120
fGrassEndDistance=5000.000
fGrassStartFadeDistance=3500.0000

It worked very well.
It gave me great boost in performance (ok, less grass density).

Thanks for this advise.

I forgot to mention the resolution. I played with 1024*768. Now 1152*864 goes very smooth. 1280*960 is also acceptable.


- 1337Elite - 08-01-2006

For some reason, Oblivion doesn't let me use HDR..
Even though it supports it(I know because I can play with in games like Half-Life2).