WebGL Standard To Bring 3D Acceleration To Browsers?
Several sources are reporting that while native audio/video support has been dropped from the HTML 5 spec, the Khronos Group has released a few details about their up and coming WebGL 3D acceleration standard. "The general principle behind WebGL is to offer a JavaScript binding to the group's OpenGL ES 2.0 system, allowing code run within the browser to access the graphics hardware directly in the same way as a standalone application can. As the technology would rely solely on JavaScript to do the heavy lifting, no browser plugin would be required — and it would be compatible with any browser which supports the scripting language alongside the HTML 5 'Canvas' element."
They're waking up and coming up with excellent ideas.
>>> Does WebGL sound like your dreams come true, or are you frightened by the thought that all those hideous Flash-only marketing pages will now have access to 3D acceleration?
... am frightened
... who the Khronos Group is, exactly? The linked article refers to them as 'a consortium', but I've never heard of them.
Basically I'm wondering if this is any different than my friend Jim announcing a web standard.
#DeleteChrome
What's next, a way to make web browsers faster by making /dev/kmem remotely writable?
http://www.khronos.org/
Does EVERYTHING need to be reinvented (poorly) on port 80? Really!!!???
Wouldn't this be better to be made as a java library of some form that allows for java applets to have direct access to opengl in browser? It seems like java would be better for programming real 3d applications (read as games) than javascript...
Is anyone at all working on something that is not as loosy-goosy and hokey as javascript for client-side computing?
I've used Adobe ActionScript (stricter variant of JavaScript) and it is getting a little better, but why do we think "oh, it's the client-side. Let's go back to (essentially) Basic for programming."
(Still moping I didn't get my Applets.)
(Ok, Java is a bit too ugly (accessor hell)
but a language with a little rigidity, checking, and simplicity to it wouldn't hurt, would it?)
Where are we going and why are we in a handbasket?
If everybody starts sticking opengl into their webpages, tjhen won't it severely slow down the web browsers, especially on older machines? As if javascript doesn't slow down things enough.
Praise be to Moore and his irrefutable law:
We are doomed to use faster and faster Computers and more and more energy, to read pages that might - content wise- just as well run on gopher.
These days everything needs to have a browser window around it for some reason. Ordinary folk won't even download things anymore - it has to be inside a browser. Don't ask why this is, but i'm sure people will come to their senses soon enough and HTTP/HTML will be just the boring static page delivery mechanism it was always intended to be
So we can have "Punch the Monkey" ads in 3D!
I like this. Why not? It can be expected that web browsers use decent security practices, 3D drivers are already doing a fairly good job of providing a stable API via OpenGL, and everything is floating towards web browsers as new deployment platform, also for games and 3D applications. Better have an open 3D standard than a need of all sorts of plugins where everyone comes up with his own half-working solution. This is the indie game developer's wet dream coming true.
Of course, that's the best scenario. How it plays out in practice, we will have to see.
One CS student VS 893 DOS games: Let's play oldies
Let's abandon decades of fast native APIs and move all our applications to a browser where they will be dependent on the fluctuating feature set of the browser wars, will require programming in JavaScript, and won't have a standard GUI framework to use so that we'll have to code our own from scratch every time as if it's MS-DOS all over again. This way, people will have a pointless, non-native middle-man between their operating systems and their apps!
I've wanted nothing more than to program 3D in friggin' JavaScript. OUR 3D WEB GAME IS COMING FOR YOU, ID SOFTWARE.
Anybody remember how awesome and important VRML was supposed to be? They just forgot to convince users.
Unless he is actually dumb enough to believe what he wrote. If so, and he really believes a browser having access to the GPU is such an obvious security risk, just imagine what a security risk having access to the CPU would be?
Let's deny access to both the CPU AND GPU in browsers. Then we would have amazing security.
Anybody remember how awesome and important VRML was supposed to be? They just forgot to convince users.
What? No way! I was definitely convinced! I distinctly remember running a VRML plugin at one time, and trying one of a very limited number of available example pages for it with some limited measure of success...
I feel compelled to add, this was a point in time at which streaming audio over the internet was still a big deal.
Bow-ties are cool.
So the web browser, in the end, will just be one big common runtime environment? That's one way to get compatibility across OSes I guess. If proprietary plugins were to be written to run entirely in a W3C compatible environment, then we'd be better off.
But it still seems like there will always be some sort of proprietary extension that one group will try and control. Businesses will want to set up tollbooths just for the sake of a "guaranteed revenue stream". What this really means is a tax that doesn't benefit anyone else. How can we stop rewarding these groups? Is the only way to prevent such tollbooths from being viable and desirable? If so, how?
For example: A standard gets defined, then tools become available to produce content which includes a proprietary method of achieving a result, but this fragments the audience. Why do sites and users put up with this?
Twinstiq, game news
Except for the fact that it's already there.
But by all means, let's introduce another incompatible 3D graphics API into the mix...I'm sure it won't be anything like the whole OpenGL/DirectX mess.
Meanwhile I am trying to find a way to get Firefox to STOP automatic animation. It used to be easy- don't use Flash and disable animated GIF's. Now with Ajax and Javascript, it is nearly impossible.
* Many people (myself included) can't stand movement on pages while we are trying to read things.
* Some people are using thin clients and animation destroys network bandwidth or overloads the main server.
* Still others are on slower, older computers and animation slows their system to a crawl.
* And many more are on laptops/netbooks and animation pegs the CPU and quickly drains the battery.
IMHO, a well-designed site will never create movement unless the user asks for it (with a mouse-over or click or whatever). But that would be a "in a perfect world" type fantasy.
Please, don't bother replying suggesting "noscript"- it breaks necessary functionality of sites horribly.
Yes, yes, I know, hardware acceleration will render the pages faster - but more and more sites will include 3d junk.
So, we shouldn't try to come up with faster and better technologies because people would end up using more of them and as a total, it would eventually slow things down?
Honestly, do you really think that this is a good argument?
...Firefox to view this web site.
Mod Parent UP
Democracy Now! - uncensored, anti-establishment news
Any one else remember VRML in netscape? Is this really going to be better? (read in any way useful)
does anyone believe that at any point the hardware would be the bottleneck?
OK - I'm predicting what will happen a few years down the road - Browser based OpenGL exploits based on browsers and/or OS and/or Graphics Vendor Driver and/or GPU hardware bugs in OpenGL implementaiton.
Fast forward a few more years and exploits in OpenGL spilling over into running OpenCL / DirectX? code on the graphics cards. Which by then will be defacto and be running some core OS services.
Boy things are going to get interesting....
hello Awesome
Years ago when I was messing around with Java bindings for OpenGL, I discovered that it's fairly trivial to write a browser applet that uses GL.. However the user has to put the right .jar and .so/.dll/dynlib (depending on platform) in the right directory to make it work.
So I have to ask -- why is this remarkable? I had GL in a browser many years ago.
"Several sources are reporting that while native audio/video support has been dropped from the HTML 5 spec" is hard to reconcile with http://www.whatwg.org/specs/web-apps/current-work/#video (and the same document is available at the W3C, O doubters). It seems (gasp) that several sources can be...wrong!
uh, because putting the right jar in the right folder is beyond 99.9 % of computer users.
Didn't VRML die already? Like in the 90s? Things that die should stay that way.
You don't have to fiddle with jars and so's/dll's anymore. Check https://jogl-demos.dev.java.net/applettest.html for a demo.
The bit-tech.net article links to its other article, which says that there will be no codecs specified for audio and video in the HTML 5 spec, which is old news. Audio and video are going nowhere (in more ways than one).
And fix the goddamned buggy commenting interface already. I had to disallow JavaScript using NoScript just to post this.
this is the pre-HTML model and, other than a rocky start, has served well so far. I can declare an HTML document and interact with the DOM imperatively via Javascript. What's lacking is 2d/3d vector support. This is where HTML 5 is missing the boat. Javascript and other language bindings is fine, but to really take on the likes of Flash and Silverlight, you need tool support, which really means the ability to separate the model from the behaviour.
I should be able to take an off the shelf 2d or 3d design tool, such as Inkscape, build a vector model, save it, load it in a browser and manipulate it via the DOM using declarative functions (e.g. animation functions) or bindings to an imperative language of choice (Javascript is a suitable start).
the combination of seemingly adhoc technologies being proposed to extend the web beyond the 4.0 stone age fails to address the critical role of the graphical designer in creating rich and interactive web sites (I'm a coder, so this shouldn't be taken as a bias).
>>>> What needs to happen is that the OS needs to become more browser-like
Sorry, I need an OS that works properly, and isn't full of unnecessary crap,
bugs, and security holes. Actually I need that in a web browser but can't
find one.
>>> What's next, a way to make web browsers faster by making /dev/kmem remotely writable?
Oh please don't give the morons any ideas.
>> Does EVERYTHING need to be reinvented (poorly) on port 80? Really!!!???
Why is thus modded funny?
> It can be expected that web browsers use decent security practices
You have GOT to be kidding.
BTW re: javascript, I find that browsers crash a lot less with it turned off.
it's about using a tool which is suited to the job. Using Javascript to do 3D graphics is like trying to saw wood with a pair of knitting needles.
No sig today...
I used VRML too - and this wasn't just when streaming audio was a big deal, this was when even having audio WORK was a big deal. I was running shotgun modems last time I used VRML, and it was still fun.
Getting audio AND X11 up? That was talent.
Even windows audio was spotty on some cards.
An operating system should be like a light switch... simple, effective, easy to use, and designed for everyone.
That's not the point. As a proof of concept, the plopping of jars in the right dirs makes it work. From there it only makes sense that it'd be standard in JRE some day. According to someone who's replied to this thread, it already is.
"As the technology would rely solely on JavaScript to do the heavy lifting, no browser plugin would be required"
Absolutely no plugin would be required!!! Just a WHOLE NEW CUSTOM WEB BROWSER THAT SUPPORTS THIS NONSENSICAL STANDARD THAT COULD OTHERWISE EASILY BE IMPLEMENTED WITH....A CROSS-PLATFORM PLUGIN!
Don't fear the plugin.
If this is available on all web browsers, that means I won't be able to turn it off; or if I turn it off, I can't access the rest of the web.
Please, don't do this. What's the benefit of turning web browsers into flash players?
BTW re: javascript, I find that browsers crash a lot less with it turned off.
Funny. I don't remember the last time I had a browser crash while using a non-beta browser.
Honestly, what are the real applications for this?
Online gaming?
Would developers release a game in JS, with the full source code exposed to hackers/cheaters?
The only usage would be for other fancy GPU/CPU consuming GUIs?
Cheers,
I use Konqueror, which is certainly not beta, and it crashes all the time. Twice in the last hour, in fact.
As xkcd already pointed out, developers seem to be out of touch with reality here. How about implementing KMS for a flicker free boot instead? Or heck, what about allowing X applications to sync to vertical retrace? That last one has been in the pipeline for some 20 years, for God's sake!
This is opening the Pandora box. Many new exploits expected. Graphics hardware is designed to be fast, not secure. We will soon see javascript codes hijacking the desktop view, to show more intrusive ads in the best cases, steal personal information in the worst.
Their just isn't a recommendation about what codecs should be supported in the spec.
New things are always on the horizon
You know what, I think 3D could be a great part of the web in the future. But here's the thing. This whole fucking Web 2.x deal is a pile of shit that is already about to collapse under its own weight; the last thing we need is to duct tape more shit onto it. If you don't believe me, try using the Internet on a slow connection, like over a shared satellite link. It's a fucking nightmare. Javascript/AJAX/etc is garbage. Browser "back" buttons don't work anymore, and neither does the reload button in many cases. CSS is great idea until it's abused, as it always seems to be. (Translation: lazy ass developers who pile 500k worth of shit into a single page, then use CSS and Javascript to "hide" it until called on.)
Could we please redesign this "Web" thingy from the ground up before going any further?
It means using the 3D hardware using an "Orthographic" camera view to do 2-D graphics. Basically, you use the 3-D accelleration to do 2-D. It's FAST! Damn FAST! And very easy to comprehend and program.
This would be really nice on a phone like the Palm Pre, which has the hardware to do OpenGL ES 2.0 (the same as the iPhone 3GS actually), but apps can't really use it. Its entire UI is basically a browser, right down to the phone and messaging apps. The biggest complaint for potential developers is that games aren't really possible since you don't have access to hardware acceleration. This would fix that problem.
There's a pretty easy solution to that one.
Instead of presenting 3D content in a 2D browser, build a freaking 3D browser that is capable of rendering 2D content. Content providers could create sites that are as rich as an MMORPG, or as simple as a single html page. People could surf with the a,w,s, and d keys (and use their control buttons to duck under crappy sites!). The technology to do this is here, but the standards people need to embrace 3D as an important information exchange medium. I have a funny feeling this type of thing is going to happen eventually and it's going to be part of a paradigm shift that truly changes the way we approach computing online.