Author Topic: Fog test  (Read 2408 times)

Ralleyon

  • Hydlaa Citizen
  • *
  • Posts: 304
  • Protector in the Survivors of Vaern
    • View Profile
Fog test
« on: July 02, 2008, 05:20:59 am »
It's pretty common how many games employ fog to hide non-visible land (in the far distance) these days. I curious as to what impact, performance wise, this has on Planeshift.

Can any of the testers put a dense fog on their private servers and check FPS?

If I remember right, this used to improve my performance when there was snow or fog on the main server, just not sure if it was just an impression.

/Later...
@Neko  Now that we have an answer, feel free to move to Wishlist.
« Last Edit: July 02, 2008, 01:19:36 pm by Ralleyon »
To see the world in a grain of sand
And Heaven in a wild flower,
Hold Infinity in the palm of your hand
And Eternity in an hour.
     
   [William Blake - Auguries of Innocence]

Kaityra

  • Hydlaa Citizen
  • *
  • Posts: 279
    • View Profile
Re: Fog test
« Reply #1 on: July 02, 2008, 05:47:45 am »
Hmmm, here is something that makes me ponder. If Yliakum is within a large stalactite and is illuminated by a crystal inside of it where do the weather phenomenons such as rain, snow, fog, etc. come from?

Vornne

  • Testers
  • Hydlaa Resident
  • *
  • Posts: 189
    • View Profile
Re: Fog test
« Reply #2 on: July 02, 2008, 06:12:55 am »
Fog in ps does improve FPS, but only because it automatically adjusts view distance, just like you can do in the options window ;)

The fog doesn't improve performance by itself; it just blurs the line at the "clipping plane" beyond which nothing is rendered, which does the actual performance increase.

ThomPhoenix

  • Testers
  • Forum Addict
  • *
  • Posts: 2678
  • A Phoenix, what'd you expect?
    • View Profile
Re: Fog test
« Reply #3 on: July 02, 2008, 06:27:48 am »
Kaityra: weather occurs in any big enough room. NASA has this huge single-room building to prepare their space shuttles in, and in some conditions actual fog or rain can occur within it. Since the stalactite is much much larger than NASA's shuttle building, even complicated weather phenomenon can occur.
We're not evil. We're simply amazing.

Ralleyon

  • Hydlaa Citizen
  • *
  • Posts: 304
  • Protector in the Survivors of Vaern
    • View Profile
Re: Fog test
« Reply #4 on: July 02, 2008, 08:41:17 am »
Nicey! Time for a feature request! :)

PS I know clipping distance improves fps, but having a sort of fog do that helps with the immersiveness rather than just disappearing landscape.

/later  Added to BT Fog as "clipping distance" option
« Last Edit: July 02, 2008, 08:55:31 am by Ralleyon »
To see the world in a grain of sand
And Heaven in a wild flower,
Hold Infinity in the palm of your hand
And Eternity in an hour.
     
   [William Blake - Auguries of Innocence]

Velh Krome

  • Guest
Re: Fog test
« Reply #5 on: July 02, 2008, 08:46:35 am »
No doubt, having most distant landscape fading in slowly instead of popping in suddenly, would certainly enhance atmosphere.

Feature request you say? I second!

Pizik

  • Hydlaa Citizen
  • *
  • Posts: 235
    • View Profile
Re: Fog test
« Reply #6 on: July 02, 2008, 09:13:37 am »
I love the idea, very much in fact. It adds to realism also because eventually when looking into any distance you will experience atmospheric haze IRL, why not in PS also.
Proceeding through life like a cat without whiskers, perpetually stuck behind the refrigerator.

Illysia

  • Forum Addict
  • *
  • Posts: 2774
    • View Profile
Re: Fog test
« Reply #7 on: July 02, 2008, 09:22:20 am »
I'm pretty sure PS already has fog it's just not used often.

Pizik

  • Hydlaa Citizen
  • *
  • Posts: 235
    • View Profile
Re: Fog test
« Reply #8 on: July 02, 2008, 09:26:28 am »
We have fog as a weather function that needs to be invoked by a Dev or GM with a /fog command. This is more about exploiting that effect to give a better in-game experience.
Proceeding through life like a cat without whiskers, perpetually stuck behind the refrigerator.

Tuxide

  • Hydlaa Notable
  • *
  • Posts: 715
    • View Profile
    • Banker
Re: Fog test
« Reply #9 on: July 02, 2008, 09:29:24 am »
Man I sure hate it when it takes a GM to improve my FPS.

peeg

  • Testers
  • Hydlaa Notable
  • *
  • Posts: 560
    • View Profile
Re: Fog test
« Reply #10 on: July 02, 2008, 09:37:53 am »
Slight distance fog actually sounds like a great (and obvious?) idea to me, as it would improve performance *and* atmosphere! All for it.
[ PSde ] - Join the german community!
Peeg Chaoswind - Mentor in The Rangers Of Yliakum

Lanarel

  • Testers
  • Hydlaa Notable
  • *
  • Posts: 782
    • View Profile
Re: Fog test
« Reply #11 on: July 02, 2008, 05:19:45 pm »
I and some other testers played around with fog some time ago. It is very difficult to find a good fog with the current possibilities. It is either too light (and thus does not blur distant objects enough to allow clipping) or it is too tight (making even nearby objects disappear). I think recent changes in CS and the lighting and collission system allow to use fog in this way, but I do not think PS uses that.

Vornne

  • Testers
  • Hydlaa Resident
  • *
  • Posts: 189
    • View Profile
Re: Fog test
« Reply #12 on: July 02, 2008, 06:31:17 pm »
I remember talking to Xordan of it ages ago, suggesting he use the weather type fog... he said something about adding distance fog sometime, but it is not the same type. Not to say it would be very hard or anything, though.

Xordan

  • Crystal Space Developer
  • Forum Addict
  • *
  • Posts: 3845
  • For God and the Empire
    • View Profile
Re: Fog test
« Reply #13 on: July 03, 2008, 02:02:17 pm »
I've already got this implemented locally. I'm touching it up before committing.

Ralleyon

  • Hydlaa Citizen
  • *
  • Posts: 304
  • Protector in the Survivors of Vaern
    • View Profile
Re: Fog test
« Reply #14 on: July 03, 2008, 02:57:44 pm »
Don't take this the wrong way or anything, but...  :flowers:
To see the world in a grain of sand
And Heaven in a wild flower,
Hold Infinity in the palm of your hand
And Eternity in an hour.
     
   [William Blake - Auguries of Innocence]