01 November 2009, 01:13 | #21 |
Moderator
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,602
|
Looks fine here with moving object, can't see any difference at all with/without "remove interlace artifacts". In both cases, simply artifact-free pictures with twice the vertical resolution.
It runs at 25fps tho, that's probably it. Any tips for some game or such that has objects moving in interlace at 50 fps!? |
01 November 2009, 19:13 | #22 | |
Banned
Join Date: Jul 2009
Location: *
Posts: 567
|
Quote:
Actually the game was not designed to be displayed on progressive screens, so technically it runs at 50 fields per second. Use hardware/drivers capable of outputting video interlacedly or wait for Toni to come up with a fix |
|
02 November 2009, 12:57 | #23 |
Competition Moderator
Join Date: Feb 2008
Location: Germany
Posts: 4,756
|
|
02 November 2009, 13:01 | #24 |
Moderator
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,602
|
Misperceive.
Looks fine = MY moving object displays fine, buffer contents update at 25 fps. Tips for games = tip me off to a game that uses interlace, so I can try it in WinUAE! I'm still using 1.6.1, if that's a clue. |
02 November 2009, 13:10 | #25 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
|
Try any demo that has interlace scroller (I don't remember any names..) -> really ugly artifacts. Pinball Illusions in lace mode is also good test game.
|
02 November 2009, 14:35 | #26 | |
move.l #$c0ff33,throat
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
|
Quote:
|
|
02 November 2009, 15:14 | #27 |
Moderator
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,602
|
Yes indeed Stingray
Test results: All modes have direct3d bilinear 16 bit filter and hires (normal) mode selected. For Windowed: Line mode: - Normal: vectors have no artifacts, hireslace scroller no artifacts, but is jumping 1/2 line. - double: artifacts on both - scanlines: artifacts on both Fullscreen+Vsync: Line mode: - Normal: perfect result except scroller is jumping 1/2 line (funny... I seemed to have had that perfect one time, but now I can't get it back. Maybe I simply didn't "look for it" before... - scanlines: artifacts on both - double: artifacts on both For all these modes, the results are the same with or without "reduce interlace artifacts". Toni: I noticed a tiny 'feature' that I had noticed before... when selecting some display settings and check what they look like, you get faint almost-black-on-black border flicker. I noticed now that simply pressing F12 and OK removes it! After these tests I made a config that I like: |
02 November 2009, 22:15 | #28 |
Moderator
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,602
|
I should add that I had "autostretch" on the Direct3D filter in the tests, and in the submitted config I had 2x horizontally and 4x vertically instead.
|
03 November 2009, 17:49 | #29 |
Banned
Join Date: Jul 2009
Location: *
Posts: 567
|
At this point I'm wondering, how is WinUAE supposed to handle combing? On progressive monitors, interlaced Amiga screens behave a bit like video from camcoders, and the only way to do proper deinterlacing after weaving this type of video is introducing ghosting, which doesn't look as bad as combing but you're basically replacing an artifact with another.
Would WinUAE just detect the combed areas and remove them all together? Thanks. |
03 November 2009, 18:05 | #30 |
Moderator
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,602
|
Have you tried it in WinUAE? I don't care how he does it, it looks perfect to me
Tested the Agile demo on my A600 portable, and the Joytech screen really is wonderful! It looks even better than in WinUAE! (Well, only slightly. Since it translates to lowres vertically, the jumping line is missing.) I love how the Joytech takes two interlaced lines, and translates them to 1 lowres line, and makes half-pixel-"areas" half-transparent It also preserves hires, so the scroller in the demo looks ace! Hires with vertical antialiasing. The vectors below are completely lowres on it, though - I think it doesn't like the hireslace->loreslace mode change in the copper, if the whole screen had been hireslace it would have been antialiased vectors Not a single pixel flickering. I love my little screen |
12 November 2009, 10:18 | #31 |
Banned
Join Date: Jul 2009
Location: *
Posts: 567
|
|
12 November 2009, 11:15 | #32 |
Amiga user since 1990
Join Date: Aug 2004
Location: Kingsport, TN / USA
Age: 44
Posts: 295
|
Double-framerate bob is the simplest way to handle such material. Of course, there are more advanced deinterlacers that work at both single-framerate and double-framerate, but bobbing is computationally cheap and (on a CRT) even slightly emulates the interlace flicker but not nearly as much as on your average 1084.
|
12 November 2009, 12:03 | #33 | |
Banned
Join Date: Jul 2009
Location: *
Posts: 567
|
Quote:
|
|
12 November 2009, 12:29 | #34 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
|
Note that I only care about pixel-perfect image, I don't care about video algorithms.
|
12 November 2009, 12:42 | #35 |
Banned
Join Date: Jul 2009
Location: *
Posts: 567
|
There really isn't much of an algorithm in bob deinterlacing, it's just fields being upscaled to twice their vertical resolution, then bobbed up and down, which looks horrible for low-res pixel art anyways, and that's where the method I suggested would come in handy
|
12 November 2009, 12:49 | #36 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
|
The point: there is full non-interlaced image in Amiga memory, in other words we (nearly) always have the original pixel perfect data.
We only need to find a way to automatically detect how it is rendered in interlace (by analyzing copper list etc..) and then draw it (current method simply uses previous and current frame's bpl pointers and draws both odd and even line at the same time) in 50fps 512p without quality loss or any image processing. |
12 November 2009, 13:14 | #37 |
Banned
Join Date: Jul 2009
Location: *
Posts: 567
|
The problem with interlaced amiga games is that we are not dealing with a 100% progressive source. The backgrounds are static, so no problem there, but the movement of the foreground objects is generated in real time, which means we can't do any sort of prediction thus an ivtc-like method for deinterlacing amiga frames would definitely be out of the question if we were to play by the same rules that apply to regular video.
So what's the approach here? removal or prevention of deinterlacing artifacts? |
12 November 2009, 13:47 | #38 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
|
Quote:
EDIT: I missread your reply. Many games have progressive source, even if interlaced. This is the situation I support. (game in OP is also progressive, current simple method does not work because it has multiple buffers) Last edited by Toni Wilen; 12 November 2009 at 14:16. |
|
21 November 2009, 08:16 | #39 |
Banned
Join Date: Jul 2009
Location: *
Posts: 567
|
I just realized I know less than jacks*** about buffers or how programmers can deal with de-interlacing artifacts in ways extraneous to the traditional methods favored by video technicians, so I won't comment on that , still, would the same potential fix also address the combing in Workbench 1.3?
|
21 November 2009, 21:25 | #40 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
|
Quote:
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Automatically disable Direct3D scanlines/mask during interlaced screens (WinUAE) | Maren | request.UAE Wishlist | 6 | 26 September 2010 09:14 |
Flickering when interlaced and non-interlaced highres screens "meet" | Maren | support.WinUAE | 12 | 27 November 2009 22:59 |
WinUAE handling of ECS:BPLCON1:DOFF flag | RedskullDC | support.WinUAE | 1 | 26 December 2007 17:12 |
WinUAE suggestion | Critter | support.WinUAE | 15 | 05 September 2003 02:33 |
|
|