aliens

Author Topic: External upscaled sprites  (Read 6872 times)

Offline ncuxonaT

  • Squaddie
  • *
  • Posts: 5
    • View Profile
External upscaled sprites
« on: November 12, 2015, 06:55:51 pm »
Hi!
I've found great 2x upscaler, but unfortunately it's impossible to use it as shader/postfilter. I can upscale sprites as separate images and save them in png format.
I wonder if it possible to load sprites from external png files?
Examples:

« Last Edit: November 19, 2017, 02:44:53 am by ncuxonaT »

Offline mrxian

  • Colonel
  • ****
  • Posts: 109
    • View Profile
Re: External upscaled sprites
« Reply #1 on: November 12, 2015, 11:01:06 pm »
Damnit, the body armored trooper is spinning in the wrong direction.

Offline ncuxonaT

  • Squaddie
  • *
  • Posts: 5
    • View Profile
Re: External upscaled sprites
« Reply #2 on: November 12, 2015, 11:36:53 pm »
Fixed

Offline DracoGriffin

  • Colonel
  • ****
  • Posts: 302
    • View Profile
    • Steam: DracoGriffin
Re: External upscaled sprites
« Reply #3 on: November 12, 2015, 11:42:21 pm »
I would love to see how you're doing this. :X

But not sure how with a .png sprite sheet.

Offline ncuxonaT

  • Squaddie
  • *
  • Posts: 5
    • View Profile
Re: External upscaled sprites
« Reply #4 on: November 13, 2015, 12:01:45 am »
Here it is
« Last Edit: December 26, 2015, 06:24:59 pm by ncuxonaT »

Offline SupSuper

  • Lazy Developer
  • Administrator
  • Commander
  • *****
  • Posts: 2162
    • View Profile
Re: External upscaled sprites
« Reply #5 on: November 13, 2015, 01:32:57 am »
Looks like Waifu2x.

You can't import upscaled sprites into OpenXcom though.

Offline Dioxine

  • Commander
  • *****
  • Posts: 5455
  • punk not dead
    • View Profile
    • Nocturnal Productions
Re: External upscaled sprites
« Reply #6 on: November 13, 2015, 08:51:43 am »
I fail to see the purpose, there's already over a dozen various blur filters built-in into the OXCom, that do the exact same thing on-the-fly... Maybe if someone made *actual* hi-res gfx, but that's an insane amount of work :)

Offline ncuxonaT

  • Squaddie
  • *
  • Posts: 5
    • View Profile
Re: External upscaled sprites
« Reply #7 on: November 13, 2015, 06:36:13 pm »
That's right, it is Waifu. Usually Waifu gives better result than built-in blur filters. Here's comparison Waifu vs xBR:

Offline Warboy1982

  • Administrator
  • Commander
  • *****
  • Posts: 2333
  • Developer
    • View Profile
Re: External upscaled sprites
« Reply #8 on: November 13, 2015, 07:32:13 pm »
well the good news is that replacing sprites is easy, the bad news is unless it can be turned into a real-time filter, you'd have to make a fairly extensive rewrite to the graphics core to support externally upscaled sprites.

Offline ncuxonaT

  • Squaddie
  • *
  • Posts: 5
    • View Profile
Re: External upscaled sprites
« Reply #9 on: March 29, 2016, 09:43:12 pm »
Sharp







Offline Dioxine

  • Commander
  • *****
  • Posts: 5455
  • punk not dead
    • View Profile
    • Nocturnal Productions
Re: External upscaled sprites
« Reply #10 on: April 01, 2016, 10:24:20 am »
Still looks krappy, but at least it's noticeably better than any in-game blur filter now.