From: David L. <dl...@po...> - 2017-08-13 18:11:02
|
What about using, or just allowing, a combination of the following, for high-res monitors?: 1. use aspect-correct scaling, with the displayed size being the same ratio as the emulated screen's size. If the native screen was a different aspect ratio, then employ solid-color bars on the appropriate sides. I.e. use letter-boxing where appropriate. 2. have an option to only scale up/down in non-fractional amounts. When doing so, be sure to disable anti-aliasing (*). This should, in theory, allow for non-blurred pixels. * - nowadays, SDL pretty much always uses either OpenGL or D3D, behind-the-scenes. On Sun, Aug 13, 2017 at 1:39 PM, Ricky Zhang <zha...@gm...> wrote: > Regarding to the preference part in UI or in ~/.basilisk_ii_prefs, it is a > piece of cake. I can help you for this. > > But I’m not sure we are on the same page regarding to up scaling. > > In current implementation i.e SDL v1, I can make BII in full screen mode > in Mac OS X under 1920x1080 resolution. IMO, stretching always don’t look > great in full screen mode. I have 21:9 screen. I feel the pain when playing > low-res vintage game in full screen mode. If it is stretched ,it get > distorted. If it is not, it is way too small to see. > > So I wonder what need to be done to up scale the guest OS properly either > in windows mode or in full screen mode under hi-res monitor. I’m 30 > something now. I can image that if I grow older and have far sighted issue, > I will have trouble to see the text or play game even under hi-res monitor. > > I believe up-scaling is applying some sort of filter on the original > frame. It may not need SDL v2 to do the trick though if acceleration is not > needed. > > I’m glad that you start an initiative to port SDL2 to BII. But in order to > convince the folks to upgrade, we’d better have a killing features. > > > On Aug 13, 2017, at 12:18 PM, David Ludwig <dl...@po...> wrote: > > Side note to point #1, regarding aspect ratio: the scaling only works, at > present, in fullscreen mode. A means to scale in windowed mode might be > nice, although, I suspect it could require either a new setting, or a > modification to the "screen" setting's syntax. > > On Sun, Aug 13, 2017 at 12:16 PM, David Ludwig <dl...@po...> wrote: > >> The SDL2 port should, in theory, already be scaling the guest OS' >> resolution up to the host OS', albeit only in fullscreen mode. What it >> doesn't do, however, is: >> >> 1. maintain aspect ratio. It'll stretch the guest OS' display to match >> the host OS'. SDL2 does have functionality to help with this, though. >> >> 2. use anti-aliasing when either of the scaling ratios have fractional >> components. This seems like an easy enough add, though. >> >> I'll record TODOs/issues for both of these, at my port's repo (at >> https://github.com/davidludwig/macemu). >> >> >> On Sat, Aug 12, 2017 at 8:25 AM, Ricky Zhang <zha...@gm...> >> wrote: >> >>> Thanks for sharing this! This will be a superb work to renovate BII. >>> >>> I don’t mean to hijack your thread. But since you touch SDL2 topic, I >>> wonder how to make it looks nicer in hi-res monitor. Even in 2K monitor >>> nowadays, I think the font size and game screen is way too small. >>> >>> I know that mini Mac has zoom 2X feature. My educated guess is that the >>> zoom implement this way — If there is a pixel like [x, y, RGB(r,g,b)], then >>> zoom 2 X is to draw a 2X2 matrix: >>> >>> [x, y, RGB(r,g,b)], [x+1, y, RGB(r,g,b)] >>> [x, y+1, RGB(r,g,b)], [x+1, y+1, RGB(r,g,b)] >>> >>> I can imagine in some cases it won’t looks good. Thus, we need to smooth >>> it with anti-aliasing. But this is beyond my expertise. >>> >>> If anyone has insight to solve this problem in hi-res, please let me >>> know. >>> >>> thanks, >>> Ricky >>> ------------------------------------------------------------ >>> ------------------ >>> Check out the vibrant tech community on one of the world's most >>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >>> _______________________________________________ >>> basilisk-devel mailing list >>> bas...@li... >>> https://lists.sourceforge.net/lists/listinfo/basilisk-devel >>> >> >> > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot______ > _________________________________________ > basilisk-devel mailing list > bas...@li... > https://lists.sourceforge.net/lists/listinfo/basilisk-devel > > > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > basilisk-devel mailing list > bas...@li... > https://lists.sourceforge.net/lists/listinfo/basilisk-devel > > |