MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

Pages: 1

Marlon
Lurker
Reged: 01/02/04
Posts: 5
Send PM


HLSL screen curvature in 173
#353692 - 04/29/16 05:03 PM


Hi guys,

I'm having issues with screen curvature in 173. I can curve the screen no problem but I can't get the curved edges or corners to blur properly. Whichever of the two curving options I choose the edge blurring only affects the straight, middle parts or the curved edges.

Man, this is difficult to explain. Am I making any sense?



Jezze
Reged: 03/14/05
Posts: 72
Send PM


Re: HLSL screen curvature in 173 new [Re: Marlon]
#353699 - 04/29/16 07:53 PM


There are three settings for distortion.

1. distortion - a quadric distortion that affects the image
2. cubic_distortion - a cubic distortion that also affects the image

Both can compensate each other by setting one of the distortion factors to a negative value. (e.g. 1.0 and -1.0)

3. distort_corner - only affects the corners of the screen not the image itself.

This is the setting on that round_corner and smooth_border are applied. smooth_border only works in combination with round_corner, which means that the maximum used value of smooth_border is the current value of round_corner.



Marlon
Lurker
Reged: 01/02/04
Posts: 5
Send PM


Re: HLSL screen curvature in 173 new [Re: Jezze]
#353723 - 04/30/16 11:04 AM


Hi Jezze,

Thanks for taking the time to answer my question, I just wish I understood the answer!

Sorry, I seem to have my retard hat on permanently right now. Basically, what would the new equivalent settings be for what I had in previous builds - curvature 10, round corner 5 and edge blurring .04?

And thank you for the many huge improvements you've made to HLSL recently.



Jezze
Reged: 03/14/05
Posts: 72
Send PM


Re: HLSL screen curvature in 173 new [Re: Marlon]
#353733 - 04/30/16 04:37 PM



Code:

# 0.172
curvature 0.10
round_corner 0.05
smooth_border 0.04



Should be nearly the same as


Code:

# 0.173
distortion 0.05 # 1/2 curvature
cubic_distortion 0.025 # 1/4 curvature
distort_corner 0.075 # distortion + cubic_distortion
round_corner 0.05 # no change
smooth_border 0.04 # no change




Marlon
Lurker
Reged: 01/02/04
Posts: 5
Send PM


Re: HLSL screen curvature in 173 new [Re: Jezze]
#353825 - 05/02/16 01:39 PM


Fantastic! Got it working fine. Thanks, Jezze and thanks again for the HLSL improvements.


Pages: 1

MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

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