VOGONS


First post, by rsmu

User metadata
Rank Newbie
Rank
Newbie

Hello everybody 😀

I have a question regarding graphic filters used by DosBox and many emulators

This question may be dumb so please don't kill me for it 😊

I was wondering why Lanczos and spline are not used to enhance the rendering of old games just like 2xSAI, HQ3X and others do

Are these filters too CPU intensive or maybe not compatible with the way an emulator renders screens

I have been looking around using google to find an answer but I can see that most of the time Lanczos is only used to deal with icons or videos....

The reason why I am asking is that I can see the way Lanczos and Spline are able to deal with picture resizing (in FFDShow for instance) and the result is impressive in some case.

I believe that if we could resample old DOS games using Lanczos or spline the result could also be impressive

Thank you in advance to whoever will be able to give me an answer

Kind regards

RSMU

Reply 1 of 5, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

They have different focus: generic scaling (nice kernels like sinc) used in
image editing apps, are as slow as they want but can do fractional rescaling;
and integer-rescaling, as 2xSaI or HQxx which is faster but limited to its application.

Reply 2 of 5, by rsmu

User metadata
Rank Newbie
Rank
Newbie

Oh ok I see

I think I understand your answer but just to make sure

Does it mean that Lanczos and spline could be used but they are not because other rescaling filers such as 2xSaI are more convenient for emulation purpose ?

Once agin sorry to be a pain with my questions and thank you for taking the time to answer 😀

Reply 3 of 5, by Harekiet

User metadata
Rank DOSBox Author
Rank
DOSBox Author

they could be used but they are very cpu intensive so the emulator would get very slow.

Reply 4 of 5, by gulikoza

User metadata
Rank Oldbie
Rank
Oldbie

Lanczos is more suited for video than graphics...but it's available as a direct3d shader so in fact it can be used in dosbox 😉

http://www.si-gamer.net/gulikoza

Reply 5 of 5, by rsmu

User metadata
Rank Newbie
Rank
Newbie

Maybe one day when CPU will be much faster we'll see those filters then

Thank you for your answers 😀

Kind regards