Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Scanline effects, LCDs, and a sort of recant  (Read 8856 times)

0 Members and 1 Guest are viewing this topic.

Ummon

  • Trade Count: (+13)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5244
  • Last login:June 09, 2010, 06:37:18 pm
Scanline effects, LCDs, and a sort of recant
« on: January 29, 2009, 08:18:12 pm »
Recently, I got the chance to try Mame on a later model laptop. I was surprised at the image quality of the graphics. Even more, I was surprised at the quality of the effects presentations of both old and new Mame. Though in older Mame, there was still some slight lack of authenticity (using 75%, 50%, and 25% scanlines) in vertical scrolling games - games run horizontally, hence, horizontal scanlines - the overall look was pretty good. Further, in new Mame - using 75x2 - the look was pretty good, too. I didn't have any special files on hand - like Sailor Sat's triad3sl, or Althor's Scanrez2 (in particular, rotated, to provide horizontal features) - but it seems the high brightness of LCDs is much suited to Mame effects rendering.

I've also been playing around with current Mame and Scanrez2, as well as Sailor Sat's triadsl, on my arcade monitor, with the following results. (Incidentally, they don't look good embedded. Also, for accuracy, remember to click inside the image. And, Mame apparently takes snaps from the raw output. These images were system snaps.)


The first one is Scanrez2. It's pretty nice, particularly with the contrast set to 1.60 to bring out the color and all.

The second is the triadsl, same contrast level. A little dingy.
« Last Edit: January 29, 2009, 08:20:23 pm by Ummon »
Yo. Chocolate.


"Theoretical physics has been the most successful and cost-effective in all of science."

Stephen Hawking


People often confuse expressed observations with complaint, ridicule, or - even worse - self-pity.

Jack Burton

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1384
  • Last login:April 07, 2025, 02:12:05 pm
  • .
Re: Scanline effects, LCDs, and a sort of recant
« Reply #1 on: January 29, 2009, 09:08:31 pm »
In the second pic you can kind of get a feeling of a little bit of mis-convergence.  You know, that kind of shimmer in the word "GYRUSS"

Also, "Please Deposit Coin and Try this game", so polite lol.
« Last Edit: January 29, 2009, 09:33:50 pm by Jack Burton »

Turnarcades

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1973
  • Last login:May 13, 2017, 08:14:29 am
  • Craig @ Turnarcades
    • Turnarcades
Re: Scanline effects, LCDs, and a sort of recant
« Reply #2 on: January 29, 2009, 09:41:52 pm »
I am a MASSIVE arcade fan and accept there will never be a substitute for playing the authentic hardware as intended like we did back in the day. However, I've never felt this need as a lot of people do to bring back those visual effects that I consider to be quite vile like scanlines etc, particularly when the MAME effects tend to use extra processing power to pull them off.

Maybe it's just me and the fact my eyes always kind of sucked, but I think I much prefer the clearer image that PC's can provide. At most I use interpolation or similar to soften the edges a little on most platforms besides MAME, but the black interruptions of scanlines and speckles from other effects hurt my eyes over time.

kagaden

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 243
  • Last login:September 10, 2022, 10:58:37 pm
Re: Scanline effects, LCDs, and a sort of recant
« Reply #3 on: January 30, 2009, 03:51:37 am »
Where are you downloading your mame scanlines? I made some of my own which I think are perfect for SFIII:3rd Strike and mame but just for reference sake.

Ginsu Victim

  • Yeah, owning a MAME cab only leads to owning real ones. MAME just isn't good enough. It's a gateway drug.
  • Trade Count: (+10)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10092
  • Last login:June 28, 2025, 10:45:55 pm
  • Comanche, OK -- USA
Re: Scanline effects, LCDs, and a sort of recant
« Reply #4 on: January 30, 2009, 09:44:54 am »
I made some of my own which I think are perfect for SFIII:3rd Strike and mame

Post them! :)

TOK

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3604
  • Last login:January 24, 2024, 05:14:24 pm
  • The Game Always Wins
Re: Scanline effects, LCDs, and a sort of recant
« Reply #5 on: January 30, 2009, 09:55:36 am »
The second actually looks more authentic to me. Games in the wild  never seemed to look as pretty as the ones in our basements. Dingy fits.  :)

kagaden

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 243
  • Last login:September 10, 2022, 10:58:37 pm
Re: Scanline effects, LCDs, and a sort of recant
« Reply #6 on: January 31, 2009, 12:06:38 am »
I made some of my own which I think are perfect for SFIII:3rd Strike and mame

Post them! :)

Here ya go. It's based off of scanlines75x4 with an additional lighter scanline above and below to make it look more 3 dimensional. Probably not good for all games but I like it on my SFIII:3S :)

The scanline I've made here is really subtle. I agree that Mame default scanlines are super over the top and hard to look at but I think there's a way to get them right.
« Last Edit: January 31, 2009, 03:54:26 pm by kagaden »

Ginsu Victim

  • Yeah, owning a MAME cab only leads to owning real ones. MAME just isn't good enough. It's a gateway drug.
  • Trade Count: (+10)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10092
  • Last login:June 28, 2025, 10:45:55 pm
  • Comanche, OK -- USA
Re: Scanline effects, LCDs, and a sort of recant
« Reply #7 on: January 31, 2009, 12:57:10 am »
Thanks. I'll give it a try.

I just rotated Althor's scanrez2 and I really like that. Also bumped the contrast up as suggested. So far, so good.

Loafmeister

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 490
  • Last login:June 03, 2025, 01:49:49 am
Re: Scanline effects, LCDs, and a sort of recant
« Reply #8 on: January 31, 2009, 03:04:35 pm »
I am a MASSIVE arcade fan and accept there will never be a substitute for playing the authentic hardware as intended like we did back in the day. However, I've never felt this need as a lot of people do to bring back those visual effects that I consider to be quite vile like scanlines etc, particularly when the MAME effects tend to use extra processing power to pull them off.

Maybe it's just me and the fact my eyes always kind of sucked, but I think I much prefer the clearer image that PC's can provide. At most I use interpolation or similar to soften the edges a little on most platforms besides MAME, but the black interruptions of scanlines and speckles from other effects hurt my eyes over time.

Agreed. Scanlines was never something the devs intended, it was something they had to live it. Still, I can appreciate some want that "arcade" feel. To that, I'd say "can I come over and burn a cig on your CP?" ;)

TOK

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3604
  • Last login:January 24, 2024, 05:14:24 pm
  • The Game Always Wins
Re: Scanline effects, LCDs, and a sort of recant
« Reply #9 on: January 31, 2009, 05:26:19 pm »
I do agree that if I was that obsessed with scan lines, I'd just use an arcade monitor. Have 3 MAME cabs and none of them do, and thats fine. I'm more into playing the games. I do have a couple dedicated machines with arcade monitors, and there is something to be said about playing it on the old hardware. I've had like 3 games that are in MAME, and the original hardware plays slightly different.

Slower, actually. The games are harder in MAME.

retrometro

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 487
  • Last login:May 24, 2024, 09:11:44 pm
    • Arcade, mame, retro... and the gp2x.
Re: Scanline effects, LCDs, and a sort of recant
« Reply #10 on: January 31, 2009, 05:33:55 pm »
These aren't scanline templates.  Just a series of scaled vs native rez using sailorsat's soft15khz

[youtube]http://www.youtube.com/watch?v=JjKLq-LMgjM[/youtube]

-------- gp2x and retro... play it forever! ------------------------
http://www.youtube.com/view_play_list?p=0EE573E86D5A86E0
--------------------------------------------------------------------

RandyT

  • Trade Count: (+14)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7014
  • Last login:Yesterday at 12:11:17 pm
  • Friends don't let friends hack keyboards.
    • GroovyGameGear.com
Re: Scanline effects, LCDs, and a sort of recant
« Reply #11 on: February 02, 2009, 12:13:06 pm »

If anyone has seen any of my posts regarding LCDs, where I recommend getting the highest resolution panel possible (as long as you get enough video card to drive it), this is why.  As higher resolution becomes available, it will be possible to more closely simulate the raster look on digital displays.  Something that absolutely cannot be done decently on a low-res panel. 

Also, to get the best effect from these overlays, one would need to design different patterns for specific input and output resolution pairs.  Some of the effects are quite good, but I think they have only begun to scratch the surface of what will ultimately be possible.

RandyT


Ummon

  • Trade Count: (+13)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5244
  • Last login:June 09, 2010, 06:37:18 pm
Re: Scanline effects, LCDs, and a sort of recant
« Reply #12 on: February 02, 2009, 10:10:46 pm »
The second actually looks more authentic to me. Games in the wild  never seemed to look as pretty as the ones in our basements. Dingy fits.  :)


You know, I've seen others here say this, and the only thing I can think of is that you all played some ---smurfy--- games in the day. All the places I went to had them working like tops! Even still, the ones I saw at the SuperAuctions in Phx last year that weren't looking their best looked at least as good as the first image.


Maybe it's just me and the fact my eyes always kind of sucked, but I think I much prefer the clearer image that PC's can provide. At most I use interpolation or similar to soften the edges a little on most platforms besides MAME, but the black interruptions of scanlines and speckles from other effects hurt my eyes over time.

I still have at least close to 20/20 vision. Plus, as RayB has mentioned a few times, the convergence/focus of the monitor can play a factor in how pronounced the scanlines blank lines are, but there is still something about the reality such a display shows versus a PC CRT or LCD - almost real-looking vs caricatures - though LCDs (in conjunction with how mame is now displaying games, which I've even noticed on my arcade multisync when running default current mame) seem to be making some advance.



Also, to get the best effect from these overlays, one would need to design different patterns for specific input and output resolution pairs.  Some of the effects are quite good, but I think they have only begun to scratch the surface of what will ultimately be possible.

RandyT



That's what I've been thinking.


I am a MASSIVE arcade fan and accept there will never be a substitute for playing the authentic hardware as intended like we did back in the day. However, I've never felt this need as a lot of people do to bring back those visual effects that I consider to be quite vile like scanlines etc, particularly when the MAME effects tend to use extra processing power to pull them off.

Maybe it's just me and the fact my eyes always kind of sucked, but I think I much prefer the clearer image that PC's can provide. At most I use interpolation or similar to soften the edges a little on most platforms besides MAME, but the black interruptions of scanlines and speckles from other effects hurt my eyes over time.

Agreed. Scanlines was never something the devs intended, it was something they had to live it. Still, I can appreciate some want that "arcade" feel. To that, I'd say "can I come over and burn a cig on your CP?" ;)

Well, not only is the dimensionality I mentioned above a factor, but the 'texture' of the CRT mask, a circumstance similar to types of paper, or fabrics, or stitchings....


Thanks. I'll give it a try.

I just rotated Althor's scanrez2 and I really like that. Also bumped the contrast up as suggested. So far, so good.

Coolness.
Yo. Chocolate.


"Theoretical physics has been the most successful and cost-effective in all of science."

Stephen Hawking


People often confuse expressed observations with complaint, ridicule, or - even worse - self-pity.

Turnarcades

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1973
  • Last login:May 13, 2017, 08:14:29 am
  • Craig @ Turnarcades
    • Turnarcades
Re: Scanline effects, LCDs, and a sort of recant
« Reply #13 on: February 02, 2009, 10:28:49 pm »
Quote
Maybe it's just me and the fact my eyes always kind of sucked, but I think I much prefer the clearer image that PC's can provide. At most I use interpolation or similar to soften the edges a little on most platforms besides MAME, but the black interruptions of scanlines and speckles from other effects hurt my eyes over time.

I still have at least close to 20/20 vision. Plus, as RayB has mentioned a few times, the convergence/focus of the monitor can play a factor in how pronounced the scanlines blank lines are, but there is still something about the reality such a display shows versus a PC CRT or LCD - almost real-looking vs caricatures - though LCDs (in conjunction with how mame is now displaying games, which I've even noticed on my arcade multisync when running default current mame) seem to be making some advance.



Also, to get the best effect from these overlays, one would need to design different patterns for specific input and output resolution pairs.  Some of the effects are quite good, but I think they have only begun to scratch the surface of what will ultimately be possible.

RandyT



That's what I've been thinking.


I am a MASSIVE arcade fan and accept there will never be a substitute for playing the authentic hardware as intended like we did back in the day. However, I've never felt this need as a lot of people do to bring back those visual effects that I consider to be quite vile like scanlines etc, particularly when the MAME effects tend to use extra processing power to pull them off.

Maybe it's just me and the fact my eyes always kind of sucked, but I think I much prefer the clearer image that PC's can provide. At most I use interpolation or similar to soften the edges a little on most platforms besides MAME, but the black interruptions of scanlines and speckles from other effects hurt my eyes over time.

Agreed. Scanlines was never something the devs intended, it was something they had to live it. Still, I can appreciate some want that "arcade" feel. To that, I'd say "can I come over and burn a cig on your CP?" ;)

Well, not only is the dimensionality I mentioned above a factor, but the 'texture' of the CRT mask, a circumstance similar to types of paper, or fabrics, or stitchings....

 :dizzy: Sorry dudes, I'm never going to get my head around the technical side of all this, or recognise the apparent importance visually some of you need to have. Guess I'm getting old...  :laugh:

I'll stick with what I know, but if you guys have found something that works well for you then fair play and enjoy these developments.

kagaden

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 243
  • Last login:September 10, 2022, 10:58:37 pm
Re: Scanline effects, LCDs, and a sort of recant
« Reply #14 on: February 03, 2009, 02:08:01 am »
Eventually, once CRT's die out and there are few left I believe we'll get better focused development on emulating "the look". At that point, it'll be tough (or expensive) for new players into the arcade hobby to not go with some newer form of visual technology. Those with CRTs currently would do well to understand how to fix their own displays in the long term.

Currently, I prefer LCD over CRTs already due to their availability, profile, and weight. I figure I might as well adopt it already.

Edit: I'd like to ask again if anyone has a website that hosts different types of scanlines? I'd love to see some others.  :applaud:
« Last Edit: February 03, 2009, 02:11:43 am by kagaden »

Blanka

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2248
  • Last login:January 25, 2018, 03:19:28 pm
Re: Scanline effects, LCDs, and a sort of recant
« Reply #15 on: February 03, 2009, 02:20:22 am »
If you look at the video with original resolution vs. overlays, and you look at the first on a high-res LCD, then you see what COULD be possible on an LCD. That quality is amazing.
Problem is that no-one ever did the overlaying right. The problems with the overlays you see today are:
- The overlay scanlines do not match the game scanlines. It is a simple 4x4 pixel pattern put over a blurred upscaling of the image.
- Overlays dim parts of the image to black to give the idea of scanlines. Well it should be more like a linear raster in printing. If the brightness is high, the lines should get wider and finally stick together, if it is dark, they should look loose.

So to do it right, it involves a three-stage rocket:
- Render the frame at original resolution
- Upscale it 5 times blocky (1200x1600, a common LCD resolution is 5 times 240x320, a common arcade resolution)
- Apply a 5x5 pixel tridot rendering, and let the bright pixels glow a little onto the surrounding pixels. Do this in a way that the AVERAGE colour of ALL 25 pixels is the SAME as in the blocky upscaling (it's a hard calculation, but it can be done)
- Scale the result down to the resoltion of the screen

It takes some OpenGL/OpenCL power, but it is no problem for any 6600GT/X1300+ videocard.

Blanka

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2248
  • Last login:January 25, 2018, 03:19:28 pm
Re: Scanline effects, LCDs, and a sort of recant
« Reply #16 on: February 03, 2009, 02:28:38 am »
Agreed. Scanlines was never something the devs intended, it was something they had to live it.
Today you have Arcade VGA and Bubalicious CRT tubes
Tomorrow we vacuum-form our 300dpi OLED foils on our dead tubes.
The Mame DEV's should start worrying about scanlines. If they want to be accurate, scanlines are going to be a part of that. Even worse: some people should document every pixel characteristic of monitors used in the original cabs, and make specific scaling textures for that.

Ummon

  • Trade Count: (+13)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5244
  • Last login:June 09, 2010, 06:37:18 pm
Re: Scanline effects, LCDs, and a sort of recant
« Reply #17 on: February 05, 2009, 02:10:33 am »
Sounds good, Blanka. I think they're thinking about it. It's just not a hot topic. Aaron is thinking about everything, I think. However, check out the current Kangaroo, and pay special attention to the 'trees' and 'foliage'. There are what appear to be natural scanlines at stock settings, but no (apparent) dimness. Aaron said that was due to increasing the accuracy of the hardware emulation. HMM.
Yo. Chocolate.


"Theoretical physics has been the most successful and cost-effective in all of science."

Stephen Hawking


People often confuse expressed observations with complaint, ridicule, or - even worse - self-pity.

ivwshane

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1039
  • Last login:April 23, 2025, 06:30:06 pm
    • My first mame cab! (WIP)
Re: Scanline effects, LCDs, and a sort of recant
« Reply #18 on: February 05, 2009, 02:38:44 am »
I stopped by an arcade today (well it had arcade games) and I compared the different monitors to see how close my cabs display came to emulating them. I was pretty surprised to see any difference but even more surprised that the displays didn't look anything like I remembered. So I fired up mame32 to see how the built in affects compared to the real thing.

These three came the closest to looking the most accurate when viewed on an LCD.

The first one looks the closest and the last isn't too bad either.

For some reason I can't upload them (there really isn't much to see anyway).

Scanrez1_Althor.png
Scanrez2_Althor.png
Shadowmask_Twisty.png

These come with mame32 in the artwork folder.

Ginsu Victim

  • Yeah, owning a MAME cab only leads to owning real ones. MAME just isn't good enough. It's a gateway drug.
  • Trade Count: (+10)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10092
  • Last login:June 28, 2025, 10:45:55 pm
  • Comanche, OK -- USA
Re: Scanline effects, LCDs, and a sort of recant
« Reply #19 on: February 05, 2009, 08:31:25 am »
I recommend Ummon's idea of rotating Scanrez2_Althor. It looks MUCH better.

Ummon

  • Trade Count: (+13)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5244
  • Last login:June 09, 2010, 06:37:18 pm
Re: Scanline effects, LCDs, and a sort of recant
« Reply #20 on: February 06, 2009, 08:22:42 pm »
I stopped by an arcade today (well it had arcade games) and I compared the different monitors to see how close my cabs display came to emulating them. I was pretty surprised to see any difference but even more surprised that the displays didn't look anything like I remembered. So I fired up mame32 to see how the built in affects compared to the real thing.

These three came the closest to looking the most accurate when viewed on an LCD.

The first one looks the closest and the last isn't too bad either.

For some reason I can't upload them (there really isn't much to see anyway).

Scanrez1_Althor.png
Scanrez2_Althor.png
Shadowmask_Twisty.png

These come with mame32 in the artwork folder.

What games did you see, and which effect corresonds to which?
Yo. Chocolate.


"Theoretical physics has been the most successful and cost-effective in all of science."

Stephen Hawking


People often confuse expressed observations with complaint, ridicule, or - even worse - self-pity.