The International Simutrans Forum

 

Author Topic: [patch] smoother large maps  (Read 5130 times)

0 Members and 1 Guest are viewing this topic.

Offline VS

  • Senior Plumber (Devotee)
  • Devotees (Inactive)
  • *
  • Posts: 4856
  • Vladimír Slávik
    • VS's Simutrans site
  • Languages: CS,EN
[patch] smoother large maps
« on: June 18, 2009, 12:19:42 PM »
This is only the first version, more proof of concept. Please comment! I have no idea if what I'm doing there is proper C++ :o

Concepts, notes:
  • Map surface is now function of its size as well as seed
  • When enlarging map, its size changes; because of this, starting size must be saved too
  • This is saved in einstellungen_t (just like seed)
  • Old code generated frequencies and amplitudes from i; first table has exactly these numbers.
  • Tables because finding a nice function would be rather tiresome

Additionally I relocated and deleted some useless comments that were left in the middle of nowhere after some older rewrite.

Once I know it's in the proper form, it will be easy to play with numbers and create a more fine-grained set of tables for more sizes. Currently single the change at 512 is rather abrupt.

http://vs.simutrans.com/misc_files/smooth-large-maps-2534.diff

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 10638
  • Languages: De,EN,JP
Re: [patch] smoother large maps
« Reply #1 on: June 23, 2009, 07:42:51 PM »
Do you plan to work on it further?

Offline VS

  • Senior Plumber (Devotee)
  • Devotees (Inactive)
  • *
  • Posts: 4856
  • Vladimír Slávik
    • VS's Simutrans site
  • Languages: CS,EN
Re: [patch] smoother large maps
« Reply #2 on: June 23, 2009, 08:23:21 PM »
Yes! I would like to be told, if it's correct how I am doing it now ??? Finding and filling in some data should happen with something that's not fundamentally broken.

Offline gerw

  • Coder/patcher
  • *
  • Posts: 618
Re: [patch] smoother large maps
« Reply #3 on: June 24, 2009, 06:45:40 AM »
Yes! I would like to be told, if it's correct how I am doing it now??? Finding and filling in some data should happen with something that's not fundamentally broken.
It looks good. But maybe it's possible not to use predefined data but make the frequencies and amplitudes depend on the map size continuously?

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 10638
  • Languages: De,EN,JP
Re: [patch] smoother large maps
« Reply #4 on: October 13, 2009, 08:13:09 PM »
Some activity here?

Offline VS

  • Senior Plumber (Devotee)
  • Devotees (Inactive)
  • *
  • Posts: 4856
  • Vladimír Slávik
    • VS's Simutrans site
  • Languages: CS,EN
Re: [patch] smoother large maps
« Reply #5 on: October 15, 2009, 09:06:36 AM »
Not really.

It's one of the items on my list - and it is a long list. I really hate myself and that list whenever I look there.

Offline Spike

  • *
  • Posts: 1361
  • First Simutrans Developer and Graphics Artist
Re: [patch] smoother large maps
« Reply #6 on: October 15, 2009, 09:13:58 AM »
What helped me was to change the lists from "I should do that", to "Things I can work on if I feel like it". This makes progress of my activities very erratic for other people, because I jump a lot between activities, but it helps to be more content with the activities.

Of course there are things that must be done. But not for hobby activities. In hobbies there are things that can be done. So don't feel bad with the list. It's not things to do, but future options of things that can be done if you feel bored some day.

Offline Fabio

  • Devotee
  • Administrator
  • *
  • Posts: 2898
  • The Pak128 Guy
    • Visit me on Facebook
  • Languages: EN, IT, RO, FR
Re: [patch] smoother large maps
« Reply #7 on: October 15, 2009, 09:53:24 AM »
thank you Hajo, this make me feel better, too. I have also a TODO list but the time I can spare is extremely few and the progress extremely slow. I hate to start one thing and release it month (or years) later. Let's hope for the best.

Offline stmaker

  • *
  • Posts: 215
  • am lost noaw.
Re: [patch] smoother large maps
« Reply #8 on: May 22, 2010, 01:24:19 PM »
So, how's the work?