Author Topic: Heightmap Exporter/Import (for gbm / mgm)  (Read 17104 times)

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Re: Heightmap Exporter/Import (for gbm / mgm)
« Reply #25 on: 11 February 2016, 16:53:26 »
I used this heightmap: https://de.wikipedia.org/wiki/H%C3%B6henfeld#/media/File:Heightmap.png
I scaled it to 128x128 locally and then I just loaded it. After changing the contrast some times and saving the result as a map firefox was frozen ( firefox version 44.0.1 )
This happened several times. ( using http://muwns.eu/mgm/ )
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

MuwuM

  • Ornithopter
  • *****
  • Posts: 426
  • No Game without Move(ment)
    • View Profile
    • MuwuM - Lexicons
Re: Heightmap Exporter/Import (for gbm / mgm)
« Reply #26 on: 12 February 2016, 11:28:58 »
Ok, I will debug the issue.

Thank you for providing the information.

I am pretty shure it's an issue with the implementation of contrast. As it is done 100% by CPU now  ::)

I will try to optimize this.

MuwuM

  • Ornithopter
  • *****
  • Posts: 426
  • No Game without Move(ment)
    • View Profile
    • MuwuM - Lexicons
Re: Heightmap Exporter/Import (for gbm / mgm)
« Reply #27 on: 13 February 2016, 19:44:53 »
After 9 hours of refactoring and performance improvements I hopefully managed to find a solution.

Cloud you please check the issue again?

available on http://muwns.eu/mgm/


titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Re: Heightmap Exporter/Import (for gbm / mgm)
« Reply #28 on: 30 March 2016, 15:18:19 »
Uhh I forgot to answer, I already tested it when you replied and everything wokred for me now.
I am very sorry that I forgot to reply  :'(
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

MuwuM

  • Ornithopter
  • *****
  • Posts: 426
  • No Game without Move(ment)
    • View Profile
    • MuwuM - Lexicons
Re: Heightmap Exporter/Import (for gbm / mgm)
« Reply #29 on: 30 March 2016, 15:23:24 »
That sounds good  :) Thank you for testing.

 

anything