[Date Prev][Date Next][Subject Prev][Subject Next][Date Index][Subject Index]

Re: Pixel shaders for dosbox-x XyWrite



Wengier

Yes, this 83.8 with TTF is fantastic! I've got most of the settings I want. The color scheme I want works---provided I don't set ttf.colors. 

This is amazing. Congratulations.

--Harry

On Tue, Nov 17, 2020 at 4:54 AM Wengier W <dmarc-noreply@xxxxxxxxxxxxx> wrote:
Hi Harry,

Regarding the shaders. You are apparently using the 0.83.7 release version, and *not* the updated 0.83.8 test version I posted earlier. In 0.83.7 version there was indeed no menu option for OpenGL shaders, but in the updated 0.83.8 test version I posted a while ago there is certainly such an option. You can only select Direct3D pixel shaders from the "Select pixel shader" menu, and only select OpenGL shaders from the "Select OpenGL shader" menu, which is how it is designed. Make sure to use the updated DOSBox-X 0.83.8 binary which has both menu options.

Also, I believe the main reason that you like the quality of vDosPlus's screen display is that it supports scalable TrueType font (TTF) as its output. Both Carl Distefano, Edward Mendelson, and Robert Sawyer have requested this feature in DOSBox-X earlier, and as a result I have already implemented scalable TrueType font (TTF) as an output in the latest DOSBox-X build too just like in vDos(Plus) and told them about 1-3 days ago, and it works for Windows, Linux and macOS platforms. Please set "output=ttf" in the DOSBox-X config file (and optionally a TTF font with "ttf.font" setting), and you will get scalable TTF output in DOSBox-X, and you can set any numbers of lines and columns on the screen you want just like in vDosPlus. Again, please make sure to download the latest DOSBox-X binary for this feature, not the 0.83.7 release version.


Hope this helps,
Wengier

On Monday, November 16, 2020, 12:07:28 p.m. EST, Harry Binswanger <hb@xxxxxxxxxxxx> wrote:


I've been working with various options, especially pixel shaders, on dosbox-x for XyWrite.

General conclusion: if you want the standard 25 x 80 textmode, you can get things to look as good as they did in regular DOS, before we used NTVDM. If you want the size and quality of screen display you get with vDOS-Plus, you can't get it. And if you want 132 x 43 or 50 or 60, the display will be irritatingly bad.

Pixel shaders, specifically: Wengier wrote that there would be an open gl option on the menu that says "select pixel-shader" in the .83.7 version, but I can't get it to appear.
The regular pixel select menu item brings up an explorer-type open-file window that has its filetype set to "D3D shaders" (what that means is unexplained, BTW, but it seems to want files with the extension .fx, which are shaders for some game). You cannot change that limitation in the open-file window. There is no "all files" option.

Also, you cannot easily test the effect (if any) of the .fx shaders it finds, because as soon as you do "open" on one of the files, everything goes back to zero, and you have to mouse around through several levels of things in order to get to the next shader to try out.

There are many, many options under "Video" (and under "Render" in another dropdown) with names that are opaque to me, like "Overscan" and "scaler" and the options under "Compatibility." I couldn't adequately try out things, because there were far too many permutations available (a good thing, but . . .), and as soon as you try one, as I said, you have to back to ground zero.

Someone with the requisite advanced knowledge can probably sail through these options, but as for me, I'll stick with vDOS-Plus.

My thanks to Wengier for supporting such efforts as I was able to make, but huge thanks to him for developing vDOS-Plus.