MiSTer System Filter Rounded Corners

For topics which do not fit in other specific forums.
DTechNation
Posts: 6
Joined: Sun May 15, 2022 4:14 am

MiSTer System Filter Rounded Corners

Unread post by DTechNation »

I love the RetroTINK PVM - 600 filter

I know it would mask off a tiny bit on the corners, but for some reason slightly rounded corners just feels more CRT-like to me.

Is there a way, using filters or some kind of border, to round the corners of the output? (A simple consistent mask)

It would be the last piece of the puzzle for me (C1 OLED, BFI, SNAC, PVM-600)

Thanks!
User avatar
barfood
Posts: 96
Joined: Thu Jun 18, 2020 6:55 pm
Location: new user: felleg
Has thanked: 87 times
Been thanked: 20 times
Contact:

Re: MiSTer System Filter Rounded Corners

Unread post by barfood »

I have no idea, but+1 for bringing this up. Let's hope it's possible.
FoxbatStargazer
Top Contributor
Posts: 1019
Joined: Thu Dec 10, 2020 5:44 pm
Has thanked: 315 times
Been thanked: 238 times

Re: MiSTer System Filter Rounded Corners

Unread post by FoxbatStargazer »

Masks are simple repeating tiled patterns right now, I don't think it's possible with the existing filter format. Would need some more programming elbow grease to add support.
User avatar
Kitrinx
Core Developer
Posts: 187
Joined: Sat May 23, 2020 2:14 am
Location: NYC
Has thanked: 1 time
Been thanked: 149 times
Contact:

Re: MiSTer System Filter Rounded Corners

Unread post by Kitrinx »

Neither masks nor filters are capable of this, nor will anything else ever be on this current generation of mister hardware. You need shaders for this which require a GPU.
FoxbatStargazer
Top Contributor
Posts: 1019
Joined: Thu Dec 10, 2020 5:44 pm
Has thanked: 315 times
Been thanked: 238 times

Re: MiSTer System Filter Rounded Corners

Unread post by FoxbatStargazer »

Kitrinx wrote: Thu May 19, 2022 3:47 pm Neither masks nor filters are capable of this, nor will anything else ever be on this current generation of mister hardware. You need shaders for this which require a GPU.
I don't think retrotink is using shaders, he is also programming a small FPGA to do the scaling just a few lines behind the input.

This doesn't sound like a full curvature distorting the screen, it's just overlaying a rounded darkening effect on the corners.
DTechNation
Posts: 6
Joined: Sun May 15, 2022 4:14 am

Re: MiSTer System Filter Rounded Corners

Unread post by DTechNation »

Yes, that would be ideal

All I’m looking for is a slight rounded corner mask. No curvature distortion, just cut off a little to round each corner.

Like I said, it’s minor, but having rounded corners just feels right to me.
User avatar
NightShadowPT
Posts: 224
Joined: Mon May 25, 2020 9:56 am
Has thanked: 5 times
Been thanked: 12 times

Re: MiSTer System Filter Rounded Corners

Unread post by NightShadowPT »

This thought crossed my mind a few times as well... just having a fading effect in the corners would go a long way helping with the CRT feeling.

I don't think we need full screen distortion, especially as most of these effect just look bad, but having rounded corners would be neat.
Insert Disk Two
Posts: 221
Joined: Sun May 24, 2020 7:59 pm
Has thanked: 16 times
Been thanked: 28 times

Re: MiSTer System Filter Rounded Corners

Unread post by Insert Disk Two »

Put a sticker on your screen 😜
DTechNation
Posts: 6
Joined: Sun May 15, 2022 4:14 am

Re: MiSTer System Filter Rounded Corners

Unread post by DTechNation »

Been messing around with the Mega Bezel Reflection Shader on RetroArch. Super cool to see effects like this.

Obviously that would be impossible to implement with it's distortion and reflections on MiSTer, but If we can implement an aperture grill, I'm sure there is a way to simply crop/mask off the corners on the output image.

Ideally this wouldn't be resolution dependent, but something like a simple vignetting filter option (like the aperture grill/shadow mask option)
Post Reply