MAMEWorld Central >> MAME Artwork X: Other Stuff
Previous thread Previous  View all threads Index   Next thread Next   Flat Mode Flat  

uman
MAME Fan
Reged: 04/15/12
Posts: 343
Send PM
Re: orginal cabinet bezels
09/06/16 02:27 PM


> > I'm hoping that at some point they will add a "trapezoid" parameter to the HLSL
> > settings for files like this where the monitor has slight perspective in the
> artwork
> > file. It would be great for games like these, Tron, and Cosmic Chasm.
>
> I'd prefer a tilt/trapezoid setting that is part of the standard LAY file options (or
> at least some way to set HLSL parameters from the LAY file). Otherwise you've got to
> rely on the user tweaking the HLSL setting to get things to line up with the artwork.
> A "fisheye" setting for Aztarac would be nice too (though it would be a lot of work
> just to support one game).

You could use the crt-geom shader from BGFX, as it has a tilt-prameter, that you can adjust on the fly. Also its easier to "correct" the screen, by doing it with the artwork itself, i.e. creating proper orthagonal views with Photohop or similar, rather than changing shaders. If you are satisfied with the tilt settings, you can duplicate the shader and change the tilt settings accordingly inside them. Afterwards you can change the game .ini setting to load your copy of the shader file. This way you dont need to change it everytime the game is loaded. This is a provisionally solution, until we have BGFX shader settings, that are saved automatically.

"fisheye" settings (and to some degree manipulations to fit the screen), can be done with HLSL with these parameters:

distortion 0.0
cubic_distortion 0.0
distort_corner 0.0
round_corner 0.0
smooth_border 0.0

you need to play with them, to find your settings.







Entire thread
Subject Posted by Posted on
* orginal cabinet bezels Moksi 06/09/16 01:16 PM
. * Re: orginal cabinet bezels Moksi  07/11/16 06:01 PM
. * Re: orginal cabinet bezels Moksi  07/11/16 06:03 PM
. * Re: orginal cabinet bezels Moksi  07/11/16 06:04 PM
. * Re: orginal cabinet bezels Moksi  09/06/16 06:42 AM
. * Re: orginal cabinet bezels Nightvoice  06/11/16 11:52 PM
. * Re: orginal cabinet bezels Comboman  06/17/16 02:51 AM
. * Re: orginal cabinet bezels uman  09/06/16 02:27 PM
. * Re: orginal cabinet bezels Moksi  09/06/16 05:39 PM
. * Re: orginal cabinet bezels Moksi  07/02/16 09:13 AM
. * Re: orginal cabinet bezels Vaughan  06/09/16 01:59 PM
. * Re: orginal cabinet bezels Moksi  06/09/16 02:45 PM
. * Re: orginal cabinet bezels Moksi  06/09/16 05:07 PM
. * Re: orginal cabinet bezels Vaughan  06/10/16 06:13 AM
. * Re: orginal cabinet bezels Moksi  06/10/16 05:22 PM
. * Re: orginal cabinet bezels Moksi  06/10/16 05:24 PM

Extra information Permissions
Moderator:  Mr. Do 
0 registered and 6 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 3348