MAMEWorld >> EmuChat
View all threads Index   Flat Mode Flat  

Nemesis1207
MAME Fan
Reged: 08/06/14
Posts: 11
Send PM
Re: interlacing
06/27/18 02:27 AM


From what I've seen, most other emulators are doing it wrong too. With an interlaced signal, the raster beam should be striking the phosphor surface between the "lines" from the previous field. The beam has a "height" though, with a non-linear brightness from top to bottom, and unless there's really large scanlines on the monitor, the beam positions probably have significant overlap. Simply stacking rows of pixels from alternating fields isn't really that correct in this case either. In my opinion, we should probably be rendering at 5x the field output vertical resolution, with the beam center at full opacity in the middle row, and lower opacity at the two rows above and below the beam position, then effectively merge the two fields together at a .5 line height offset using alpha blending, to properly blend the fields together as your eyes would have on the real screen. Obviously there needs to be this kind of blending in the horizontal axis, as a horizontal line is simply an analog waveform and there's rise and fall time even with a supposedly instant digital transition from black to white for example, but the physical characteristics of an interlaced phosphor display mean there's also supposed to be significant blur in the vertical axis too, and I don't think that's as widely understood. With the wide availability of 4K displays now, there's actually an opportunity to do this properly, as it's more realistic to be able to do 10x upsampled output resolution to account for beam width. Scanlines can be properly generated too under this kind of approach.

Edited by Nemesis1207 (06/27/18 02:32 AM)







Entire thread
Subject Posted by Posted on
* interlacing asasega 06/26/18 09:33 PM
. * Re: interlacing Haze  06/26/18 09:42 PM
. * Re: interlacing asasega  06/28/18 09:16 PM
. * Re: interlacing Nemesis1207  06/27/18 02:27 AM
. * Re: interlacing Nemesis1207  06/27/18 03:19 AM
. * Re: interlacing Haze  06/27/18 03:22 AM

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 413 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 833