Slashdot Mirror


OpenGL 2.0 Released

berny@work writes "OpenGL has finally released version 2.0. The benefits include Programable Shaders, in particular: Shader Objects, Shader Programs, OpenGL Shading Language and changes to the Shader API. If you are interested take a look at the tutorials and the case studies that are linked to from the OpenGL site."

69 of 353 comments (clear)

  1. Weird. by endx7 · · Score: 3, Interesting

    Weird. I've been seeing cards claiming to be OpenGL 2.0 compatible for a while now.

    1. Re:Weird. by chrismcdirty · · Score: 4, Informative

      There were DX9 compatible cards about 6 months before the release of DX9. They set the standards ahead of time, and the card makers comply with those standards when they design the architecture. They can't really predict when Microsoft (or OpenGL's coders) will actually finish the product.

      --
      It's like sex, except I'm having it!
  2. Re:Versus DX successor by chrismcdirty · · Score: 4, Informative

    Isn't it used for the Unreal Engine games and a lot of the Q3 engine games? There's a lot of games based on each of those engines.

    --
    It's like sex, except I'm having it!
  3. Direct 3D by iMaple · · Score: 4, Insightful

    Lets hope that this will encourage more developers to switch to OpenGL. Yeah, I know the argument abt Direct3D being better (and I agree with it) but the new ver of OpenGL might just be good enough and arent the game developers always on the lookout for ways to get the massive linux gamers market

  4. Re:Versus DX successor by kusanagi374 · · Score: 5, Insightful

    Can OpenGL ever match DX in popularity among developers?

    One word: portability

  5. Re:Versus DX successor by SoTuA · · Score: 2, Informative
    That's John Carmack's chore :)

    Seriously, that guy almost has kept OpenGL relevant in the gaming industry almost single-handedly.

  6. Re:only through extensions... by Cutting_Crew · · Score: 3, Interesting

    those cards have been able to do fragment and pixel shaders etc through openGL extensions, hence the xxx_ARB_EXT calls. this i assume is the release of all those extensions into the core of the OPENGL pipeline and thus will eventually be without the ARB into the call..

  7. Thank tha lor' !!! by quantax · · Score: 3, Insightful

    All I know is that this has been a long time in the coming and is great news, especially as MS has just announced the discontinuement of DX past the current version. Finally some competition to DX in modern games, however I really hope this will help people such as myself who do 3D work in Maya and such. Maya has just included a new feature that lets the viewports do a realtime high-quality openGL render as you work on your model/scene, so this can only make that faster and better (though as of right now, realistically speaking it isnt usable nor stable for actual work). Now for ATI to include serious openGL support for its cards & drivers...

    --
    "What can a thoughtful man hope for mankind on Earth, given the experience of the past million years? Nothing." -Bokonon
    1. Re:Thank tha lor' !!! by rd_syringe · · Score: 2, Insightful

      Microsoft never announced the "discontinuement of DX past the current version." DirectNext, as it is being called, is merged with the Avalon display technologies that will be the foundation for Longhorn (and an add-on package for Windows XP). The DirectX technologies are just existing in a different name and integrated more into the desktop.

  8. tutorials? by FuzzieNorn · · Score: 2, Insightful

    None of the tutorials seem to have anything specific to OpenGL 2.0; they seem to just be 'teaching' basic OpenGL stuff from previous standards.

  9. Re:Versus DX successor by Nos. · · Score: 5, Informative

    Its used for a lot of popular games including Doom 3, Return to Castel Wolfenstein, Quake series, etc. See http://www.opengl.org/applications/windows/games/ for a list of the windows games using OpenGL

  10. Re:Does this work with older cards? by Dreadlord · · Score: 5, Informative

    The new functionalities were in the previous versions as extensions AFAIK, OpenGL 2.0 adds them to the standard.

    So (unless I missed something that wasn't previously an extension), you just need a new driver for your card and you'll be set.

    --
    The IT section color scheme sucks.
  11. Why no comparison with D3D? by Anonymous Coward · · Score: 2, Funny

    Jeez...

    - OpenGL
    - Direct3D

    I personally think Direct3D is a bit better, since it can apparently handle more than one separate object at a time.

    Back to the drawing board, OpenGL dudes!

    Learn from Microsoft next time.

    1. Re:Why no comparison with D3D? by Performer+Guy · · Score: 5, Informative

      You really have no idea what you're talking about do you. OpenGL vs D3D flamewars have been raging for years, FYI D3D started out well behind OpenGL feature for feature and gradually added OpenGL features, each generation of D3D we had to listen to Microsoft claim that all the interesting features of OpenGL were already in D3D and OpenGL had no advantage, only for them to add more in the next release.

      D3D is a proprietary windows programming API owned by Microsoft and designed for games with some incredibly ugly and arduous API semantics, OpenGL is an open, extensible cross platform industry standard controlled by a board of interested industry specialists that anyone may join. The rendering and dispatch API semqantics have been optimized by the vendors in a standard way. If there was a need for any particular feature the vendors would add it as an extension either individually (something they can do and have done on their own) or they could collaborate on shared extensiosn for a common API. Red herring features that do not make any sense or map to real hardware have no place in a programming interface explicitly designed to sit close to the metal like OpenGL.

    2. Re:Why no comparison with D3D? by FullMetalAlchemist · · Score: 3, Insightful

      Still, as a former OpenGL developer I must say that while OpenGL is nice it is far from perfect.
      The API is very C-centered, which is nice, if you develop in C; we however developed in other languages, which more suitable for enterprise apps where stability and floatingpoint correctes is AO.

      I'm not fond of OOP, but it sure makes sense when you deal with visual objects, and OpenGL doesn't really feel OO. Dealing with OpenGL for Lisp or Python is easy, but sure as hell ain't pretty.

    3. Re:Why no comparison with D3D? by Performer+Guy · · Score: 4, Insightful

      Hardware tends not to be very object oriented and C++ can quite happily call C.

      While I agree OO has advantages in some situations with a low level graphics API I don't think that's the case the only real omission in OpenGL caused by the C interface is function overloading for the various argument types to a few functions. That would clean up a few things.

      In 3D graphics OO really kicks into it's own when it comes to higher level APIs like scene graphs and there are numerous examples. These can and do benefit greatly from OO design but nobody has come up with a compelling low level hardware interface that justified OO. Sure you could wrap a few things in a class or two but there's no compelling architectural justification and attepmts to wrap OpenGL in a trivial namespace class and call it OO are horribly naive and misguided.

    4. Re:Why no comparison with D3D? by SilentChris · · Score: 2, Insightful

      "D3D is a proprietary windows programming API owned by Microsoft and designed for games with some incredibly ugly and arduous API semantics"

      Programming anything graphic-related on the PS2 is equally as arduous, but the system is the most successful in the world. Programming simplicity does not a success make (look at Java). I think you're letting your love for Open standards blind you from the fact that D3D is flat-out the winner, technology-wise.

    5. Re:Why no comparison with D3D? by rd_syringe · · Score: 2, Insightful

      Are you aware that Carmack was so frustrated with the interfaces of some OpenGL extensions that he almost switched over to Direct3D?

      I think the reason many people here are so fond of OpenGL is strictly because it's non-Microsoft and nothing more.

    6. Re:Why no comparison with D3D? by gfxguy · · Score: 2, Insightful

      I disagree... OpenGL is not supposed to be a high level API, there are other scene libraries that can do all that stuff for you.

      OpenInventor, for example, was great, and it included things to easily open a window and get to work right away. In other words, it's a lot like Unix - it might seem more difficult because it's more flexible, and if you've written your own scene graph library, upgrading to the next OpenGL won't break it, unlike a lot of previous DX upgrades.

      --
      Stupid sexy Flanders.
    7. Re:Why no comparison with D3D? by be-fan · · Score: 2, Informative

      OpenGL isn't OOP because it's a procedural API, low-level API. DirectX isn't really OO either --- it just happens to use objects. If you want an OO interface to OpenGL, you should use a proper scene graph library.

      --
      A deep unwavering belief is a sure sign you're missing something...
    8. Re:Why no comparison with D3D? by Performer+Guy · · Score: 5, Insightful

      Heh, spoken like someone who has never written a line of graphics code in their life. If you read Carmack's original OpenGL .plan you'll see that he was talking about how much cleaner OpenGL was to call.

      You don't cite a reference w.r.t OpenGL & Carmack, it is clearly FUD. The only dissatisfaction I've seen from Carmack was in the Cg vs glslang hardware abstraction, I won't explain it, it's too technical for you but basically Carmack was advocating the futureproof open aproach and in some respects he got his way, however Doom3 calls ARBfp and ARBvp shaders anyway.

      Carmack has never waivered from his OpenGL support and the only issue he's taken a public stand on in the API was as I said, shaders where he expressed a dislike for Cg and Cg is very similar to HLSL in D3D so Carmack was taking a stand against a shader approach that is used in D3D.

      OpenGL has been around longer than D3D, is a lot cleaner in design, it has a clear unambiguius specification and has conformance tests to ensure quality of implementation. OpenGL is also portable to non-Windows platforms. All of these are excellent reasons to use OpenGl that have nothing to do with being non-Microsoft.

    9. Re:Why no comparison with D3D? by spitzak · · Score: 2, Informative

      If OpenGL v3 added a higher level API

      That would be something like Open Inventor.

    10. Re:Why no comparison with D3D? by FullMetalAlchemist · · Score: 2, Interesting

      I agree, but my point is that it should be part of the specification.
      Open Inventor support many of the thoings I want, but still, it's not part of the specification. That means that on the enterprise customers machines that run FreeBSD, Solaris and Windows there is no truly portable way to run things.

      Windows doesn't do OpenGL the way it should, i.e. up to date, but that is no excuse for things not beeing in a OpenGL standard specification.
      If it was in the spec, more people would use OpenGL. Which is what we all want, right?

      I have not done much work in D3D; I don't like many things in its design; but that doesn't matter as I talk about OpenGL on its own merits, not in relation to D3D. Which should put things in perspective.

    11. Re:Why no comparison with D3D? by Performer+Guy · · Score: 3, Informative

      You seem to be very confused. XBOX is basically a GeForce3 system with some extra vertex processors, yes it supports D3D but your assumptions about APIs are wrong. NVIDIA actually extended D3D on the XBOX with a few OpenGL like features that don't even exist today on Windows versions of D3D. So rather than D3D giving hardware the advantage it holds developers back, in a situation where hardware developers are free to extend (as they can with OpenGL) they do and bring innovative hardware features to developers early. In the unique case of the XBOX NVIDIA actually threw in a few extra functions they'd always wanted to expose on Windows D3D but couldn't because D3D didn't let them. With the shackles off on XBOX they did.

      The only reason D3D is the API on XBOX is a Microsoft business decision, technical merits have nothing to do with it.

      Learn DX or D3D? You do know that D3D is discontinued and Avalon is the replacement so what will it look like? I personally suspect they'll clean up D3D and it may wind up looking a lot different. The graphics scheduling, and resource/context management will obviously be a major issue/headache.

      As for OpenGL, OpenGL|ES will have way more volume than longhorn units shipped, it will be on every mobile device. So I could justifiably claim that if you don't learn OpenGL|ES now you will be left behind, but I'd never say anything so silly.

      Cross platform compatability is often a major goal but it depends on your project and what you're developing. Let's be clear, the hardware details and graphics programming requirements tend not to change from platform to platform, so OpenGL suitability is not compromised by it's cross platform support, it just happens to be supported on many platforms. Hardware acceleration and consistent implementation are the primary design goals of OpenGL and it succeeds spectacularly well. Implying that because it is cross platform it is somehow compromised ignores the fact that the only reason D3D is single platform (or even exists for that matter) is Microsoft's proprietary control of the market.

    12. Re:Why no comparison with D3D? by be-fan · · Score: 2, Insightful

      Uber-buffers hasn't been thought-through all the way yet. They're trying to make sure that they can design something that lasts, and something that fits the new 3D-accelerated paradigm that seems imminent. I think the point is that they'd rather do it right by implementing uber-buffers properly, than just put render-to-texture in there for the sake of keeping up. This is especially true considering that you can already to render-to-texture using WGL_ARB_pbuffer and GL_SGIX_pbuffer, which are pretty well-supported.

      --
      A deep unwavering belief is a sure sign you're missing something...
  12. Re:Versus DX successor by endx7 · · Score: 4, Informative

    Can OpenGL ever match DX in popularity among developers?

    Yes. id (quake, doom, etc) and I believe unreal both use it. Both are competitors, and as small of importance as portability to other operating systems such as Linux may seem to be, it is still somewhat important to them (although, I -still- haven't heard anything new about doom3 on linux)

    Interest into porting to Linux is slowly becoming more popular between game makers, mostly because if you do it right for the windows port in the first place, it isn't as difficult as it might seem to port to Linux, and it helps open up a small new (starved?) market.

  13. Re:Versus DX successor by FuzzieNorn · · Score: 5, Insightful

    Game developers? Probably not any time soon. Developers of visualisation applications and the such? No-one seriously uses Direct3D for that.

    Obviously DirectX has such things as DirectSound which don't really have alternatives under Windows, though.

  14. Re:Does this work with older cards? by grasshoppa · · Score: 2, Funny

    I've got karma to burn.

    Shizzle is not a word. It's a flag. To the rest of the world that the speaker of said word is a fucking dumbass.

    It ranks right up there with "bling-bling".

    Seeing how you actually tried to use it in a serious sentence, I figured someone should tell you.

    --
    Mod me down with all of your hatred and your journey towards the dark side will be complete!
  15. Awesome! by stratjakt · · Score: 3, Funny

    I can't wait to try out some of these features, in 20 years when ATi implements them properly into their drivers, that is.

    --
    I don't need no instructions to know how to rock!!!!
  16. Re:Versus DX successor by DrXym · · Score: 2, Insightful
    OpenGL is just a 3D (and 2D) programming API. DirectX is 3D & 2D, screen management, sound, controllers, music, networking - the lot.


    The only way that it will match the popularity of DirectX is if someone produces an SDL on steroids. Something that matches DirectX feature for feature but in an open source and cross-platform manner.


    Furthermore, I don't believe that Linux should not be the primary focus for this SDL on steroids - Win32, the XBox & PS2 should be. Why? Because obviously they're the platforms that games come out first. Get the games companies to program to this portable layer and it increases the chances that the port to Linux will appear some time after.

  17. Neverwinter Nights 2 by mahdi13 · · Score: 4, Interesting

    Maybe now that it is 'officially' out Bioware will take that into consideration and green light the Linux/OSX port for Neverwinter Nights 2.
    The game is still early enough in development that they could still switch from DX and not have much impact in the release date

    --
    "Some things have to be believed to be seen." - Ralph Hodgson
    1. Re:Neverwinter Nights 2 by H3g3m0n · · Score: 2, Interesting

      I don't think bioware are the ones making nwn2,its Obsidian from memory. Bioware are currently doing Dragon Age probally due to the heavy restrictions from using AD&D ip. Bioware arn't even allowed to enable player/creature stats to be changed via scripting commands, it must be done manually with the dm client or through external programs.

      --
      cat /dev/urandom > .sig
    2. Re:Neverwinter Nights 2 by jwbozzy · · Score: 2, Informative

      <BioWare> Yeah, that's a great idea. Let's re-do a whole bunch of work, lengthen our dev cycle, have to re-do our schedule just so we can pander to 1.5% of the market.

      Not to mention, the release of 2.0 is just formalizing support for these features. They all existed previously as extensions. Bioware could have developed using them a year or two ago if they wanted. I suspect they chose Direct3D because it is more convenient to develop with, has more driver support, and works excellently on their target platform.

      --
      perl -e 'printf("mmm %x\n", 3735928559)'
  18. Go, OpenGL ARB! by Anonymous Coward · · Score: 4, Interesting

    Only two years behind the times!

    Just different enough from existing GPU programming languages to be annoying, without any added functionality or ease of use!

    No standard intermediate representation, requiring OpenGL drivers to contain full-blown compilers! Hello, latency!

    OpenGL -- the best API and shading language a politics-laden commitee could design!

    Seriously, if it weren't for Mr. Carmack, the dinosaur that is OpenGL would be deader than the dodo bird. Sad, as I spend half my day developing OpenGL apps, but true.

    1. Re:Go, OpenGL ARB! by be-fan · · Score: 5, Insightful

      That's not even close to being a good comparison. Cg is a vendor-proprietory language not a cross-vendor language. You don't see Cg for ATI cards, no do you? DirectX is a platform-specific API, not a cross-platform API. On top of that, it's optimized for gaming, not professional applications. In any case, GLSL came out last year, so at worst, you can say that OpenGL was a year behind Direct3D in getting a high-level shading language.

      Personally, I've used both D3D and OpenGL, and find D3D to be a horribly designed API, with massive changes in each revision. I'd much rather get OpenGL a year later, but designed right, than the D3D hack of the day.

      --
      A deep unwavering belief is a sure sign you're missing something...
    2. Re:Go, OpenGL ARB! by t35t0r · · Score: 5, Informative

      Deader than a dodo bird? That's quite a statement to make especially when you have: http://www.opengl.org/applications/windows/scienti fic/ http://www.opengl.org/applications/windows/modelin g/ http://www.opengl.org/applications/windows/cad/ http://www.opengl.org/applications/windows/simulat ion/ http://www.opengl.org/applications/windows/vrml_we b3d/ http://www.opengl.org/applications/windows/games/ not to mention that some of the most immersive 3d environments are created by SGI hardware all based around the OpenGL API. Now if you want to simply talk about games, sure there are more DirectX games since MS monopolized the desktop market. Anyways I think serious gamers should do something productive. I only play ut2k4 to blow off some steam.

    3. Re:Go, OpenGL ARB! by uchian · · Score: 2, Informative

      Cg is identical to HLSL, the shader language in DirectX9.

      While I agree with you about DirectX in general, I find HLSL/Cg to be an absolute joy to program for, so credit where credit's due - I don't see why we need a seperate, different and incompatable shader language when the one we already have been kicking around for the past couple of years is so well thought out.

    4. Re:Go, OpenGL ARB! by Anonymous Coward · · Score: 2, Informative

      Cg works fine on ATI hardware, and any other hardware that supports D3D or arbvp/arbfp assembly.

      Have you used D3D recently? It's generally perceived as being vastly improved over earlier incarnations (just like most of MS' products), and perfectly useable these days.

      But you are right on one point -- linux, like Mr. Carmack, is indeed a factor contributing to OpenGL's lack of demise.

      OpenGL, by the ARB's very nature, will always be playing catchup, and perhaps that's fine. Unfortunately, the ARB is increasingly driven by political, rather than technical considerations, giving MS further opportunity to extend D3D's lead.

  19. OGL 2 Compliant cards by Anonymous Coward · · Score: 2, Insightful

    Nvidia and ATi will just 'upgrade' the driver support to GL 2.0 like theyve been doing incrementally. My GF3/GF FX 5200 supports GL 1.5 in the drivers now. It didn't on launch. Same applies to my Radeons.

  20. Re:Versus DX successor by grunt107 · · Score: 2, Funny

    One word: portability That's why I only create Java-games (rlse date: simultaneous w/Phantom console rlse).

  21. Re:that's great but... by tomee · · Score: 5, Informative

    Supporting OpenGL 2.0 is the job of the drivers, which didn't support it so far simply because the specification didn't exist. The cards have all the capabilities necessary to support OpenGL 2.0, which makes sense if you understand the development process of OpenGL: The card makers come up with some new feature, and they can immediately implement it in the form of an extension and release it with their driver. After some time, the new features become generally supported, so the ARB looks over the extensions and makes an ARB extension out of it that the card makers have to implement again. This means that the new features of OpenGL 2.0 are actually just the features that the cards already have put together into one API.

  22. Re:Versus DX successor by spectral · · Score: 3, Insightful

    While I love OpenGL far more than DX, your argument would be better served by not listing games that are all from the same company. (or at least, using engines from the same company)

  23. Re:Um, is this news item accurate? by be-fan · · Score: 4, Informative

    Um, what do you think OpenGL 2.0 is? It's a specification.

    --
    A deep unwavering belief is a sure sign you're missing something...
  24. Re:Point Sprites? by stratjakt · · Score: 3, Informative

    You used to be able to draw "dots" on the resulting screen, used for whats called "particle effects", like mud spraying out of the back wheel of an offroad racer, for instance. Very simply (quicky) drawn because you're just handing out x,y coordinates for htem.

    Now, rather than just colored dots, you can use textures or sprites (little pictures). So instead of a cloud of brown dots coming from a dirt bikes rear tire, you could have little chunks of rocks and grass. Or rather than a cloud of red dots coming out of a guys head when you shoot it, you could have little chunks of brain and skull.

    --
    I don't need no instructions to know how to rock!!!!
  25. more tutorials? by boolean0 · · Score: 2, Interesting

    any other resources for someone interested in starting to tinker with opengl programming?

    1. Re:more tutorials? by The+Real+Nem · · Score: 2, Insightful

      NeHe is one of the best for tutorials. GameDev and FlipCode are also good general sites.

  26. Re:Versus DX successor by thatguywhoiam · · Score: 2, Funny
    Its used for a lot of popular games including Doom 3

    From the makers of Return to Castle Wolfenstein!

    ...Return to Castle Wolfenstein

    From the makers of Quake!

    ...Quake series, etc.

    I sense a pattern...

    --
    If Jesus wants me it knows where to find me.
  27. Re:Versus DX successor by LearnToSpell · · Score: 2, Insightful

    I'd generally agree with
    your argument would be better served by not listing games that are all from the same company

    but not so much with
    (or at least, using engines from the same company). There's a ton of games using those engines.

  28. Re:Does this work with older cards? by ConceptJunkie · · Score: 2, Funny

    You're more likely to be considered a dumbass for pointing that out.

    I would, but not as much as the folks who modded that flamebait as "Insightful"!

    Now, please excuse me, I have to take a shizzle and get back to earning my bling-bling.

    --
    You are in a maze of twisty little passages, all alike.
  29. Yeah but by CGP314 · · Score: 5, Funny

    The benefits include Programable Shaders, in particular: Shader Objects, Shader Programs, OpenGL Shading Language and changes to the Shader API.

    Look, all I want to know is if I can shade something.

  30. Don't you mean nvidia opengl? :) by Ndr_Amigo · · Score: 2, Informative

    Apart from having no relevance to OpenGL, most of the lighting examples etc on the page rely heavily on either NVs registry combiner extension or NVs 'CG' shader asm. Both of which are non-standard methods that have been depreciated for ARB standards for a while now.

  31. Massive linux gamers market? by alexborges · · Score: 5, Insightful

    Are you kidding?

    Come on, thats no argument. There is NO linux gamers market worth mentioning, and there is NO massive linux market in the first place.

    A better argument:

    OpenGL is a long standing industry standard which give developers more control over the way stuff gets rendered. Its simple, straightforward and does not depend on a large, antropophagic competitor, platform owner like Microsoft.

    And THATS why ID uses it. So the MS wont choke them by controlling that critical part of the API.

    Not many developers have the muscle ID has to invest in remaking a lot of stuff DX already provides, but for some sizes, its worth it.

    --
    NO SIG
  32. Re:Does this work with older cards? by period · · Score: 2, Funny

    Fascinating. Point, but periods aren't. Just points. They're flags. To the rest of the world that the writer understands. Elementary grammar. And syntax. I just figured someone should tell you. :-)

  33. Re:Who the fuck cares by tr33limbz · · Score: 4, Funny

    Excuse me, sir, but in order for your Troll Post to be compliant with OpenTroll 2.0 Standards, you will need to implement the spelling of "the" with the standard "teh." Thank You Very Much, the Mgmnt

    --
    -end of post.
  34. Too Little, Too Late by mod_parent_down · · Score: 5, Funny

    At this point, DirectX is at least 4.5x better than OpenGL.

  35. More than just id's Engine by MooseByte · · Score: 2, Informative

    "If the only popular games using OpenGL use the same engine, that tends to make me think that people are not fond of programming for OpenGL in general, just one person/company."

    Yes, but as you say they may have just simply created a kick-ass engine, in which case if you wanted to leverage OpenGL (cross-platform titles come to mind) there's less reason for others to create from scratch.

    Combine that with the OpenGL-friendly Torque game engine and you've got a good pair of heavyweight tools.

    From their site: "The Torque Game Engine started life as the technology behind Dynamix/Sierra/Vivendis products Tribes, Starsiege, and Tribes 2, and is an industry proven engine. It is currently being used by thousands of developers around the world with shipping titles such as Marble Blast, Orbz, Think Tanks, Tennis Critters, and the upcoming mecha game, Lore."

  36. YES!!! by eventhorizon5 · · Score: 2, Funny

    Now when can I get the code burned into my laptop's onboard Trident Cyberblade 16mb world's greatest chipset? ;) mmmm... 3d.... lol

    --
    #Secret Windows Source Code, in MS C% - if (uptime >= "24 hours") then bsod() else print "Windows License Violation!"
  37. OpenGL will win at the end. by master_p · · Score: 4, Insightful

    3D graphics is something that no sane developer would ever lock himself to a proprietary API like Direct3D. More and more companies use OpenGL for their games, and now with 2.0 even more will ever use it. Using OpenGL has the additional benefit of porting a game to architectures other than Windows. As for other parts of DirectX, there are various combinations that can do the job: OpenGL + SDL, OpenGL + AllegroGL + Allegro, etc.

    1. Re:OpenGL will win at the end. by TrancePhreak · · Score: 2, Informative

      I you think that's all there to DirectX then you are horribly mistaken. There is also the debugging support, the easy to use tutorials and samples, as well as the integrated help. You mention Allegro, but you probably don't realise that Allegro uses DirectX for some things.

      Also, your statement about more and more companies using OpenGL is false. More and more companies are using DirectX right now, even if you include all the Quake engine games.

      --

      -]Phreak Out[-
  38. Well, kind of released by beaverbrother · · Score: 2, Informative

    It appears that only the specification was released. No platform implementations are availible, so its not currently possible to make and use open gl 2 applications.

  39. Three Short Plays about Boot CDs by Blakey+Rat · · Score: 3, Insightful

    People always post this crap and it's never a good idea.

    Look, here's an example of something you CAN'T do with a boot disk game:

    Bob: "Hey, Joe, let's play some Return to Castle Wolfenstein."
    Joe: "Cool. Wanna do the voicecomm?"
    Bob: "Sure. Let's use Roger Wilco, my IP's 127.0.0.1"
    Joe: "Rock, see you there."

    (Or whatever those wacky kids are using these days for voicecomm in games.)

    Here's another little skit:

    Joe: "I just bought a new ATIVidia SuperCard that has 20 times the performance of older cards!"
    Bob: "Awesome! Boot up 'Super Linux Brothers' and let's see how it runs!"
    Joe inserts Linux CD that boots into game.
    Joe: "Screen's just black."
    Bob: "Shit, must be missing the driver..."
    Joe: "How the hell do you put a driver on a already-burnt CD?!? This game sucks!"

    And here's a third:

    Joe: "Here, try my copy of 'Super Linux Brothers.'"
    Bob: "Ok."
    Bob runs game.
    Bob: "These controls are really awkward."
    Joe: "I know, it took me like three hours to get controls I liked... just use my control set."
    Bob: "Where is it?"
    Joe: "Shit, it's saved on my HD at home! I forgot to bring it! Goddamned."

    I hope I've demonstrated that having a boot disk for a game is a BAD idea, and why nobody will buy a game distributed that way. There's a reason we haven't done that since the 80s, you know.

  40. Re:Great! by The+boojum · · Score: 2, Insightful

    Many of these features where present in some form in previous versions of the standard, albiet as extensions. The main change is that these features have been promoted from extensions to the core.

    There are perhaps some other fairly minor differences as well, but by and large, I'd expect that for those cards that already supported those extensions, it's just a matter of the vendors updating the drivers.

    IIRC, there have also been draft versions of the 2.0 spec for a while, or at least the various major pieces. And seeing as how all of the major hardware vendors have representatives on the ARB, none of the final 2.0 spec should be coming as a suprise to any of them.

  41. Re:Now doom3 will take a bit longer by dcstimm · · Score: 2, Interesting

    we would have to wait for Linux Opengl 2.0 drivers then from companies like Nvidia and ATI, dont hold your breath.

  42. Re:Reading OpenGL tutorials is such a harsh remind by discord5 · · Score: 5, Funny
    To a web/enterprise programmer like myself (who lately has been using Java), reading opengL tutorials kind of reminds me that no matter how good a programmer, learning an API extensively is most of the work.

    APIs are indeed most of the work. Learning a language completely is simple (unless it's perl, and no, that's not a flamebait), but it's the APIs that make you an effective coder. When I first started web-coding, I knew next to nothing. It took me a while to find my way around things in perl (the Camel book helped). I'm pretty sure if tomorrow I need to do a Java Enterprise project, I'll be messing about for a couple of weeks in finding my way. Unfortunatly this is a fact that many managers seem to forget.

    Fuck I'm just totally lost staring at openGL code :)
    Anyone else feel inadquate ? :)

    When I first read the openGL API I wanted to run to the bookstore and get lots of books on the subject.
    When I thought about it for a while, I wanted to run to the bookstore and get lots of math books teaching me the skills I need to do things.
    When I got a girlfriend, I gave up on the "running to the bookstore for knowledge" and started thinking about other things.
    When said girlfriend and I broke up, I was preparing for endterms.
    When I got a job, I thought "I'll have time in the evenings to learn new stuff".
    When I was working for 3 months I discovered that I really didn't want to code at home anymore.
    When they fired me (yesterday) I thought "I wish I'd spent some time learning openGL."

  43. Re:Reading OpenGL tutorials is such a harsh remind by VistaBoy · · Score: 2, Interesting

    Yeah, I used to feel the same way about OpenGL, but I discovered that using SDL as a wrapper for OpenGL makes it a little more tolerable for those used to using standard C++. You know, like the kind that uses int main() and not int WinMain().

    Also, a real good place to learn OpenGL is http://nehe.gamedev.net/. It has tutorials that cover everything from drawing your first polygon to using pixel shaders. Also, most of their examples are available in a wide variety of programming languages and platform-specific code.

  44. Re:Versus DX successor by marm · · Score: 2, Informative

    Some of the graphic effects (heat ripples etc.) require a DX9 video card so this is unlikely to work at all under Linux.

    What are you talking about? The NVIDIA Linux drivers support the same OpenGL extensions as the Windows drivers, and they support the same set of GPUs - right up to the GeForce 6800. Why would an OpenGL-based game look any different between the two?

  45. Re:Reading OpenGL tutorials is such a harsh remind by Mithrandir · · Score: 3, Informative

    So the simple way to understand OpenGL code is to think of a really big state machine. Each call just modifies the currently existing state. The state persists until the state is changed - even to the point of maintaining it between rendered frames.

    If you want Java bindings for OpenGL, there's two major projects.

    JOGL, which is the basis for the formal bindings in JSR 231.

    LWJGL which is a community driven project and somewhat akin to DirectX in that it also merges audio and input device APIs as well.

    If you need some tutorials to get started, check out http://opengl.j3d.org in a couple of weeks when it gets officially opened and has lots of beginner tutorials to play with.

    After that, the OpenGL Red Book is your friend.

    --
    Life is complete only for brief intervals in between toys or projects -- John Dalton
  46. Re:Versus DX successor by k98sven · · Score: 2, Informative

    What about SDL?

    What about it? It's a great idea.

    But. It can't really compete. SDL is "Simple", and doesn't provide the same amount of functionality.

    Also, SDL doesn't seem to be going anywhere. The 2.0 version has been 'in the works' for years now..

    (I've written a bunch of posts on this.. The lack of good crossplatform graphics API:s, both for 2D and 3D is one of my pet peeves, and IMHO a major barrier to Linux on the desktop.)

  47. Official Specifications by NEOtaku17 · · Score: 2, Interesting

    Here is the official specifications of the OpenGL 2.0 in PDF format.