OpenGL and the end user

Discussion in 'Game Development (Technical)' started by unreason, Oct 8, 2004.

  1. unreason

    Original Member

    Joined:
    Jul 31, 2004
    Messages:
    30
    Likes Received:
    0
    I'd like to use OpenGL to make my next game, which will probably be 2D, but with alpha blending, partial transparency, and other effects that aren't really available in unaccelerated libraries like SDL. The problem is, I read an earlier thread on these boards that said that some cards acctually don't have preinstalled OpenGL drivers, meaning that the OpenGL would default to software based rendering. How should I get around this? Is there some kind of link I should post about where they could download a driver? What kind of approach would be best to make sure the user has opengl acceleration, but is the least amount of work for the user? Failing that, is it practical to think I might be able to optimize enough to not need hardware acceleration?
     
  2. Jack Norton

    Indie Author

    Joined:
    Jul 28, 2004
    Messages:
    5,130
    Likes Received:
    0
  3. DragonsIOA

    Indie Author

    Joined:
    Aug 21, 2004
    Messages:
    33
    Likes Received:
    0
    If you're targeting Windows, you won't be able to get your code optimized enough to use the MS software renderer most likely. That thing is incredibly slow.
     
  4. tolik

    Original Member

    Joined:
    Sep 20, 2004
    Messages:
    1,407
    Likes Received:
    0
    You know, I still can't install OpenGL on my home computer (P3-800/256) where I've recently upgraded GF2GTS to low-end GF5 (works like 3 times faster, checked NFS:U). I have no idea what to do and I don't see any instructions anywhere - this hasn't happened to me for years and I haven't thought about OpenGL problems!
    That's why I would not personally touch OpenGL myself - knowing how a casual gamer could encounter a similar problem.

    However Toshiba Portege P3-800/256 with some weird Trident CyberAlladin videocard does (almost) nicely run Dino & Aliens...
     
  5. RedKnight

    Original Member

    Joined:
    Sep 23, 2004
    Messages:
    148
    Likes Received:
    0
    Remember that Some cheap cards don't support Opengl, like Sis cards
    DragonsIOA I think you have to upgrade your opengl drivers to something like
    1.4 or somethink :mrgreen: , you can find the drivers at your Gfx card cd/site

    I also read somewhere, Microsoft is going to support opengl in xp. :)
     
  6. Valen

    Indie Author

    Joined:
    Jul 27, 2004
    Messages:
    133
    Likes Received:
    0
    For the record, SDL does provide alpha blending support. It's not hardware accelerated, but if used judiciously it won't kill performance. You can check out my game for an example -- I use alpha blending for things like particle effects. SDL can do both per-pixel and per-surface alpha blending, although you can't combine the two which kind of sucks. SDL can also do rotation and scaling using the SDL_gfx library. Unless your game is a fast paced action shooter like Bugatron, I would advise to stay away from OpenGL OR Direct3D. If you really have to use 3D acceleration it's better to have D3D support than GL, and that means DirectX 6 or 7 at most if you want best support.

    emuLynx: I just noticed you live in Riga, that's where I was born! :) I never thought I'd see someone from Latvia on this message board. I lived in Zolitude before moving to the US.
     
    #6 Valen, Oct 9, 2004
    Last edited: Oct 9, 2004
  7. DragonsIOA

    Indie Author

    Joined:
    Aug 21, 2004
    Messages:
    33
    Likes Received:
    0
    My first game used OpenGL. Without OpenGL drivers made for the chipset (or Mesa), you're measuring seconds per frame, not frames per seconds :p This is made worse when you consider that the drivers that come with Windows XP don't include OpenGL.
     
  8. keethrus

    Original Member

    Joined:
    Sep 23, 2004
    Messages:
    61
    Likes Received:
    0
    Anybody release a game that used OpenGL and has positive things to say about the process? Was it easy to get your customers install OpenGL drivers if they didn't have them? Did many customers need to install them? Did you get complaints from customers that were not able to play your game? etc?

    - Jeremiah
     
  9. FlySim

    Indie Author

    Joined:
    Jul 30, 2004
    Messages:
    352
    Likes Received:
    0
    We use OpenGl for FlySim. A few customers have had driver problems, but it mostly works. Updating the driver usually fixes most problems. We use a limited set of OpenGL functionality (my old P450 Voodoo 2 doenst even handle texture matrix ops). I went with OpenGL out of laziness ( used it for years starting with SGIs). One scary thing was a customer who installed SP2 and our game stopped working. He updated his NVidia drivers and it started working again - I hope this is not a trend...

    -J.R.
    www.flysim.com
     
  10. EpicBoy

    Original Member

    Joined:
    Jul 27, 2004
    Messages:
    624
    Likes Received:
    0
    I hear id Software has had reasonable success with it. :p
     
  11. princec

    Indie Author

    Joined:
    Jul 27, 2004
    Messages:
    4,873
    Likes Received:
    0
    I use OpenGL. I've had a 60-70% success rate of installs (99% on Mac balanced with 65% on Windows and 50% on Linux). I get a lot of questions like this:
    and I always help them out but not once has it ever led to a sale.

    Cas :)
     
  12. RedKnight

    Original Member

    Joined:
    Sep 23, 2004
    Messages:
    148
    Likes Received:
    0
    uhm.. Doom 3. ....guhm
     
  13. DragonsIOA

    Indie Author

    Joined:
    Aug 21, 2004
    Messages:
    33
    Likes Received:
    0
    I don't get too many initial requests for help regarding OpenGL. Most of the time it seems to be people who have managed to trash thier drivers after playing the game for awhile.
     
  14. oNyx

    Original Member

    Joined:
    Jul 26, 2004
    Messages:
    1,212
    Likes Received:
    0
    Installing "opengl drivers" just means installing proper graphic drivers. They aren't a seperate download or anything like that. Fortunately it's very easy nowadays... one driver per vendor. There is one from ATI (catalyst) and one from Nvidia (forceware aka detonator). Download, doubleclick ok ok ok, reboot... done.

    Oh and MS is going to include opengl capable default drivers with their next OS.
     

Share This Page

  • About Indie Gamer

    When the original Dexterity Forums closed in 2004, Indie Gamer was born and a diverse community has grown out of a passion for creating great games. Here you will find over 10 years of in-depth discussion on game design, the business of game development, and marketing/sales. Indie Gamer also provides a friendly place to meet up with other Developers, Artists, Composers and Writers.
  • Buy us a beer!

    Indie Gamer is delicately held together by a single poor bastard who thankfully gets help from various community volunteers. If you frequent this site or have found value in something you've learned here, help keep the site running by donating a few dollars (for beer of course)!

    Sure, I'll Buy You a Beer