Slashdot Mirror


DirectX 11 Coming To Browser Games

arcticstoat writes "Forget Farmville, Flash puzzlers and 8-bit home computer emulators. The next generation of browser games will be able to take advantage of DirectX 11 effects, not to mention multi-core processing and both Havok and PhysX physics effects. A new browser plug-in called WebVision will be available for Trinergy's new game engine, Vision Engine 8. This will enable game developers to port all the advanced effects from the game engine over to all the common browsers. Of course, any budding 3D-browser-game dev will face the problem that not every PC has a decent graphics card that can handle advanced graphics effects. Not only that, but limited bandwidth will also limit what effects a developer can realistically implement into a browser game. Nevertheless, this is an interesting development that could result in some tight 3D programming, as well as some much more interesting browser games."

31 of 200 comments (clear)

  1. Slashvertisment? by Joce640k · · Score: 3, Insightful

    Will it work on Linux?

    I'm pretty sure there's been 3D plugins before. One from Adobe springs to mind - it even had Havok physics engine....

    --
    No sig today...
    1. Re:Slashvertisment? by JackieBrown · · Score: 2, Insightful

      That is what I was thinking as well.

      It will be like the "old" days before firefox where site after site asked you to upgrade to IE 6.

  2. Another pointless plugin? by QuoteMstr · · Score: 5, Insightful

    Why bother when we have WebGL (the 3D canvas API) that doesn't require any plugins at all?

    Really, the whole browser plugin idea is a grand, failed experiment. Instead of a fecund atmosphere of competing web extensions, the plugin mechanism has just resulted in one or two players achieving dominance and vendor lock-in.

    Browsers themselves implementing experimental, then standardized functionality is a much more viable approach. It's given us all the real improvements to the web to date.

    How long will it be until we can kill the plugin mechanism entirely?

    1. Re:Another pointless plugin? by Anonymous Coward · · Score: 5, Insightful

      What features in D3D doesn't OpenGL support? OpenGL has a history of supporting MORE features than D3D via vendor extensions. And I doubt OpenGL is not suited to fast game-style graphics rendering, because GAMES ON OSes OTHER THAN WINDOWS EXIST. See Halo on Mac, Everything Blizzard on the Mac, Quake 4, etc.

    2. Re:Another pointless plugin? by Tim+C · · Score: 2, Insightful

      While all that's true, the comment you've replied to said that WebGL can't use DirectX, not D3D. DX most definitely does supply many features that OGL does not.

      Whether any of those are relevant to this discussion is another matter of course.

    3. Re:Another pointless plugin? by Eivind · · Score: 3, Insightful

      Agreed, sorta.

      Browser-plugins for supporting media-formats have indeed been precisely what you say, a disaster. Java Applet here, Flash-thingie there (version such-and-such required) ActiveX-shit up left, and Shockwave there. Every one of which attempts to do, more or less, the same thing.

      Security-holes abound, as do incompatibilities and performance-problems. (hands up everyone who's experienced multi-second browser-freeze, even on modern hardware, because some website is loading some ad that happens to be a flash or java-applet!)

      On the other hand, browser-extensions for non-standard behaviour seem to work fine. Stuff like Xmarks, Adblock, various tab-tweaks etc. But these are extensions that are there because the USER has selected to install them, not because the website-developer has decided that you need SpecialPlugin version 7.0.321.9 to seee this page.

    4. Re:Another pointless plugin? by VGPowerlord · · Score: 3, Informative

      So... you're advocating having to write two code paths (one for AMD and one for nVidia) for each new graphics feature in an application until one of the two, or worse some amalgamation of the two, is accepted into the OpenGL standard? Again, for each feature.

      Please tell me that you don't work in the game industry,

      --
      GLaDOS for President 2016! "Well here we are again. It's always such a pleasure." -- GLaDOS, 2011
    5. Re:Another pointless plugin? by Blakey+Rat · · Score: 2, Informative

      WOW is a bad example.

      It has an OpenGL mode for Mac OS X, but it runs much slower than the Windows version on equivalent hardware.

      It also doesn't help that WOW's game engine is like 5 years old, and even when the game came out it *looked* 3 years old. It's simply not an impressive engine visually. Even when it came out, Everquest 2 (which came out within a month) looked leaps and bounds better. So even if its OpenGL support was on-par, I wouldn't use it as an example.

  3. I pretty much switched off by Anonymous Coward · · Score: 2, Informative

    after reading DirectX in the title. Why oh why do people insist on using single platform technologies for the web when the web in general is moving in the direction of open technologies?

    1. Re:I pretty much switched off by keytoe · · Score: 2, Insightful

      Because the bloated mish-mash of open technologies forever chasing an impossible equilibrium is not something that users want.

      So, you're suggesting instead that users want a bloated mish-mash of closed technologies forever chasing an impossible equilibrium?

  4. Bandwidth is a killer by SplashMyBandit · · Score: 4, Interesting

    3D graphics is bandwidth intensive, especially for textures. 3D accelerated postage stamps just won't be that compelling. Procedural textures are vastly smaller but are rather labour intensive to create. While this is a nice concept it won't be replacing downloaded 3D content anytime soon. I have enough trouble convincing people to wait for a 2MB Java applet that's downloaded once and cached with WebStart.

  5. Not convinced by Spad · · Score: 4, Insightful

    So, it'll be like a normal game, only take ages to load, have terrible performance and be full of interstitial adverts? Though I realise with a lot of games these days those terms are relative.

    1. Re:Not convinced by ErroneousBee · · Score: 4, Insightful

      So, it'll be like a normal game, only take ages to load, have terrible performance and be full of interstitial adverts?

      Don't be ridiculous.

      It will be a massive security hole too.

      --
      **TODO** Steal someone elses sig.
  6. Spyware on my GPU by SpazmodeusG · · Score: 4, Interesting

    Shaders these days are fully programmable and DirectX allows access to them. I can't see any reason why a shader run off of a webpage couldn't do whatever it wants.
    Graphics cards don't have any privilege ring security like x86s do. They simply trust that whatever shader that is sent to run on them is as trusted as the application running on the CPU that sends them the shader.
    With this plan your browser will be sending your graphics card shaders to run from whatever website you visit.

    Either they are going to have to prune the API down a lot before it is safe (without shaders you may as well be using an earlier version of DirectX), or they are going to have a security nightmare.

    1. Re:Spyware on my GPU by SpazmodeusG · · Score: 2, Interesting

      I have made DirectX games a long time ago but apart from simple examples i haven't looked into shaders much. I actually had a look just then and you are right. Obviously by design they don't allow any shaders (even the compute shaders) to access memory using pointers. So you can't arbitrarily write to some memory location on the system bus as i feared. It's obvious they wouldn't allow that even on trusted applications as your could break the whole trust system locally even. I feel silly now.

      I still have an issue of the DirectX API as a whole running through the browser though.
      Let me put it this way; this game API allows you to write a game, get inputs from the user, presumably via DirectX's direct input (it does imply full DirectX11 support in the blurb) and send out network outputs based on those inputs. Now i know for a fact Direct Input is very useful for capturing all keyboard input, if a key is down direct input can record that even if the current application is running in the background. Perfect for a keylogger.
      There's so many little things like this they'll have to deal with before exposing the DirectX API to the web.

    2. Re:Spyware on my GPU by Quietust · · Score: 2, Informative

      That's funny, since there's this flag called DISCL_BACKGROUND (which gets passed in via IDirectInputDevice8::SetCooperativeLevel()) that allows you to capture input from a device even when your application doesn't have focus. And yes, it does actually work.

      --
      * Q
      P.S. If you don't get this note, let me know and I'll write you another.
  7. Yeah sure... by Fotograf · · Score: 2, Insightful

    all we need are more applications (yet less those performance demanding) depending on webbrowser. What happened with good old optimized desktop applications? Now even most people dont use the desktop mail client anymore

    --
    God's gift to chicks
    1. Re:Yeah sure... by ultranova · · Score: 5, Insightful

      Can you imagine HTML+CSS+SVG running as a local C++ program? Beauty and power in one sleek package. If anyone knows more about things like this, let me know.

      Yeah, C++ programs that run on your machine and render HTML+CSS (and some even SVG) exist. They're called Web Browsers.

      --

      Forget magic. Any technology distinguishable from divine power is insufficiently advanced.

  8. Not all browser games are ugly and slow. by incognito84 · · Score: 2, Informative

    Not all browser games need to be 2D or an ugly sort of 3D that resembles something from the Nintendo 64 or worse. Here is an example of a 3D, browser-based FPS game that not only runs great (with Firefox) but also looks as good as any other modern FPS title:

    http://www.interstellarmarines.com/

    Browser games have enormous potential (with the exception of Flash based games).

    1. Re:Not all browser games are ugly and slow. by Joce640k · · Score: 2, Insightful

      Browser games will have the enormous potential to not run fullscreen and to be able to accidentally click the mouse outside the game area during a crucial moment.

      "Gaming" is about more than just having a 3D renderer.

      http://xkcd.com/484/

      Typing this while waiting for that interstellarmarines game to finish loading level 1. Had time to find the XKCD comic and everything....and am now sat twiddling my thumbs.

      --
      No sig today...
  9. DirectX 11? DOA already I think by Kitkoan · · Score: 2, Insightful

    Unless I missed it, I'm pretty sure DirectX is Windows only. So that means any web game/app that is written in it would have to have be made for either Windows Vista or 7 ( http://en.wikipedia.org/wiki/DirectX ) as those are the only 2 OS's that support it. It also means that any and all OSX and Linux boxes wouldn't be able to use these browser games/apps. This type of problem has already caused strains with Flash not being better supported on those OS's, now we'll have a worse issue with this. Yeah, don't see it happening just for this issue alone.

    --
    Attention... all grammer nazi"s! Is they're anything; wrong with: my post,
    1. Re:DirectX 11? DOA already I think by cbhacking · · Score: 2, Insightful

      Windows is already the predominant gaming OS for PCs; those who get a Mac or Linux implicitly acknowledge from the beginning that very few games are released for their platform and a lot of Windows games won't ever really work, or get ported. As for the WDDM requirement (NT6 or higher), while it's true that there are still a lot of outdated Windows systems out there, Win7 adoption is picking up speed. By the time this capability is available, there will be a lot more DX11-capable boxes than there are now, and I'd argue that even now it's a worthwhile target.

      Look at it this way: How many iPhone users are there? Lots, sure... but a drop in the bucket compared to the number of Windows users. Now consider how many simple, often pointless, and usually cheap or free games exist for the iPhone. With even crappy Intel Integrated graphics offering (slow) DX11, there's plenty of market for this kind of thing in the next few years.

      --
      There's no place I could be, since I've found Serenity...
  10. Unity anyone.. by uberchicken · · Score: 2, Informative

    I thought Unity was going to be the One True Plugin for all platforms, and that games shops would focus there. I'm so naive.

  11. Re:Bandwidth is a killer.. And latency too by ubersoldat2k7 · · Score: 3, Funny

    He's writting in Italian you insensitive clod!

  12. OpenGL by Lord+Lode · · Score: 4, Insightful

    What made someone who made a browser plugin for the web even THINK about DirectX 11? How is that possible? How can someone create something for the web and choose a Windows-only technology instead of OpenGL?

    1. Re:OpenGL by Joce640k · · Score: 2, Informative

      How could anybody possibly think of using Flash?? It doesn't run everywhere!

      Oh wait, the web is *full* of flash pages - we even have extensions to block it because we're sick to the teeth of it.

      --
      No sig today...
    2. Re:OpenGL by TheRaven64 · · Score: 2, Insightful

      Flash doesn't run everywhere, but it runs on a lot of devices. My mobile phone, my Mac laptop and my FreeBSD (x86) machine can all run Flash. My SPARC64 machine can't, but that's about it. You're also excluding the iPhone, but only from web delivery (you can package Flash games up as iPhone apps and offer them through the app store).

      In contrast, DirectX 11 doesn't run on any mobile devices, any non-Windows platforms, or any versions of Windows older than Vista. Windows XP apparently still has around 40-60% of the Windows market, depending on which statistics you read. Windows has 80-90% of the desktop market. Platforms that don't support DirectX 11 but do run web browsers outnumber platforms that do support DirectX 11 but run web browsers. There are far fewer platforms that run web browsers but don't support flash.

      --
      I am TheRaven on Soylent News
  13. Re:Bandwidth is a killer.. And latency too by somersault · · Score: 2, Insightful

    Latency is not an issue for single player games if you're precaching everything.

    If your issue is with latency in multiplayer, then you will have the same issues no matter what platform you are using for your gaming.

    --
    which is totally what she said
  14. A lot of engines are going down this road by pmfa · · Score: 2, Interesting

    The Panda 3d engine has a BSD license, and you use python to develop the games. They recently released a browser plugin too. Their runtime works in Windows, Linux, Mac OS X, and of course the iPhone.

    This is the way to go, to get the most platforms covered as possible. Everyone is drooling about their new iPhone/iPad or Android phone or whatever. Mobile is not the next big thing, it's the big thing right now. With a Direct X 11 browser plugin you're achieving very little, what's the use? Halo, the Internet Explorer edition?

  15. Re:What's the alternative? by am+2k · · Score: 5, Informative

    Hmm you'd probably have to put it into some kind of sandbox that doesn't allow stuff like local file access...

    But still, you'd need support for 3D graphics. If only such a thing would exist...

    Too bad.

  16. WTF? by muffen · · Score: 4, Funny

    Forget Farmville

    ...and start working when I'm at work??