Greatest screen filter ever

The place for all discussion on gaming hardware
User avatar
Udderdude
Posts: 6297
Joined: Thu Feb 16, 2006 7:55 am
Location: Canada
Contact:

Re: Greatest screen filter ever

Post by Udderdude »

Yes, CRTs have a tendency to smooth out low res graphics and make them look much better than they actually would be if scaled to such a huge (arcade monitor) size.
User avatar
austere
Posts: 680
Joined: Mon Mar 22, 2010 10:50 am
Location: USA

Re: Greatest screen filter ever

Post by austere »

captpain wrote:I've just drawn a bunch of horizontal lines across my monitor with a Sharpie. Seems to have worked pretty well.
Near leave home without this:

Image
Frederik wrote:I´ve read a very interesting article in the german "Retro" magazine that talked about how for example the barrier in Yars Revenge on the Amiga looks very ugly without the CRT blur and glow - an effect that the game designer had taken advantage of.
Yeah most arcade games I'm interested in were designed with a CRT as a target. Naturally, if they were low-res and touched up or drawn at the pixel level, they would take advantage of the average CRT display properties to enhance appearance.
Frederik wrote:One thing I´ve never even thought about before is that in that the CRT makes the low resolution of these games look very different than on modern LCD/LED screens. In that Metal Slug screen it seems to me that this filter makes the graphics look more detailed than they actually are - probably because our brains tend to fill in the gaps.
I gave a hypothesis on why it looks better here:

http://shmups.system11.org/viewtopic.ph ... 06#p630206
austere wrote:bi-linear filtering et al. is a low pass on an image, destroying the details, while the presence of scanlines is like a hetrodyne modulation, forcing the retina to look at more "edges". This forces more attention to the details and is perhaps why it is pleasing, arguments of "intended viewing conditions", aside.
<RegalSin> It does not matter, which programming language you use, you will be up your neck in math.
User avatar
alastair jack
Posts: 115
Joined: Fri Dec 11, 2009 3:32 am
Location: australia
Contact:

Re: Greatest screen filter ever

Post by alastair jack »

We need bigger 4:3 LCDs for this, 21" isn't big enough.
User avatar
Sumez
Posts: 8819
Joined: Fri Feb 18, 2011 10:11 am
Location: Denmarku
Contact:

Re: Greatest screen filter ever

Post by Sumez »

captpain wrote:I've just drawn a bunch of horizontal lines across my monitor with a Sharpie. Seems to have worked pretty well.
This
Frederik wrote:Aside from playing SNES and PS2 games on my old shitty TV (hooked up via RCA to make it even messier) I don´t really have any sentimental feelings for the CRT look.
Christ! Why would anyone even do that?
fagin
Posts: 1654
Joined: Fri Mar 19, 2010 2:29 pm
Location: UK

Re: Greatest screen filter ever

Post by fagin »

Skykid wrote:Very impressive! That MS snap looks like a crt. :|
It looks like a CRT with CRAP convergence! ;) Not sure I would want to emulate that! roflol
User avatar
Udderdude
Posts: 6297
Joined: Thu Feb 16, 2006 7:55 am
Location: Canada
Contact:

Re: Greatest screen filter ever

Post by Udderdude »

fagin wrote:
Skykid wrote:Very impressive! That MS snap looks like a crt. :|
It looks like a CRT with CRAP convergence! ;) Not sure I would want to emulate that! roflol
Nice job not reading the thread. You can change the convergence.
User avatar
Dave_K.
Posts: 4570
Joined: Wed Jan 26, 2005 5:43 am
Location: SF Bay Area
Contact:

Re: Greatest screen filter ever

Post by Dave_K. »

Now we just need a feature to add Sega Bass Fishing phosphor burn and the CRT simulation will be complete!
fagin
Posts: 1654
Joined: Fri Mar 19, 2010 2:29 pm
Location: UK

Re: Greatest screen filter ever

Post by fagin »

Udderdude wrote:
fagin wrote:
Skykid wrote:Very impressive! That MS snap looks like a crt. :|
It looks like a CRT with CRAP convergence! ;) Not sure I would want to emulate that! roflol
Nice job not reading the thread. You can change the convergence.
I'm fully aware you could "alter" the filter.... my jokey (obviously lost in translation) comment was in reply to Skykid saying it looked like a CRT.
fagin
Posts: 1654
Joined: Fri Mar 19, 2010 2:29 pm
Location: UK

Re: Greatest screen filter ever

Post by fagin »

Dave_K. wrote:Now we just need a feature to add Sega Bass Fishing phosphor burn and the CRT simulation will be complete!
ROFLOL
User avatar
Frederik
Posts: 2554
Joined: Sun Nov 06, 2005 7:14 pm

Re: Greatest screen filter ever

Post by Frederik »

Sumez wrote:
Frederik wrote:Aside from playing SNES and PS2 games on my old shitty TV (hooked up via RCA to make it even messier) I don´t really have any sentimental feelings for the CRT look.
Christ! Why would anyone even do that?
Because I didn´t have a better solution at that time :wink: Psyvariar was basically unplayable.
THE BULLETS ARE NOW DIAMONDS!
Pulsewidth
Posts: 83
Joined: Fri Apr 03, 2009 4:14 pm
Location: UK

Re: Greatest screen filter ever

Post by Pulsewidth »

Combine this with hardware black frame insertion on a 120Hz LCD (maybe I could hack a V3D241wm-LED to flicker the backlight in sync) and it seems we finally have a worthy replacement for CRTs (for horizontal games only, TN panel color error is very obvious in vertical orientation).
User avatar
BuckoA51
Posts: 3387
Joined: Sat Oct 02, 2010 10:08 am
Location: Ireland
Contact:

Re: Greatest screen filter ever

Post by BuckoA51 »

My friends have started timing how long it takes me to start a game/movie while I tinker round with the various scalers and/or filter options in emulators. I suspect this will add to that time, but I'm looking forward to playing with it, Mame scanlines look terrible generally.
OSSC Forums - http://www.videogameperfection.com/forums
Please check the Wiki before posting about Morph, OSSC, XRGB Mini or XRGB3 - http://junkerhq.net/xrgb/index.php/Main_Page
User avatar
austere
Posts: 680
Joined: Mon Mar 22, 2010 10:50 am
Location: USA

Re: Greatest screen filter ever

Post by austere »

This is now part of mainline MAME (windows only), and cools will be happy to know there's proper shadow mask support. ;)
<RegalSin> It does not matter, which programming language you use, you will be up your neck in math.
neorichieb1971
Posts: 7900
Joined: Wed Jan 26, 2005 1:28 am
Location: Bedford, UK
Contact:

Re: Greatest screen filter ever

Post by neorichieb1971 »

Can a hardware iteration of this screen effect be made?

Perhaps get these guys and the SLG3000 guys together to make something God worthy? Perhaps an adapter that fits with the SLG3000?
This industry has become 2 dimensional as it transcended into a 3D world.
User avatar
emphatic
Posts: 7988
Joined: Mon Aug 18, 2008 3:47 pm
Location: Alingsås, Sweden
Contact:

Re: Greatest screen filter ever

Post by emphatic »

austere wrote:This is now part of mainline MAME (windows only), and cools will be happy to know there's proper shadow mask support. ;)
Awesome! Thanks for the news!
Image | My games - http://www.emphatic.se
RegalSin wrote:Street Fighters. We need to aviod them when we activate time accellerator.
User avatar
cools
Posts: 2057
Joined: Mon Nov 26, 2007 4:57 pm
Location: South Wales
Contact:

Re: Greatest screen filter ever

Post by cools »

austere wrote:This is now part of mainline MAME (windows only), and cools will be happy to know there's proper shadow mask support. ;)
o//

And I just bought an LCD cab... Might be fun to play about with.
Image
User avatar
austere
Posts: 680
Joined: Mon Mar 22, 2010 10:50 am
Location: USA

Re: Greatest screen filter ever

Post by austere »

neorichieb1971 wrote:Can a hardware iteration of this screen effect be made?
That's a pretty good idea, it would require specialised hardware though and the output format is quite taxing. Would make an interesting project for a final year project, I might suggest it to a student.
cools wrote:And I just bought an LCD cab... Might be fun to play about with.
Yeah there's about 54 parameters in the filter now so it'll take quite a while to fiddle around with it. Would be interesting if people posted their settings on here.
<RegalSin> It does not matter, which programming language you use, you will be up your neck in math.
User avatar
emphatic
Posts: 7988
Joined: Mon Aug 18, 2008 3:47 pm
Location: Alingsås, Sweden
Contact:

Re: Greatest screen filter ever

Post by emphatic »

There's an .avi file link posted over at mameworld.info. And now here: http://icips.us/emulation/crt/CRTTest_encoded.avi
Image | My games - http://www.emphatic.se
RegalSin wrote:Street Fighters. We need to aviod them when we activate time accellerator.
User avatar
spadgy
Posts: 6675
Joined: Tue Nov 06, 2007 5:26 pm
Location: Casino Arcade (RIP), UK.

Re: Greatest screen filter ever

Post by spadgy »

Moved to hardware. Despite that lovely Progear shot in the OP, I think this is better suited in its new home...
User avatar
StarCreator
Posts: 1943
Joined: Mon Jan 12, 2009 2:44 am
Location: Maryland, USA
Contact:

Re: Greatest screen filter ever

Post by StarCreator »

Uhh, why is this better suited to Hardware? I'm not following the logic. Every other emulation-related discussion is in Shmups Chat.
User avatar
spadgy
Posts: 6675
Joined: Tue Nov 06, 2007 5:26 pm
Location: Casino Arcade (RIP), UK.

Re: Greatest screen filter ever

Post by spadgy »

I admit I um-ed and er-ed before the move, so I can see where you're coming from, but beyond the subject of the example image in the OP, nothing was about shmups. Much of the discussion has been about CPUs, GPUs, scanlines, CRTs, cabs and so-on, and very little has been about shmups. That considered, I've moved it here.

You're right about other MAME posts, but many have been far more close to specific shmup discussion. Let's face it; MAME stuff overlaps the grey area between Hardware and Shmups Chat, so it's always going to be a touch contentious.

If you want to disagree with me and argue the case, do shoot me a PM, but let's not fill this thread with debate, and instead keep it on topic and have a nice discussion about the pretty awesome looking filter.
User avatar
emphatic
Posts: 7988
Joined: Mon Aug 18, 2008 3:47 pm
Location: Alingsås, Sweden
Contact:

Re: Greatest screen filter ever

Post by emphatic »

I wonder if the filter can be added to avi-write somehow, or how were those games captured in the video clip I posted? It would be awesome to record your runs in MAME, then put them on YouTube like this. 8)
Image | My games - http://www.emphatic.se
RegalSin wrote:Street Fighters. We need to aviod them when we activate time accellerator.
User avatar
austere
Posts: 680
Joined: Mon Mar 22, 2010 10:50 am
Location: USA

Re: Greatest screen filter ever

Post by austere »

spadgy wrote:Moved to hardware. Despite that lovely Progear shot in the OP, I think this is better suited in its new home...
Yeah, good call. I wasn't really sure if it belong in hardware when I posted it (actually I was leaning for off-topic...) because it's software running the filter. I guess in a way software doesn't really exist so you do have a good point. Sorry about the trouble.
emphatic wrote:I wonder if the filter can be added to avi-write somehow
No can do I'm afraid, not the way aviwrite is written at the moment (though it could be changed). Would be pretty sweet but youtube limits your frame rate to ~30fps which would degrade the jitter effects. Besides, I'm not sure if the harddrive could keep up for a full run of a STG. For example, my crappy runs go to around 10 gigs uncompressed or so. If we multiply the resolution by 3x3, that's 90 gigs or so.

Moogly does like your idea though.
<RegalSin> It does not matter, which programming language you use, you will be up your neck in math.
gray117
Posts: 1235
Joined: Fri Jul 25, 2008 10:19 pm
Location: Leeds

Re: Greatest screen filter ever

Post by gray117 »

austere wrote:
neorichieb1971 wrote:Can a hardware iteration of this screen effect be made?
That's a pretty good idea, it would require specialised hardware though and the output format is quite taxing. Would make an interesting project for a final year project, I might suggest it to a student.
That would be a really cool idea; would need power and be bigger than the compact slg... I'd presume that [hopefully?] unlike a shader this device would almost inevitably add delay though?

It's a bit of a shame that this hasn't become a de facto part of porting a low res game, and instead we're looking to fix it on the back end... However, I guess we really are in the minority if even some posters on shmups are confused as to why you'd want the crt look.

I'm really curious to see what extent, or if, the options are tweakable/scalable [as opposed to just on and off] with this shader implementation - presumably some options come cheaply and others more expensively as regards shader/hardware integration, and performance?
User avatar
austere
Posts: 680
Joined: Mon Mar 22, 2010 10:50 am
Location: USA

Re: Greatest screen filter ever

Post by austere »

At the moment it's all clumped into one fixed shader pipeline where the calculations are done even in the absence of an activated option. In the future though, you could have a partial compilation of shaders.

A hardware version will not necessarily add any (full frames of) latency if you leave out some things like the pin-cushioning.

Also, I think when people actually see what this filter looks like under arbitrary scaling, they'll understand why people are trying to emulate the appearance of a CRT.
<RegalSin> It does not matter, which programming language you use, you will be up your neck in math.
Barrakketh
Posts: 317
Joined: Sat Jan 22, 2011 10:44 pm

Re: Greatest screen filter ever

Post by Barrakketh »

austere wrote:Besides, I'm not sure if the harddrive could keep up for a full run of a STG. For example, my crappy runs go to around 10 gigs uncompressed or so. If we multiply the resolution by 3x3, that's 90 gigs or so.
Heh, I actually ran out of space on one of my partitions when recording PROMETHEUS' DOJ 2-5 run. That came out to approx 195 GB. Recording it with Fraps (RGB mode) cut it down to 97 GB, IIRC.

It kinda makes me want to try adding libav* support to MAME for personal use. FFV1 looks like a good choice for a lossless video codec.
User avatar
emphatic
Posts: 7988
Joined: Mon Aug 18, 2008 3:47 pm
Location: Alingsås, Sweden
Contact:

Re: Greatest screen filter ever

Post by emphatic »

austere wrote:
emphatic wrote:I wonder if the filter can be added to avi-write somehow
No can do I'm afraid, not the way aviwrite is written at the moment (though it could be changed). Would be pretty sweet but youtube limits your frame rate to ~30fps which would degrade the jitter effects. Besides, I'm not sure if the harddrive could keep up for a full run of a STG. For example, my crappy runs go to around 10 gigs uncompressed or so. If we multiply the resolution by 3x3, that's 90 gigs or so.
Would it be possible to create a VirtualDub filter from this? That way, you can use it with ANY video source. 8) and possibly create interlaced 30 fps videos. Or would that look worse than what YouTube's doing?
austere wrote:Moogly does like your idea though.
:D
Image | My games - http://www.emphatic.se
RegalSin wrote:Street Fighters. We need to aviod them when we activate time accellerator.
User avatar
StarCreator
Posts: 1943
Joined: Mon Jan 12, 2009 2:44 am
Location: Maryland, USA
Contact:

Re: Greatest screen filter ever

Post by StarCreator »

emphatic wrote:Would it be possible to create an AVISynth filter from this? That way, you can use it with ANY video source.
Fixed~ =p
User avatar
austere
Posts: 680
Joined: Mon Mar 22, 2010 10:50 am
Location: USA

Re: Greatest screen filter ever

Post by austere »

Moogly added more features, this screenshot is almost too close for comfort:

http://img855.imageshack.us/img855/6620/mm5yiq134.png
<RegalSin> It does not matter, which programming language you use, you will be up your neck in math.
User avatar
lewisit
Posts: 267
Joined: Fri May 11, 2007 3:54 pm
Location: Hamburg / Germany
Contact:

Re: Greatest screen filter ever

Post by lewisit »

sorry if these questions are already answered in this topic - but either my english is too bad or my technical understanding too weak (or both...)

1. i think that this is about a new software-based filter for mame which makes games on a lcd-screen look like on a crt - right?

2. where can i get this filter, where do i put it & how do i run it? it doesn't seem to work the way other filters do in mame (properties -> advanced -> select effect) - or does it?

i am really confused so pls excuse if these questions are totally stupid! :?
Post Reply