Slashdot Mirror


3D Graphics For Firefox, Webkit

angry tapir writes "A group of researchers plans to release a version of the Firefox browser that includes the built-in ability to view 3D graphics. They've integrated real-time ray tracing technology, called RT Fact, into Firefox and Webkit. Images are described using XML3D, and the browser can natively render the 3D scene." The browser will be released within a few weeks, the researchers say, and they are checking with the Mozilla Foundation about whether they can call it Firefox.

16 of 198 comments (clear)

  1. No love for VRML by BadAnalogyGuy · · Score: 5, Insightful

    We've had 3D graphics for YEARS in browsers. It is called VRML and it is a standard that has been with us since the early days of graphical browsers.

    But the real question is who in their right mind will develop anything as ephemeral as a web page with this complicated technology? The time investment involved to come out with even the simplest of models is enormous. Maybe not John Pinette enormous, something smaller like Louie Anderson enormous.

    1. Re:No love for VRML by bbbaldie · · Score: 4, Funny

      I have "fond" memories of vrml sites, a 14,400 modem, and a 486 slc machine. One thing about it, though, it was peppier than 1995 Java!

    2. Re:No love for VRML by dingen · · Score: 3, Insightful

      Just like Second Life, the 3D web is not something people actually want, but more something which makes sense to old fashioned journalists who write for old fashioned media.

      They think it sounds great. Looking at pretty things instead of reading boring stuff is in their eyes the ultimate evolution of computing. That's why you keep reading this sort of stuff all the time. But it will never stick, because in reality, it's just not very useful.

      --
      Pretty good is actually pretty bad.
    3. Re:No love for VRML by vadim_t · · Score: 4, Insightful

      Just like Second Life, the 3D web is not something people actually want

      The 50K people logged in right now would seem to disagree. Right now it's a fairly low activity time, should go up later. And from the inside it seems to be still getting larger.

      They think it sounds great. Looking at pretty things instead of reading boring stuff is in their eyes the ultimate evolution of computing. That's why you keep reading this sort of stuff all the time. But it will never stick, because in reality, it's just not very useful.

      I see it in a different way. Not everything has to be a revolution. Back when there was a lot of news about SL there was a lot of hype for sure, but there must be some use to it, since it didn't die when it stopped getting talked about so much. Some people see no point in SL, that's perfectly fine. I see no point WoW either, but that doesn't make it a failure just because it fails to appeal to every person on the planet.

      I think this will be in the same way. Uses will be found for it. It won't be a revolution that will change every website everywhere. Not everybody has an espresso machine, and not everybody is going to have 3D on their website, but that doesn't mean those aren't useful things.

    4. Re:No love for VRML by PitaBred · · Score: 3, Insightful

      Why does the whole web have to be 3D or not? Why can't we just make the parts of it 3D that make sense to make 3D? It's not a hard damn concept.

  2. Re:Clarification by BhaKi · · Score: 4, Insightful

    Does this mean this technology will be used strictly for 3D images/scenes, or when they say 3D are they referring to gaming?

    Obviously and according to TFA, they're referring to 3D images/scenes. Gaming would require, amongst other things, browser-support for raw input devices, (at-least partial) server-side magic for processing interactive events. While these are definitely possible, they're not what this is about.

    --
    The largest prime factor of my UID is 263267.
  3. Two word by Anonymous Coward · · Score: 3, Funny

    Porn ography.

  4. Call it Cerberus by rwv · · Score: 3, Interesting

    I'd propose "Cerberus" as the name for their forked version of Firefox that has XML3D rendering capability. Cerberus is is three-headed dog that guards the gates of Hades. After all, Hades has lots of fire and the connection between foxes and dogs is tangible (they are both canines, AFAIK).

    1. Re:Call it Cerberus by Asclepius99 · · Score: 3, Funny

      I'm voting for PerspectivePanda.

  5. Re:Calling it Firefox by phooka.de · · Score: 4, Insightful

    If successful, it wouldn't surprise me to see the Mozilla folks include this feature in a future release of Firefox.

    Heaven forbid, please no!

    We don't need a rendering engine for every arcane formalt ever developed incorparated into a browser that's deployed on millions of desktops. Just remember, each supported protocol adds new complexety, new errors and with this new secutiry-issues that'll lead to exploits, bad press, compromised machines and painful bugfixing.

    Stuff like this should never be part of the browser, it should be an addon.

  6. Re:No thanks by Briareos · · Score: 3, Informative

    Ahh, the day that comes...

    Believe it or not, it's already landed on trunk - at least for Firefox running on Windows 7.

    np: Autechre.ws Webcast (02.03.2010)

    --

    "I'm not anti-anything, I'm anti-everything, it fits better." - Sole

  7. Re:Doesn't matter. 3D in the browser is stupid. by Junta · · Score: 4, Insightful

    WebGL/RT/HTML5 are not fundamentally stupid. VRML hype mistakenly centered around a 3D navigation model for most of the web replacing 2D textual interaction with some image content, which was stupid.

    However, richer multimedia content is a fact of life now with increased bandwidth. If it were not, then flash wouldn't persist (overuse of flash was a fad that has abated a bit in favor of javascript/css mechanisms, but flash persists for video and games without viable alternatives). Various video streaming sites that are relegated to flash today for games and videos would be freed from Adobe's whims as the embedded video, canvas, and 3d capabilities are expressed in industry standard terms.

    --
    XML is like violence. If it doesn't solve the problem, use more.
  8. Re:Doesn't matter. 3D in the browser is stupid. by JBMcB · · Score: 5, Insightful

    We realized that 3D graphics in the browser were stupid and useless back in 1995, when the VRML hype was much like the HTML5 hype is today.

    There are a few differences.

    VRML was never really an industry standard, it evolved from an SGI project and was adopted by a few other companies. There were competing technologies that seemed better, but were mostly closed. In any case, they required browser plugins that were large, clunky, and crashy.

    At the height of VRML's popularity, there really weren't any standards for desktop 3D acceleration. Getting decent performance from a VRML browser required a pretty fast machine, and the graphics were very crude even then.

    Now we have an industry standard backed by the group in charge of HTML, ridiculously fast 3d hardware on even low end desktops, and, with the modded FireFox and Webkit backends, integration with the codebase.

    This might end up working.

    --
    My Other Computer Is A Data General Nova III.
  9. Re:Doesn't matter. 3D in the browser is stupid. by BRock97 · · Score: 4, Interesting

    We realized that 3D graphics in the browser were stupid and useless back in 1995...

    ...and slow! I was there when VRML was landing (just finished high school) and all I saw it used for were virtual rooms were avatars would talk in a 3D IRC like environment. Only big problem back then was we didn't have 3D acceleration and the interface was clunky and painfully slideshow like in speed.

    As for uses, I could think of a few and have already started coding them. Instead of loading a PNG or GIF, it is pretty nice to be able to download a float array, be able to display it, and allow a user to interrogate it. Giving a user that kind of capability in the browser while not requiring them to download an application or a browser plugin is pretty darn nice. And while not mainstream, scientific fields could greatly benefit from something like that.

    --

    Bryan R.
    The price of freedom is eternal vigilance, or $12.50 as seen on eBay.....
  10. Re:Doesn't matter. 3D in the browser is stupid. by h3x87 · · Score: 3, Informative

    Flash problem. But 2 days ago Firefox 3.7 Alpha 2 was released with out-of-process plugins. Flash can no longer crash FF.

  11. Re:Ray tracing vs. Rasterization by zeroRenegade · · Score: 3, Informative
    Hey Man,

    RTFact is based on a research paper from the University of Saarland. The paper describes the implementation of a generic real time ray tracing framework with source code in C++. The goal or objective is an interactive real-time ray tracer.

    From the different implementations I researched (Manta from MIT, OpenRT, Arauna, RTSL, plus many more), RTFact is by far the most legitimate implementation. There are a million papers out there on interactive ray tracing, but only a few really take into consideration some of the major problems. I played around with OpenRT, but the amount of artifacts and aliasing really take away from the interactive experience. I have not played around with it recently, so maybe they now have an improved adaptive anti-aliasing solution, so my comments may be outdated.

    The base code for RTFact is supposed go open source, but I have been waiting around for a long time without even a remote tidbit of information until this post. They actually even went backwards as they removed the paper from public distribution. Whenever it does go open source, it will be posted here.
    http://www.rtfact.org/

    Now the generic ray tracing api/framework is RTFact, but from the sounds of the article posted above, they are actually integrating the scene graph RTSG into WebKit, which has also been developed by the university of Saarland. This is only speculation and I could be completely wrong.

    If you want some info on RTFact, check out:
    http://tiny.cc/gHMrW

    For info on RTSG, check out:
    http://tiny.cc/3ezO8

    If you want the original paper, the only link I could find from Google seems to be broken, but it may be due to the servers being overloaded by downloads after the announcement. I have the paper somewhere here on one of my drives, but it would take me a while to find, so if you want me to spend the time looking for it, you would need to give me some incentive by proving to me that you are in fact doing research.

    In regards to your question, without a doubt, rasterization will eventually be replaced by ray tracing. Just look at Pixars evolution into photorealism. When the frame rates improve with better hardware for the general public, the framework will begin to be used in game engines, and not just scene graphs. The reasoning is aesthetic as much as it is technical. Ray tracing is truer to the physics of light than rasterization, so even though you can "fake" effects, the graphics will always be more appealing being rendered backwards than forwards. I do numerical simulation (with a background in CS from UW, where my heavy graphics knowledge comes from, plus a few years in real-time simulaton), and the true physics of the problem always gives a better solution than assumptions, approximations, correlations, and correction factors. It is a comment that my prof continually reiterates. For example, caustics will never look as good rastered as they do ray traced, since the ray tracer will map the full motion of the photons.

    I could go on for hours, but I will leave it at this....