Slashdot Mirror


New Cross Platform Alternative To DirectX

BlackVomit writes: " There's a bunch of companies such as 3dfx, 3Dlabs, ATI, Compaq, Discreet, Evans & Sutherland, IBM, Intel, S3, and SGI that have formed a special interest group called Khronos to design a cross platform API for graphics, video, and audio. This is very cool, as it could be a huge leap for gaming on Linux as well as all platforms that choose to implement the API. Imagine games that work seamlessly on Winders as well as Linux/Unix, BeOs, Mac, etc. I am somewhat surprised that nVidia isn't in on this. " Let's just hope they work with the other open-standards projects for these things. The promise of a "an industry wide, non-proprietary approach" just screams out for it ...

8 of 155 comments (clear)

  1. SDL does just this by Sludge · · Score: 5

    SDL, Simple Direct Media Layer, by Sam Lantinga (not Lokigames, but he his their head programmer) is supported in news groups and mailing lists, and is a very well documented API that is already in many shipping products from Loki games.

    I cannot remember all of the operating systems and platforms it compiles and runs under, but let's just say that it allows you to interface with TWO renderers under both Windows AND Linux, plus OpenGL and OpenAL support. Also, it is endian-portable, as it works on the Mac as well.

    It also supports all of the other major facets of DirectX: DirectInput, DirectSound, oh wait, that's about all the other major facets. :)

    About the only benefit that I can see from this new API is a unified driver programming interface. Right now, SDL interfaces with renderers elsewhere. This means many different types of drivers must be programmed in order to have your hardware work cross platform a'la SDL.

    PS. SDL is lgpl'd.

  2. Re:nVidia + Microsoft? by Tarnar · · Score: 5

    It's deeper then that. nVidia has been on MS's dick^H^H^H^Hpayroll since the early days of 3D acceleration. Back then (way way back) when the best of the best was the Voodoo Graphics. nVidia was entering the market with their Riva128.

    Back then, the choice in API's were similar to today's. 3dfx had Glide, it was the most popular. Next up was OpenGL, but it was pretty much just a fringe thing. The only company using it was id with GLQuake. Why? Well John Carmack didn't want to get locked into Glide because it only did Voodoo. The alternative was the then AWFUL Direct3D. DirectX was around versions 2 or 3 and it was bad. John Carmack slammed it in many a .plan file.

    So nVidia is trying to break into this market, but they can't without a good API. Glide isn't an option. Microsoft didn't like this, they didn't control the market leading API. Thus was born a marriage made in hell. There were many nVidia hosted graphics/gaming development confrences, all sponsored by MS.

    The X-Box is just MS's way of giving nVidia the nod after all this time. This is why the TNT drivers have been so poorly maintained, and one of the reasons real lowlevel specs for the TNT aren't available to the Open Source world.

    I could go on about why I don't like nVidia, mostly due to their marketing practices, but I won't. I will say that you won't find an nVidia card in my machine. Vote with your dollars.

  3. first on-topic haiku by medicthree · · Score: 5

    games work all over
    not just on bill's piece 'o crap
    let's hope this happens.

    1. Re:first on-topic haiku by medicthree · · Score: 4

      will bill try revenge?
      directx part of windows!
      won't work without it!

  4. First Significant Thought Out Post(maybe) by Anonymous+Shepherd · · Score: 4

    Thus far, there's no indication that any of this stuff will exist under Linux, BeOS, Mac, etc.

    I mean, with the intent of the API, it could very well <em>exist</em> under every platform out there... but someone has to implement it. I expect to see this firstly on Windows machines, since all the companies seem to have big investments in the Windows world.

    Essentially, this looks like OpenGL++, with extensions and support for video, sound, and more interaction and synchronization details. So Linux won't have it, unless there's a workalike(think MesaML or something)

    I would wonder if the API is open source and available, but relies on the individuals involved to provide closed binary level compatibility? There's nothing saying that this is a great thing for consumers... what this is, is a great thing for developers and companies that sell hardware, to no longer be tied or controlled by Microsoft or any other organization.

    Now, if all these corporations adopted Linux or BSD or something like that and produced a <em>reference</em> implementation, the way Sun produces a reference Java, or SGI did a reference OpenGL... But I fear, for market acceptance, that we will see a reference implementation under Windows.

    Keep our fingers crossed!

    -AS

    --

    -AS
    *Pikachu*
  5. Nice start, maybe... by dfay · · Score: 5

    Although I hope it doesn't go the way of the pet rock and so many of the other many-company initiatives we hear about all of the time. Here are a few items of advice, if they want to supplant the horrible beast tyrant that is DirectX:

    1) Don't just go after video/audio! Many game developers use DirectX not for the wonderful (ahem, *sarcasm*) APIs in Direct3D, but for the DirectInput and DirectPlay APIs. That way they know that people will be able to use their new "Force Feedback Webcam Modem Ultra Joystick With Added Internet Buttons" with their three week old game that wasn't coded for it.

    2) Update the release often to support new technology, but try to keep the APIs from getting beat to death. This is a fine line to tread of course, but it is one that Micros~1 has partially succeeded at. Most game players don't mind upgrading DirectX, since it can result in better performance in games they already have, and it's on their game CDs anyway. The chief problem with DirectX is that the Direct3D API is *very* ugly. Memo to Micros~1: it's bad enough to version your function calls with "Ex", but please don't append numbers to them! Memo to the media: you all seem to believe that games make kids kill other kids. Is it possible that these kids happened to come across the Direct3D API, read it, and flipped out? Investigate! Maybe we can use some filtering software to keep the kiddies from seeing the Direct3D API on the web.

    3) In spite of #1, the only performance anyone cares about is the 3D. Go look for reviews on how many giga blams (gb) per second you can get out of a sound card in EAX vs. A3D. I bet you won't find much. While good APIs are invaluable to developers, they won't use your APIs unless you can at least provide comparable performance to the competitor. I know, the APIs don't theoretically dictate performance, but in reality, the design choices of the API can have a serious effect on the ability to incorporate future performance gains due to the latest hardware techniques.

    Anyway, that's all I can think of for right now. Hope it becomes a reality! It'd be great for Linux, but what it will really be best for is the future OS that none of us have even dreamed up yet, that will be able to have support for games sooner due to some standard APIs.

  6. Don't get caught in wishful thinking by Anonymous Coward · · Score: 4

    I work for a game developer, I'm just the type of programmer who would have to use such an API. Maybe I lack the needed level of contempt for Microsoft to appreciate this initiative, but...

    This is not going to work... if it appeared three, maybe four years ago, they did stand a chance of success, but now the DirectX team has handled practically all of the developer's complaints about it (well, maybe except for the function names like CreateDirectXSurfaceCoveredWithTinyDotsAndALittleW iderInTheLeft). An API has to mature for a few years (like good wine), and I'm pretty sure they'll get it wrong the first time.

    What's the developers' incentive to use OpenML instead of DirectX (except for "cuz windoze sux" and "cuz bill gates is satan")? Game publishers just stare blankly when you mention the possibility for non-Windows versions of a game. And if doesn't catch up in games, it will always stay a niche technology (as, say, OpenGL before Carmack).

    One more thing: who's missing from the list?
    NVIDIA, who are the driving force in graphics hardware for the last year and most probably for the NEXT few years;
    Apple, makers of QuickTime, a very sensible media architecture;
    Creative, the largest (and now that Aureal has quit the game, the only) manufacturer of enthusiast-level audio chips;
    SEGA, Sony and Nintendo - makers of the most widely spread "graphics, audio and video media devices"

    1. Re:Don't get caught in wishful thinking by SurfsUp · · Score: 4

      If Linus Torvalds subscribed to that philosophy, we wouldn't have linux.

      This is not going to work... if it appeared three, maybe four years ago, they did stand a chance of success...

      You don't know that. All it takes is one big game to adopt it, say Quake or Unreal, for the next cross-platform release, and an API like this will take off. The absolute minimum that can happen is a lot of good work can be done that can be incorporated into Loki's SDL, which has already taken off IMHO.

      Game publishers just stare blankly when you mention the possibility for non-Windows versions of a game.


      Yes, and IT managers reacted the same way to Linux 2 years ago. My how things change. The Linux gamers base is now probably sitting around 10 million and doubling every year, conservatively. That's enough to get the attention of people who matter. Have you been in a retail shop lately? Linux games are on the shelves :) Actually, a lot more of them than I'd have expected at this point. I tend to think the Linux shelf space will actually increase faster than the linux game community itself for a couple of reasons: (1) linux users tend to be a little richer than windows users (2) retailers recognize the value of front-loading in a rapidly expanding market.

      ...missing from the list... NVIDIA [they'll show up soon enough] Apple [them too I'd think] Creative [ah, they're not going to miss the party if it starts to rock] SEGA, Sony and Nintendo [does that really matter?]

      Look who's on the list: 3dfx, 3Dlabs, ATI, Compaq, Discreet, Evans & Sutherland, IBM, Intel, S3, and SGI

      Something good is going to come out of this, there's no question about it.
      --

      --
      Life's a bitch but somebody's gotta do it.