MAMEWorld >> News
View all threads Index   Flat Mode Flat  

MetalliC
Demul/MAME dev
Reged: 03/20/09
Posts: 174
Loc: UA
Send PM
Re: Demul 0.58
07/13/13 07:39 PM


> THe PS2/Namco System 246 appeared immediately after, more or less, and it is a more
> powerful system than Dreamcast and respective arcades based, and doesn't need Directx
> 11 hardware for its emulation.

I can't agree with that in the case of Naomi 2

and in general PS2 "Graphics Synthesizer" is kind of fast but very simple texture unit, also it don't have kind of exclusive features, so its not too hard to emulate it on hardware or even on software (with a lot of smart otimisation of coz)

PowerVR 2 is vise versa have a lot of advanced or exclusive features, here is few of them -

- a lot of texture formats, most of them not supported by DX/OGL, so in the case of DX9 software conversion on CPU needed, plus smart and complex (and as result buggy %)) texture cache needed.
on DX10+ is possible do texture conversion using GPU on the fly, even without notable performance loss, DX10+ plugins works this way.

- 32bit depth precision (kind of Z-buffer), pre-DX10 videocards supports maximum 24bit Z-buffer precision, so even with magic (i.e. hacky ) depth values tranform you'll get different glitches, like disappearing or flashing objects.

- translucent polygon sorting at pixel level, in modern 3D graphics this feature called "Order-Independent Transparency" (OIT).
and this is the biggest PITA in term of emulation, because modern GPU still doesn't have such features (maybe it will be in DX12 ?)

so in pre-DX10 renders only possible triangle-level sorting on CPU, and of course in case of intersecting polygons it will work wrong.

DX11 have new features to implement OIT, look AMD Mecha demo http://developer.amd.com/resources/docum...eal-time-demos/ and TressFX http://www.amd.com/tressfx (btw, sources available)
so, now possible to store all rendered fragments (i.e. pixels - color, depth values and few flags) into one giant linked list buffer in one shader, and do depth sorting and later blending of stored fragments in another shader.
it eats A LOT of GPU time and video-memory, but this is the only possible way to do OIT on current hardware (if you played Tomb Raider (2013) you probably know how butt hurt was people about TressFX performance, and I can tell you - physics calculations is not big deal here, most GPU load because such render technics)

so in DX11 plugin we implemented similar OIT mechanism, and get rid of sorting hacks

TBH possible to do OIT on DX11 with DX10 hardware, and this implemented in our DX10-plugin, but number of elements can be stored (and then sorted/blended/drawed) per pixel limited to maximum 8, in many cases its too few, so we decided to "move forward" to DX11 hardware.

Edited by MetalliC (07/13/13 07:48 PM)







Entire thread
Subject Posted by Posted on
* Demul 0.58 joey35car 07/08/13 12:46 AM
. * Re: Demul 0.58 Orochi_Kyo  08/13/13 01:30 AM
. * Re: Demul 0.58 Secessionist 91  07/25/13 08:48 PM
. * Re: Demul 0.58 rad_killer  07/16/13 12:10 PM
. * Re: Demul 0.58 MetalliC  07/17/13 01:58 PM
. * Re: Demul 0.58 rad_killer  07/17/13 02:19 PM
. * Re: Demul 0.58 Shoegazr  07/12/13 01:04 AM
. * Re: Demul 0.58 R. Belmont  07/16/13 07:07 PM
. * Re: Demul 0.58 Shoegazr  07/17/13 12:32 AM
. * Re: Demul 0.58 Dr. Spankenstein  07/12/13 11:08 AM
. * Re: Demul 0.58 CaH4e3  07/12/13 09:29 AM
. * Re: Demul 0.58 beatlep  07/11/13 03:52 AM
. * Re: Demul 0.58 i7corejonny/  07/11/13 12:16 PM
. * Re: Demul 0.58 joey35car  07/11/13 07:07 AM
. * Re: Demul 0.58 beatlep  07/11/13 08:32 AM
. * Re: Demul 0.58 Cable  07/09/13 01:08 PM
. * Re: Demul 0.58 CaH4e3  07/10/13 11:46 AM
. * Re: Demul 0.58 i7corejonny/  07/09/13 02:20 PM
. * Re: Demul 0.58 Rich75  07/09/13 11:39 AM
. * Re: Demul 0.58 i7corejonny/  07/09/13 12:51 PM
. * Re: Demul 0.58 MetalliC  07/09/13 06:29 PM
. * Re: Demul 0.58 Rich75  07/09/13 01:14 PM
. * Re: Demul 0.58 i7corejonny/  07/09/13 02:10 PM
. * Re: Demul 0.58 shocktrooper  07/09/13 09:28 AM
. * Re: Demul 0.58 CaH4e3  07/10/13 11:52 AM
. * Re: Demul 0.58 B2K24  07/10/13 05:31 PM
. * Re: Demul 0.58 CaH4e3  07/10/13 08:03 PM
. * Re: Demul 0.58 etabeta  07/10/13 08:11 PM
. * Re: Demul 0.58 R. Belmont  07/10/13 10:11 PM
. * Re: Demul 0.58 MetalliC  07/11/13 12:09 AM
. * Re: Demul 0.58 R. Belmont  07/11/13 04:43 PM
. * Re: Demul 0.58 Lacp75  07/11/13 09:47 PM
. * Re: Demul 0.58 R. Belmont  07/12/13 07:07 PM
. * Re: Demul 0.58 Lacp75  07/13/13 06:06 PM
. * Re: Demul 0.58 MetalliC  07/13/13 07:39 PM
. * Re: Demul 0.58 R. Belmont  07/16/13 04:58 PM
. * Re: Demul 0.58 CaH4e3  07/10/13 10:51 PM
. * Re: Demul 0.58 rad_killer  07/12/13 06:16 PM
. * Re: Demul 0.58 CaH4e3  07/12/13 07:27 PM
. * Re: Demul 0.58 rad_killer  07/12/13 08:28 PM
. * Re: Demul 0.58 BIOS-D  07/09/13 01:16 AM
. * Re: Demul 0.58 B2K24  07/09/13 01:45 AM
. * Re: Demul 0.58 uVSthem  07/08/13 08:38 PM
. * Re: Demul 0.58 Embryoice  07/10/13 04:15 PM
. * Re: Demul 0.58 i7corejonny/  07/10/13 04:32 PM
. * Re: Demul 0.58 Embryoice  07/08/13 11:22 PM
. * Re: Demul 0.58 B2K24  07/09/13 01:33 AM
. * Re: Demul 0.58 B2K24  07/08/13 08:51 PM
. * Re: Demul 0.58 uVSthem  07/08/13 09:05 PM
. * Re: Demul 0.58 Nomax  07/08/13 11:24 PM
. * Re: Demul 0.58 uVSthem  07/09/13 05:33 AM
. * Re: Demul 0.58 SmitdoggAdministrator  07/09/13 06:08 AM
. * Re: Demul 0.58 SmitdoggAdministrator  07/08/13 08:39 PM
. * Re: Demul 0.58 uVSthem  07/08/13 08:43 PM
. * Re: Demul 0.58 wild eyed  07/08/13 04:24 PM
. * Re: Demul 0.58 Cable  07/08/13 03:53 PM
. * Re: Demul 0.58 MichaelMichael54321  07/08/13 03:35 PM
. * Re: Demul 0.58 i7corejonny/  07/09/13 10:36 PM
. * Re: Demul 0.58 MetalliC  07/10/13 12:05 AM
. * Re: Demul 0.58 i7corejonny/  07/10/13 12:13 PM
. * Re: Demul 0.58 Nomax  07/08/13 03:57 PM
. * Re: Demul 0.58 Embryoice  07/08/13 04:56 PM
. * Re: Demul 0.58 joey35car  07/08/13 05:22 PM
. * Re: Demul 0.58 Embryoice  07/08/13 03:47 PM
. * Re: Demul 0.58 i7corejonny/  07/08/13 11:08 AM
. * Re: Demul 0.58 CiroConsentino  07/08/13 12:53 AM

Extra information Permissions
Moderator:  John IV, Robbbert, Tafoid 
0 registered and 112 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 15626