Author Topic: valid or reasonable ranges/increments for lighting settings?  (Read 3386 times)

0 Members and 1 Guest are viewing this topic.

Offline jg18

  • A very happy zod
  • 210
  • can do more than spellcheck
valid or reasonable ranges/increments for lighting settings?
Are there valid (or at least reasonable) ranges and increments for the non-Boolean lighting settings? (-ambient_factor, -spec_exp, -spec_point, -spec_static, -spec_tube, -ogl_spec)

Thanks.

 

Offline Commander Zane

  • 212
  • Spoot Knight of Anvils

 

Offline jg18

  • A very happy zod
  • 210
  • can do more than spellcheck
Re: valid or reasonable ranges/increments for lighting settings?
You can check this page for preset settings that have noticably different variables.
Thanks, I've seen that page, although it's not quite what I'm looking for.

I'm working with Iss Mneur on wxLauncher (the new cross-platform launcher), and I think it'd be nice if people could enter the lighting settings in the launcher GUI, as is done in Soulstorm's OS X launcher, rather than as custom flags. I also thought that, rather than people just entering lighting values as typeless strings, without the launcher checking the validity of the user's entered lighting values, the launcher's GUI controls could simply limit the range of inputs.

Furthermore, since some of the lighting settings are floating point rather than integers, it'd be good to know what might be reasonable increments for those settings (.1? .01? .001?) so that the launcher GUI can support that.

And that's why I'm interested in learning about the valid/reasonable ranges and increments for the lighting settings.

As a sneak preview, I'm considering (with Iss Mneur and others' approval, of course) taking the preset settings you mentioned and making them available as radio buttons in the launcher, so to select say the MediaVPs lighting settings, you can click on a radio button in the launcher and you're good to go.

[Note to self: provide better context when asking questions. Although then people have more to read...]

 

Offline Commander Zane

  • 212
  • Spoot Knight of Anvils
Re: valid or reasonable ranges/increments for lighting settings?
My mistake for misunderstanding.
At the lowest number place I see the flags at x.y or xx.y, so I suppose increments of .1 would be most reasonable.

 

Offline jg18

  • A very happy zod
  • 210
  • can do more than spellcheck
Re: valid or reasonable ranges/increments for lighting settings?
Nah, it's fine. Like I said, I didn't give enough context. This isn't the first thread in which it's happened, hence the note to self. And I appreciate your replies. :)
« Last Edit: July 05, 2011, 02:34:57 am by jg18 »

 

Offline MetalDestroyer

  • Starwars reborn!
  • 210
Re: valid or reasonable ranges/increments for lighting settings?
Check this on the Other section. Read the description.

 

Offline Kobrar44

  • On Suspended Sentence
  • 29
  • Let me tilerape it for you!
    • Steam
Re: valid or reasonable ranges/increments for lighting settings?
These flags quite often have values of about 1.x or 0.x, so 0.1 can make quite a big difference. 0.05 or lower would be better IMNHO.
Oh guys, use that [ url ][ img ][ /img ][ /url ] :/

 

Offline Luis Dias

  • 211
Re: valid or reasonable ranges/increments for lighting settings?
Radio things would be awesome to have in the launcher. My big thumps up to that!

 

Offline Commander Zane

  • 212
  • Spoot Knight of Anvils
Re: valid or reasonable ranges/increments for lighting settings?
These flags quite often have values of about 1.x or 0.x, so 0.1 can make quite a big difference. 0.05 or lower would be better IMNHO.
Every launcher setting I've seen someone post goes no farther in variables than in tenths, never into the hundredths so I couldn't see .05 being used.

 

Offline Luis Dias

  • 211
Re: valid or reasonable ranges/increments for lighting settings?
And a kewl feature would be special combinations. For instance, Fury makes a new combination that is badass. People clamor for its awesomeness and beg for his numbers. Someone puts those numbers within a list that is "choosable" in the launcher. Said list grows its epicness.

 

Offline jg18

  • A very happy zod
  • 210
  • can do more than spellcheck
Re: valid or reasonable ranges/increments for lighting settings?
Check this on the Other section. Read the description.

I assume you're referring to this? Thanks, I've looked at it several times, but it's not quite what I'm looking for, although at least it lists the range for ogl_spec. I've also looked at cmdline.cpp in the FSO source tree, which confirms the range for ogl_spec (FSO enforces it), although even that file doesn't tell me more than whether the different settings are integers or decimals.

I apologize to everyone. I'm slowly learning to be more precise with what I'm asking for and why I'm asking for it. I explained the "why" above. Here's the "what":

For each of the six non-Boolean lighting settings (-ambient_factor, -spec_exp, -spec_point, -spec_static, -spec_tube, -ogl_spec), I would like to know its smallest and largest possible values (or, if there is no minimum/maximum, the smallest/largest value that someone might reasonably use), and if the setting is a decimal value (that is, not an integer), the largest reasonable increment that someone might use for that setting (0.1? 0.01?). Consider that decimal precision is limited anyway (for example, 3.01 might not really be represented in the computer as exactly 3.01) by the limitations of computer arithmetic. For the record, FSO considers -spec_exp, -spec_point, -spec_static, -spec_tube, and -ogl_spec to be decimal values but -ambient_factor to be an integer.

Thanks for your help.

Radio things would be awesome to have in the launcher. My big thumps up to that!

Glad you like the idea! :) And thanks for your idea about presets that people make themselves.

 

Offline Luis Dias

  • 211
Re: valid or reasonable ranges/increments for lighting settings?
Yeah, but if said lists could be sharable that would even be more awesome. To make all the people retype and coordinate all the different combinations will merely please the top 30 people who are that obsessed with it.... to make it sharable in some form (a simple .txt file shared when new mediavps versions come along? Other ideas?) will ensure most people will toy with it and have fun with it...

The "example" combinations would provoke casual players to toy more with the figures (and render your efforts in the radio thingies worthwhile for everyone, not just a few).

IDK, just a thought....

 

Offline Kobrar44

  • On Suspended Sentence
  • 29
  • Let me tilerape it for you!
    • Steam
Re: valid or reasonable ranges/increments for lighting settings?
These flags quite often have values of about 1.x or 0.x, so 0.1 can make quite a big difference. 0.05 or lower would be better IMNHO.
Every launcher setting I've seen someone post goes no farther in variables than in tenths, never into the hundredths so I couldn't see .05 being used.
Actually, .05 has been used in settings Fury posted some time ago and my current settings use it, so I assumed it is not a bad idea to still use it.
Oh guys, use that [ url ][ img ][ /img ][ /url ] :/

  

Offline Kolgena

  • 211
Re: valid or reasonable ranges/increments for lighting settings?
I've used .01 increments, and it seems to work without issue.

Common post-processing settings should also be paired with lighting tags. For example, my particular setup looks terrible without post-processing, but quite good with it on.

In fact, it might be worth it sometime to have post processing numbers in the launcher.