Git Product home page Git Product logo

Comments (16)

AJenbo avatar AJenbo commented on May 2, 2024 5

The game now runs in fullscreen (native desktop resolution) and uses bilinear scalling.

Waifu2x appears to not be perfomant enough to be used for post processing and processing the assets would require a rewrite of the render engine. hqx might be a more realistic route to go. Implementing it here should be fairly straight forward:
https://github.com/diasurgical/devilutionX/blob/master/Stub/dx.cpp#L83 though you would probably have to disable logical LogicalSize and handle scaling of coordinates manually.
https://github.com/diasurgical/devilutionX/blob/master/Stub/DiabloUI/sdlrender.cpp#L203

https://github.com/diasurgical/devilutionX/blob/master/Stub/DiabloUI/sdlrender.cpp#L405

from devilutionx.

AJenbo avatar AJenbo commented on May 2, 2024 4

I have a question. Will advanced features such as HQ resolutions and other advanced features be supported by the DevilutionX build, or will they be exclusive to the future Devilution Plus Plus package?

The groundworks are being laid, the very first step of making the graphics more configurable is basically ready #44. The render is being cleaned up (this is also a huge step toward 64bit support), this will give us the opportunity for making it hardware accelerated and resolution independent. So it may take a bit of time, but it is on its way.

from devilutionx.

 avatar commented on May 2, 2024 2

I plan on adding this in.

It shouldn't be too hard either.

Thanks for issue.

from devilutionx.

dcworldwide avatar dcworldwide commented on May 2, 2024 1

5 years on since op.... Has the technology's scalability improved enough to make this feasible?

from devilutionx.

 avatar commented on May 2, 2024

You can now resize the window after game start

from devilutionx.

AJenbo avatar AJenbo commented on May 2, 2024

At the moment we have it using a virtual resolution so it's not locked to anything specific. Tee scaling is very basic though.

from devilutionx.

sheepo99 avatar sheepo99 commented on May 2, 2024

I have a question. Will advanced features such as HQ resolutions and other advanced features be supported by the DevilutionX build, or will they be exclusive to the future Devilution Plus Plus package?

from devilutionx.

AJenbo avatar AJenbo commented on May 2, 2024

Adding Waifu2x asssets depends on #46

from devilutionx.

ivan89el avatar ivan89el commented on May 2, 2024

@baszczewski Tried topaz ai gigapixel turned out even more cute:
med

from devilutionx.

 avatar commented on May 2, 2024

@ivan89el This issue is closed.

I like though the Russian in this. How much of the game is translated into Russian? Can we talk about this in our discord?

from devilutionx.

ivan89el avatar ivan89el commented on May 2, 2024

@ApertureSecurity The exe translation was done in hex and the old (1998) translated MPQ resources were used.

from devilutionx.

AJenbo avatar AJenbo commented on May 2, 2024

This one was pointed out on the GOG forums:
https://github.com/atheros/xbrzscale

med

from devilutionx.

qndel avatar qndel commented on May 2, 2024

Yeah but the thing is none of these are fast enough to be applied in realtime and modifying a screenshot is not a big deal

from devilutionx.

AJenbo avatar AJenbo commented on May 2, 2024

@qndel we could implement this as part of the loading routine, of cause that we rewrite the render to support upscaled tile, but that's on the road map anyway.

from devilutionx.

BF3000 avatar BF3000 commented on May 2, 2024

What can I say, there is more than enough scaling algorithms to do the job.
Bilinear,Bicubic, Lanczos, Blackman, Spline.
Something super heavy, like Nnedi3 or Waifu2x can be used to upscale sprites during level loading, but not for realtime rendering.

from devilutionx.

dcworldwide avatar dcworldwide commented on May 2, 2024

Interesting to note, ESRGAN project results are promising.

https://github.com/xinntao/ESRGAN
https://www.youtube.com/watch?v=zpwG2uNWhiQ
https://www.youtube.com/watch?v=FsoyC9j9MV0

from devilutionx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.