Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 5 of 5

Thread: OpenGL MAME support

  1. #1
    Junior Member Newbie
    Join Date
    Jul 2000
    Posts
    9

    OpenGL MAME support

    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.
    "The very first boy I
    kissed fell into a coma
    for 3 weeks!"
    -Rouge, from the X-Men
    mo

  2. #2
    Junior Member Newbie
    Join Date
    Jul 2000
    Posts
    9

    Re: OpenGL MAME support

    Please, I need the info!
    "The very first boy I
    kissed fell into a coma
    for 3 weeks!"
    -Rouge, from the X-Men
    mo

  3. #3
    Intern Contributor
    Join Date
    Jun 2000
    Location
    Vermont
    Posts
    51

    Re: OpenGL MAME support

    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
    A

  4. #4
    Junior Member Newbie
    Join Date
    Jul 2000
    Posts
    9

    Re: OpenGL MAME support

    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.
    "The very first boy I
    kissed fell into a coma
    for 3 weeks!"
    -Rouge, from the X-Men
    mo

  5. #5
    Junior Member Newbie
    Join Date
    Jan 2002
    Location
    High Desert of California
    Posts
    27

    Re: OpenGL MAME support

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •