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 8 of 8

Thread: game demo

  1. #1
    Junior Member Regular Contributor
    Join Date
    Nov 2000
    Location
    los angeles
    Posts
    100

    game demo

    Hello. I'm still trying to get my game working under Mac OS. I'd appreciate it if people could lemme know if it runs or not, as I don't have a lot of experience programming macs. It's compiled under Mac OS 9.0.4 using CodeWarrior and runs fine here. It requires SDL and openGL to run.

    Thanks!

    http://home.earthlink.net/~mvignol/downloads.html


  2. #2
    Intern Newbie
    Join Date
    Sep 2001
    Location
    Pacifica, California, USA
    Posts
    30

    Re: game demo

    Cool. Works well on my G4 cube running OS 9.1. Can't seem to enable full screen mode, though.

  3. #3
    Junior Member Regular Contributor
    Join Date
    Nov 2000
    Location
    los angeles
    Posts
    100

    Re: game demo

    yeah, fullscreen seems to be a little funny. I'm not sure if it's me or SDL. It'll work if your fullscreen resolution is the same as your display res.

    I think I need to optimize things a bit. On my PC it's much faster (GeForce 3 vs ATI Rage Pro(?))... what FPS did you get?

  4. #4
    Junior Member Newbie
    Join Date
    Jun 2001
    Location
    North America, .
    Posts
    26

    Re: game demo

    ^^^
    I'm not sure, I guess it is 15-20 on my imac.
    Did you know that trekbbs use the same bbs engine???

  5. #5
    Intern Newbie
    Join Date
    Sep 2001
    Location
    Pacifica, California, USA
    Posts
    30

    Re: game demo

    Originally posted by mv:
    yeah, fullscreen seems to be a little funny. I'm not sure if it's me or SDL. It'll work if your fullscreen resolution is the same as your display res.

    I think I need to optimize things a bit. On my PC it's much faster (GeForce 3 vs ATI Rage Pro(?))... what FPS did you get?
    I tried matching the screen and game res, but full screen mode still has the menu bar visible. I get between 30 and 75 FPS on my ATI RagePro 128 (640x480x32). My computer has a 450 MHz G4. When the action gets heavy the frame rate drops as low as 16 FPS.

    Memory alignment is a big deal on PowerPC machines. If you're looking for easy optimizations, make sure you have PowerPC structure alignment enabled in the CodeWarrior settings.

  6. #6
    Junior Member Regular Contributor
    Join Date
    Nov 2000
    Location
    los angeles
    Posts
    100

    Re: game demo

    Hmmm... okay, I'll make sure I've got that enabled. Does the ATI RagePro have hardware T&L? I'm surprised to find that the level of detail in the terrain makes a large difference in the drawing speed on the Mac but not so much so on my PC (with GeForce 2MX or GeForce 3).

  7. #7
    Intern Newbie
    Join Date
    Sep 2001
    Location
    Pacifica, California, USA
    Posts
    30

    Re: game demo

    Originally posted by mv:
    Does the ATI RagePro have hardware T&L? I'm surprised to find that the level of detail in the terrain makes a large difference in the drawing speed on the Mac but not so much so on my PC (with GeForce 2MX or GeForce 3).
    I'm not yet an OpenGL expert, but according to http://www.ati.com/na/pages/technolo...age128pro.html :

    "...features such as vertex buffers, direct walk of vertex lists, AGP 4X texturing, texture compression, multi-texturing, texture lighting, shadows, bump mapping, alpha blending, fog (vertex, range & table-based), 32-bit Z-buffering and stencil planes."

    So, yes, it seems this card does a reasonable amount of acceleration. Oni plays quite nicely on it, for example.

    To find your performance bottlenecks, use CodeWarrior's profiler. Enable profiling in the compiler settings, add the profiler library and put this in your code:

    #include <profiler.h>

    main () {
    ProfilerInit (collectDetailed, bestTimeBase, 2000, 100);
    ...

    ProfilerDump ("\pBarrel Performance");
    ProfilerTerm ();
    }


    [This message has been edited by Damon (edited 09-10-2001).]

  8. #8
    Junior Member Regular Contributor
    Join Date
    Nov 2000
    Location
    los angeles
    Posts
    100

    Re: game demo

    oh! great! thanks for the suggestion. I'm actually developing on windows and then recompiling for Mac on my girlfriend's machine, so I'm not really too familiar with some of the Mac intricacies... I'll see what I get.

Posting Permissions

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