MAMEWorld >> EmuChat
Previous thread Previous  View all threads Index   Next thread Next   Flat Mode Flat  

mogli
MAME Fan
Reged: 01/26/08
Posts: 1956
Send PM
Re: requesting help making scanline effects
02/19/11 08:58 PM


I don't know how MAME originally rendered scanlines, though apparently it was a software function. They were always the same kind of effect, though over the years MAMEDev introduced various parametres to 'tune' it.

There were three cases where the lines exactly matched the game display:

a. DD>nohwstretch>scanline50 (scanlines 50%): depending upon your desktop resolution, the game may or may not fill the display field. It will look correct, and there will be no dimming of the image. Very defined, though.

b. DD>switchres>scanline50: horizontal games generally benefit from 640x480; vertical games 800x600. (There are probably higher equivalent resolutions of these.) Slight dimming of image. These favor 256x240 and 224x288 games, respectively.

c. D3D>scanlines 50% (prescale at none or 2 determined by preference): similar to 'a', with only slight dimming, and the aspect slightly different in cases. Prescale 2 is not even as defined as in 'a'.


Current MAME uses a 'stock' image, with bilinear filtering (I don't know when that is applied). It doesn't scale. The 'scanlines' effect (in D3D) supplies an a fine-cloth kind of look. (In DD>switchres, it becomes like 'b' above.) 'Scanrez2' is similar to old MAME effects, with some phosphor element detail thrown in. I think is the most old-school 19" monitor authentic. (The old effects/new MAME DD>switchres>'scanlines' are most 25"/27" monitor authentic.)

I understand the basics of how the image works in current MAME, but need some guidance on the particulars.


Consider it high comedy....sincere tragedy....whatever...don't take it personally.

The Culture








Entire thread
Subject Posted by Posted on
* requesting help making scanline effects mogli 02/18/11 04:42 AM
. * Re: requesting help making scanline effects Sune  02/18/11 05:46 AM
. * Re: requesting help making scanline effects mogli  02/18/11 07:24 AM
. * Re: requesting help making scanline effects Bryan Ischo  02/18/11 11:31 PM
. * Re: requesting help making scanline effects mogli  02/19/11 08:58 PM

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