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 03:19 AM


For a visual representation, here's basically what I think we should be doing:

Here we take scanlines from two fields with the idea of a beam height and opacity falloff, and blend them to create the actual image. We should be doing this at the field refresh rate, so each field is used in two successive images produced. The exact opacity values used for the beam edges would need some experimentation. Modifying the beam height and opacity would allow scanlines to be adjusted. Ideally this would all be configurable, but with some tweaking sensible defaults could be worked out, or at least a series of presets. That's the approach I'd use anyway, and it's what I'd always planned to add to my emulator.

EDIT: As an aside, the kind of blending we should use is also questionable. Here I've shown additive blending, but in reality it might be better to use a normal alpha blending approach, with the most recently drawn field "on top" of the other one. This would probably produce a more accurate "flicker effect" on the overlapping regions of the lines which would more closely approximate how it would have appeared on a traditional CRT display. All this would need testing though, I never actually tried this approach.

Edited by Nemesis1207 (06/27/18 03:28 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 237 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 830