Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Tiberian Technologies / Blackhand Studios » Tiberian Technologies Forum » Fix Level of Detail setting so it can go higher
Fix Level of Detail setting so it can go higher [message #490450] Sat, 31 January 2015 16:37 Go to next message
dblaney1 is currently offline  dblaney1
Messages: 358
Registered: March 2014
Location: United States
Karma: 0
Commander
It would be great if the level of detail could be fixed to use higher values. Right now its looks awful even on stock maps as the highest value is just way too low. Being able to set this higher would be greatly appreciated.
Re: Fix Level of Detail setting so it can go higher [message #490451 is a reply to message #490450] Sat, 31 January 2015 17:05 Go to previous messageGo to next message
Jerad2142 is currently offline  Jerad2142
Messages: 3811
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
I went through the code and identified all the spots that the max dynamic LOD level was defined, and bumped them up by 10x (both for Renegade and for WWConfig). Now setting the slider to the max sets the dynamic LOD to 10x Renegade's stock, assuming this is an acceptable change by TT team it seems to work on those imperial maps were the low poly budget is most noticeable (and the occasions where it did on stock ren maps).

Re: Fix Level of Detail setting so it can go higher [message #490452 is a reply to message #490450] Sat, 31 January 2015 18:28 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

Saberhawk is the guy who would know if that change is acceptable or not and what the concequences, if any, would be.


Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies
Re: Fix Level of Detail setting so it can go higher [message #490453 is a reply to message #490452] Sat, 31 January 2015 18:42 Go to previous messageGo to next message
Jerad2142 is currently offline  Jerad2142
Messages: 3811
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
jonwil wrote on Sat, 31 January 2015 18:28

Saberhawk is the guy who would know if that change is acceptable or not and what the concequences, if any, would be.


So do I just commit and see if he flips them back or what?


Re: Fix Level of Detail setting so it can go higher [message #490454 is a reply to message #490450] Sun, 01 February 2015 13:09 Go to previous messageGo to next message
dblaney1 is currently offline  dblaney1
Messages: 358
Registered: March 2014
Location: United States
Karma: 0
Commander
Sounds good. Does this help the emitter LOD as well? If not it would be great if you could do the same for that.

Any chance a new build is coming out anytime soon. I know there was a lot of fixes this past month.

[Updated on: Sun, 01 February 2015 13:13]

Report message to a moderator

Re: Fix Level of Detail setting so it can go higher [message #490456 is a reply to message #490454] Sun, 01 February 2015 21:02 Go to previous messageGo to next message
Jerad2142 is currently offline  Jerad2142
Messages: 3811
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
dblaney1 wrote on Sun, 01 February 2015 13:09

Sounds good. Does this help the emitter LOD as well? If not it would be great if you could do the same for that.

Any chance a new build is coming out anytime soon. I know there was a lot of fixes this past month.

Didn't track that value down yet, but ECW also ran with a value 10x the stock and that always worked fine, but I won't bother tracking it down unless they accept the last changes lol.


Re: Fix Level of Detail setting so it can go higher [message #490493 is a reply to message #490450] Fri, 13 February 2015 19:27 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

I cant find anything in the game to suggest that the value set by the particle detail slider actually gets used. The only place the game touches that particular registry value is in the config dialog. If it was actually using the value, it would A.Read it at startup like the other values (it doesn't) and B.Actually do something with the value set in the config dialog other than store it in the registry (it doesn't)

I have no idea where particles get whatever LOD values they use from but it isn't from the slider in the config dialog/wwconfig.


Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies
Re: Fix Level of Detail setting so it can go higher [message #490494 is a reply to message #490493] Fri, 13 February 2015 19:33 Go to previous messageGo to next message
Jerad2142 is currently offline  Jerad2142
Messages: 3811
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
jonwil wrote on Fri, 13 February 2015 19:27

I cant find anything in the game to suggest that the value set by the particle detail slider actually gets used. The only place the game touches that particular registry value is in the config dialog. If it was actually using the value, it would A.Read it at startup like the other values (it doesn't) and B.Actually do something with the value set in the config dialog other than store it in the registry (it doesn't)

I have no idea where particles get whatever LOD values they use from but it isn't from the slider in the config dialog/wwconfig.


Yeah I saw some funky stuff when I was looking though that stuff to bump the geometry detail and forgot to report it, I'll do that now.


Re: Fix Level of Detail setting so it can go higher [message #490496 is a reply to message #490450] Fri, 13 February 2015 22:54 Go to previous messageGo to next message
dblaney1 is currently offline  dblaney1
Messages: 358
Registered: March 2014
Location: United States
Karma: 0
Commander
I actually found that the following values in hud.ini allow you to change the max and what values the slider uses. (works fine in 4.1 and 4.2 test build from January. This is what reborn and APB were using to increase their LOD. Also this does fix the emitter LOD issues as well. This works perfectly before any of the LOD changes were made so it may be worth rolling back those changes and using this new info to determine what to do. It works with the slider both ingame and in wwconfig.

These are the values I put for my machine. I do think that the default that it uses without a hud.ini should be changed to these values. Move level 1 to the current level 2 and make level 2 100000.

[General]
LodBudgetDialogValue1=10000    ;Old level 2
LodBudgetDialogValue2=100000 
MaxStaticLODBudget=500000
MaxDynamicLODBudget=500000

[Updated on: Sat, 14 February 2015 17:12]

Report message to a moderator

Re: Fix Level of Detail setting so it can go higher [message #490510 is a reply to message #490496] Mon, 16 February 2015 13:37 Go to previous messageGo to next message
Jerad2142 is currently offline  Jerad2142
Messages: 3811
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
dblaney1 wrote on Fri, 13 February 2015 22:54

I actually found that the following values in hud.ini allow you to change the max and what values the slider uses. (works fine in 4.1 and 4.2 test build from January. This is what reborn and APB were using to increase their LOD. Also this does fix the emitter LOD issues as well. This works perfectly before any of the LOD changes were made so it may be worth rolling back those changes and using this new info to determine what to do. It works with the slider both ingame and in wwconfig.

These are the values I put for my machine. I do think that the default that it uses without a hud.ini should be changed to these values. Move level 1 to the current level 2 and make level 2 100000.

[General]
LodBudgetDialogValue1=10000    ;Old level 2
LodBudgetDialogValue2=100000 
MaxStaticLODBudget=500000
MaxDynamicLODBudget=500000



Nah, if those are set its set by the server and then forces the anticheat to check them, so if the player doesn't match it should kick them (should being the keyword, if it isn't it needs to be fixed). Also as it was in the last release the blend mode was reading the value stored for the MaxDynamicLODBudget, so instead of exposing more bugs and making users edit ini files I'd prefer we just update the in game slider values.


[Updated on: Mon, 16 February 2015 13:41]

Report message to a moderator

Re: Fix Level of Detail setting so it can go higher [message #490512 is a reply to message #490450] Mon, 16 February 2015 14:27 Go to previous message
dblaney1 is currently offline  dblaney1
Messages: 358
Registered: March 2014
Location: United States
Karma: 0
Commander
Yeah as long as you don't break the ini file. I would like to see that still work.


Is static LOD also set to 100,000 by default on the highest geometry detail slider as well?

[Updated on: Mon, 16 February 2015 14:39]

Report message to a moderator

Previous Topic: New scripts 4.2 test build is now available
Next Topic: Collecting ALL outstanding scripts issues
Goto Forum:
  


Current Time: Fri Nov 29 08:48:28 MST 2024

Total time taken to generate the page: 0.00866 seconds