PDA

View Full Version : OpenGL MAME support



FerrariManF355
08-21-2000, 05:13 AM
Hi all, I'm doing a little experiment with making OpenGL support a requirment for MacMAME. I have the MAME source and OpenGL SDK, if anyone can tell me what to do, please e-mail me at FerrariManF355@aol.com, and if you need to know, I know someone who is writing a Hard Drivin' emu, and he said that it's very unplayable, so I was left thinking if OpenGL can help it at all.

FerrariManF355
08-21-2000, 10:07 AM
Please, I need the info!

Morgan
08-22-2000, 05:23 PM
What info do you need? Have you looked at how the emulator renders its graphics? That should give you some hints as to where to start.

Morgan

FerrariManF355
08-22-2000, 05:34 PM
I know how the graphics work, MacMAME uses plug-ins, so I think that writing an OpenGL plug-in should do the trick. Download it and see for yourself.

Nobody
08-26-2000, 02:28 PM
Your question is too generic.

If you want to do this as a plug-in then do you know how to right a MacMAME plug-in? or is that your question?

Then after that, do you know how to code in OpenGL? or is that your question?

Then, after you userstand OpenGL in it's generic form, do you know how to get it to work on the Mac using the Mac OS API calls, ie sans the GLUT library? or is THAT your question?

But basically, to generically answer your question as generically as you asked it, this is what you need to do:
A) Learn OpenGL.
B) Learn how to Optimize OpenGL calls (or else it will be slow)
C) Learn how to do this using the AGL lib instead of the GLUT lib.
D) Learn how to write a MacMAME plug-in.
E) And this is the hard part, and is really up to you since this is the meat of your project. Deaply learn how MacMAME does it graphics at all levels of the graphics generation.
F) Figure out the best place to intercept the graphic commands and succesfully intercept them with your plug-in.
G) Figure out how totraslate those commands into OpenGL commands.