trzy / Supermodel

Official repository of the Sega Model 3 arcade emulator.
https://supermodel3.com
264 stars 37 forks source link

request: merge project with MAME #207

Closed ghost closed 1 week ago

ghost commented 2 weeks ago

hi

Thanks a lot for the fantastic work on supermodel, I really enjoy it!

Maybe it would be good for the future and to attract more contributors to add this project to MAME?

https://www.mamedev.org/

The same games are in MAME but they don't work. It would be a fantastic contribution to MAME! I think the GPLv3 is a perfect license for this

dukeeeey commented 1 week ago

Mame is purely software rendering. It can't really be merged. The work from supermodel could be ported to mame if people were interested in doing it.

ghost commented 1 week ago

Do you mean MAME never uses the GPU, no matter what MAME driver is run? I didn't know that. I saw there are OpenGL, DirectX, ... options but those just draw the things done in software rendering I think? Or how to understand those GPU options in MAME exactly?

toxieainc commented 1 week ago

At least for Model 3 emulation, its all done in software/CPU-rendering. For the majority of emulated machines, MAME usually goes for maximum accuracy if possible, which most of the time means that things are done on the CPU. Supermodel 'remaps' the Real3D hardware rendering to OpenGL, so it may be less accurate in the end, but faster this way.

dukeeeey commented 1 week ago

The GPU emulation is very accurate to the original h/w, with the exception of the quad rendering. Quad rendering in supermodel is far superior to the original hardware, it will handle bow tie quads and all kinds of insane shapes. It also doesn't distort if you rotate the quads which is something that can happen on the model 3, depending on the shape of the quad.

Emulating it how the actual hardware works, ie drawing horizontal spans would be way easier in software (mame). Mame is plenty fast enough for cpu rasterisation at the native resolution. But I know for a fact this project exists kind of means no one in mame is bothered about working on model 3 emulation, which is a shame.

toxieainc commented 1 week ago

Sorry, didn't want to imply that the GPU emulation is bad or something (rather the contrary), its just that MAME nowadays does not make many compromises regarding accuracy, as it also wants to act as kind of a documentation of the original hardware where possible/feasible, so in many cases its down to the exact same bits outputted to screen or speakers (of course not everywhere yet).