Outerra forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Outerra Tech Demo download. Help with graphics driver issues

Author Topic: Temperature.  (Read 2874 times)

Avi

  • Jr. Member
  • *
  • Posts: 43
  • newbie
Temperature.
« on: December 23, 2015, 06:19:20 am »

Is temperature going to be simulated in the engine? If so then what kind of effects would be see? High temperature leading to less snow in the mountains and things like that?
Logged

Acetone

  • Hero Member
  • *****
  • Posts: 963
    • Youtube channel
Re: Temperature.
« Reply #1 on: December 23, 2015, 06:53:01 am »

High temperature leading to less snow in the mountains and things like that?

I think (not 100% sure) there is already a really simple version of that, working only for the whole world.
Take a look at user/data/earth/planet.cfg and:

Code: [Select]
snow =  (virtual_elevation) {
virtelev =  (float2) {
x = 3500.0,
y = 0.0
},
virtcurv = 2500.0,
snowmin = 4900.0,
snowsat = 6000.0
},

There are two snow levels, applied to the whole world snowmin (min elevation for snow) and snowsat (elevation where the snow cover 100% of the ground). But the others two parameters are used to modulate the two others.

Edit:

snowmin = 1200



As you can see, the low lands of Africa stay clear, but the ones in Europe and South Africa are under snow. Of course the result is weird because it's global and no local climates are in action here.
« Last Edit: December 23, 2015, 07:13:03 am by Acetone »
Logged