Outerra forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Download Outerra Tech Demo. Unofficial Outerra Discord server, MicroProse Discord server for OWS.

Author Topic: Snow cover  (Read 5096 times)

2eyed

  • Sr. Member
  • ****
  • Posts: 352
  • newbie
Snow cover
« on: May 20, 2014, 04:11:19 pm »

I too noticed a down melting of snow cover round the globe with the last updates and all I can say is gray ,gray gray ;)
Since snow is generated procedurally, it shouldn't be to complicated, to do a distribution according to the time of year!?

4589 is stable again.
« Last Edit: May 20, 2014, 04:12:57 pm by 2eyed »
Logged

cameni

  • Brano Kemen
  • Outerra Administrator
  • Hero Member
  • *****
  • Posts: 6721
  • No sense of urgency.
    • outerra.com
Re: Snow cover
« Reply #1 on: May 20, 2014, 04:26:49 pm »

You can head over to world.cfg and find this:

virtelev =  (virtual_elevation) {
   virtelev =  (float2) {
      x = 3500.0,
      y = 0.0
   },
   virtcurv = 5000.0,
   snowmin = 4900.0,
   snowsat = 6000.0
}

Snow is generated from snowmin elevation, full snow is at snowsat elevation. The elevation is virtual, equals the real one only at the equator normalized on the equator, and with rising latitude it gets higher by virtelev.x*cos(lat) + virtelev.y*cos^2(lat)

To make it work with day of year, we have to use virtual latitude, taking the current inclination angle into the account.
Logged