English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 06 August 2010, 11:49   #21
Ambermoon
Registered User
 
Join Date: Jul 2010
Location: Germany
Posts: 51
As a preliminary solution for any aspect ratio issues, I updated the original post with two new bezel images. The bezel is now available in 4:3, 16:9 and 16:10.
Ambermoon is offline  
Old 06 August 2010, 12:00   #22
Ambermoon
Registered User
 
Join Date: Jul 2010
Location: Germany
Posts: 51
@Toni

One more thing: Maybe making it user definable isn't such a great idea. It makes things more confusing for most people and pretty complicated to install.

A better solution would be a small meta file (maybe simply in UAEs .cfg format) that is provided by me for every bezel. These files would contain all offset values pre-defined so that they can be read in when a bezel is selected.
Ambermoon is offline  
Old 06 August 2010, 12:15   #23
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,506
Quote:
Originally Posted by Ambermoon View Post
@Toni

One more thing: Maybe making it user definable isn't such a great idea. It makes things more confusing for most people and pretty complicated to install.

A better solution would be a small meta file (maybe simply in UAEs .cfg format) that is provided by me for every bezel. These files would contain all offset values pre-defined so that they can be read in when a bezel is selected.
That is probably best solution but only when we know all required parameters..

First I'll do simple automatic display area detection (start from center of image and go left/right/up/down until non-transparent alpha channel data is found)

EDIT: + overscan % value in configuration file
Toni Wilen is offline  
Old 06 August 2010, 12:17   #24
Ambermoon
Registered User
 
Join Date: Jul 2010
Location: Germany
Posts: 51
Quote:
Originally Posted by Toni Wilen View Post
First I'll do simple automatic display area detection (start from center of image and go left/right/up/down until non-transparent alpha channel data is found)
That sounds even better.

EDIT: regarding the required overscan, that's indeed most likely to be solved better with human determined values.
Ambermoon is offline  
Old 06 August 2010, 12:32   #25
Ambermoon
Registered User
 
Join Date: Jul 2010
Location: Germany
Posts: 51
Quote:
First I'll do simple automatic display area detection (start from center of image and go left/right/up/down until non-transparent alpha channel data is found)
Small hint: It might be better to make the detection work from the outside until pixels with none opaque alpha are found.

Just in case someone has the strange idea of making bezels with non-transparent 'errors' on the screen (for example a fly sitting on the screen). This would confuse an inside-out detection.

EDIT: This should solve the overscan issue too.

Last edited by Ambermoon; 06 August 2010 at 12:39.
Ambermoon is offline  
Old 06 August 2010, 13:06   #26
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,506
Quote:
Originally Posted by killergorilla View Post
The monitor has a curved appearance, the emulation screen doesn't
Serious or not so serious comment but I'll answer: that can be quite easily fixed by replacing simple rectangle object with complex sphere-like object, D3D does the rest automatically. (but perhaps we can leave this for later..)

Quote:
Originally Posted by Ambermoon View Post
Small hint: It might be better to make the detection work from the outside until pixels with none opaque alpha are found.

Just in case someone has the strange idea of making bezels with non-transparent 'errors' on the screen (for example a fly sitting on the screen). This would confuse an inside-out detection.

EDIT: This should solve the overscan issue too.
How does it solve overscan? Most regular displays have 5% or so overscan, I don't see how alpha data can be used for overscan size..
Toni Wilen is offline  
Old 06 August 2010, 13:32   #27
Ambermoon
Registered User
 
Join Date: Jul 2010
Location: Germany
Posts: 51
Maybe we mean something different.

I thought you meant the 'virtual overscan' (man, it's hard to talk about a monitor on a monitor...) that would be neccessary because of the curved appearence of the bezel monitor. With an inside out detection approach - at least the way I would do it - one would detect a bezel screen size a few pixels smaller than it actually is. But then, many ways lead to Rome, and maybe you just do it differently.

If you meant the overscan normal CRT monitor had in reality, I would leave that to the user to decide. I for one adjusted my Amiga monitors overscan differently for serious work (read pathetic first programming attempts), which required to see everything, and games, which I often liked to play at maximum size. So I think this is a setting that depends on situation and/or personal preference, nothing that should be forced on the user. But that's just my opinion.
Ambermoon is offline  
Old 06 August 2010, 13:40   #28
Ambermoon
Registered User
 
Join Date: Jul 2010
Location: Germany
Posts: 51
Deleted.

Last edited by Ambermoon; 06 August 2010 at 13:51. Reason: Accidental duplicate of the post above
Ambermoon is offline  
Old 06 August 2010, 13:46   #29
Ambermoon
Registered User
 
Join Date: Jul 2010
Location: Germany
Posts: 51
Quote:
Serious or not so serious comment but I'll answer: that can be quite easily fixed by replacing simple rectangle object with complex sphere-like object, D3D does the rest automatically. (but perhaps we can leave this for later..)
I don't believe it was meant too serious. But on the other hand...

I would like the idea. If you already are rendering the output to a plane, so that it's really 'just' exchanging the geometry with something else, why not? Although I would like to see the distortion/pinching of the image plane to be configurable. At least for the bezel author.
Ambermoon is offline  
Old 06 August 2010, 13:56   #30
killergorilla
Lesser Talent
 
killergorilla's Avatar
 
Join Date: Jan 2003
Location: UK
Age: 42
Posts: 7,957
It was semi-serious.

I personally think the whole idea is silly, but hey it's horses for courses

I just thought if you really wanted to do it, you'd need a curved screen to stop it looking "off". Plus, I know Toni is more than capable of it, I just wanted to see whether he'd bother!

I think we'll be seeing it pretty soon
killergorilla is offline  
Old 06 August 2010, 13:59   #31
seuden
uber cool demi god
 
seuden's Avatar
 
Join Date: Jun 2006
Location: Kent/England
Posts: 2,073
Agreed it is a silly idea but friggin awesome.
seuden is offline  
Old 06 August 2010, 14:01   #32
killergorilla
Lesser Talent
 
killergorilla's Avatar
 
Join Date: Jan 2003
Location: UK
Age: 42
Posts: 7,957
As I said, horses for courses

I'd rather print off a cardboard cutout of it and bluetack it to the outside of my monitor.

But, I'd rather not do either
killergorilla is offline  
Old 06 August 2010, 14:13   #33
seuden
uber cool demi god
 
seuden's Avatar
 
Join Date: Jun 2006
Location: Kent/England
Posts: 2,073
Quote:
Originally Posted by killergorilla View Post
I'd rather print off a cardboard cutout of it and bluetack it to the outside of my monitor.
That would be awesome!!!!!! I'll take pics.
seuden is offline  
Old 06 August 2010, 17:39   #34
kkgarbod
The Human/Gray Hybrid
 
kkgarbod's Avatar
 
Join Date: Dec 2009
Location: The Elizabeth Arkham Asylum for the Criminally Insane
Posts: 372
Hi Ambermoon

Do you mind if I create a Artwork for MESS from your 4:3 Bezel?
kkgarbod is offline  
Old 06 August 2010, 18:00   #35
LocalH
Amiga user since 1990
 
LocalH's Avatar
 
Join Date: Aug 2004
Location: Kingsport, TN / USA
Age: 44
Posts: 295
Heh, this reminds me of the old monitor bezel feature but much better quality (both visually, and I would assume in code as well, from what I understand the old bezel code was hacked up to hell and back). This is just making use of the quality overlay code that Toni's implemented, so I know it has to be better than the old stuff =P
LocalH is offline  
Old 06 August 2010, 18:35   #36
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,506
http://www.winuae.net/files/b/winuae.zip includes "autoscaling" to display area and aspect ratio correction. It isn't perfect yet.
Toni Wilen is offline  
Old 06 August 2010, 18:41   #37
Ambermoon
Registered User
 
Join Date: Jul 2010
Location: Germany
Posts: 51
Quote:
Originally Posted by kkgarbod View Post
Hi Ambermoon

Do you mind if I create a Artwork for MESS from your 4:3 Bezel?
At this point, yes. Sorry. But not forever.

I will release a final version with an appropriate Creative Commons license in a few days. This might be used for anything that is not against the license once it's done.

Hopefully you can wait that long.
Ambermoon is offline  
Old 06 August 2010, 19:12   #38
Ambermoon
Registered User
 
Join Date: Jul 2010
Location: Germany
Posts: 51
Quote:
Originally Posted by Toni Wilen View Post
http://www.winuae.net/files/b/winuae.zip includes "autoscaling" to display area and aspect ratio correction. It isn't perfect yet.
I just did some very quick tests with a few games. Since you say it's not perfect yet, I'm not sure if you need (or want) feedback at this moment, but here it goes anyway:

autoscaling the display area seems to work in general, although the picture appears to be offset by a few pixels in most cases. I couldn't recognize any pattern behind this so far. Some games were offset to the right, others to the left, or up or down or any combination the four directions.

Aspect ratio correction of the bezel works as long as the actual screen has the same height as the bezel. Using for example the above 16:9 bezel (1920x1080) at a screen res of 1600x1200 though leads to very strange results (sorry no better way to describe it). If you want I can provide screenshots, but most likely it makes more sense to try for yourself.
Ambermoon is offline  
Old 06 August 2010, 19:42   #39
kkgarbod
The Human/Gray Hybrid
 
kkgarbod's Avatar
 
Join Date: Dec 2009
Location: The Elizabeth Arkham Asylum for the Criminally Insane
Posts: 372
Quote:
Originally Posted by Ambermoon View Post
At this point, yes. Sorry. But not forever.

I will release a final version with an appropriate Creative Commons license in a few days. This might be used for anything that is not against the license once it's done.

Hopefully you can wait that long.
Thanx For the Info, Will Wait
kkgarbod is offline  
Old 06 August 2010, 19:58   #40
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,506
Quote:
Originally Posted by Ambermoon View Post
autoscaling the display area seems to work in general, although the picture appears to be offset by a few pixels in most cases. I couldn't recognize any pattern behind this so far. Some games were offset to the right, others to the left, or up or down or any combination the four directions.
This is known problem, no idea whats wrong..

Quote:
Aspect ratio correction of the bezel works as long as the actual screen has the same height as the bezel. Using for example the above 16:9 bezel (1920x1080) at a screen res of 1600x1200 though leads to very strange results (sorry no better way to describe it). If you want I can provide screenshots, but most likely it makes more sense to try for yourself.
Aspect ratio correction really only works in windowed mode. In non-matching aspect ratio fullscreen mode it can't be really fixed without modifying the image (either pre-made image or modified after loading). In rendering phase image width and height scaling values must be identical or masks will break.
Toni Wilen is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Monitor or TV? NytroX86 Retrogaming General Discussion 29 06 December 2013 20:12
Wanted: CD32 Expansion slot bezel Pacemaker MarketPlace 1 20 January 2012 08:31
Monitor like a TV atchoo support.WinUAE 4 17 October 2011 07:21
C Monitor 2.02 redblade request.Apps 3 10 January 2010 09:42
Which Monitor ikorodu support.Hardware 4 05 December 2005 20:03

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 04:06.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.10848 seconds with 16 queries