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."
>>> 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!!!???
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?
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.
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.
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
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.
Getting everyone used to not downloading stuff is step 1
Step 2 is making it impossible for anyone to download anything
And step 3 is pay-per-use of the glorious cloud and all of it's constant revenue stream goodness.
---
"I can't complain, but sometimes still do..." Joe Walsh
...Firefox to view this web site.
God or bad argument, it does not matter. Sad thing is, it's happening right now...
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....
Why do I get the feeling that if this does become workable and widely used a certain other company is going to come up with its own version that only works with its products?
Michael Reed, freelance tech writer.
"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!
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.
You mean something like JOGL or LWJGL?
Been there, done that, although this is mostly for Java WebStart, not applets.
typo - substitue "pre-HTML" with previous "(i.e. HTML 4)"
>>>> 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.
Why can't we have both imperative and declarative support for both 2d and 3d web elements, both backed by access to a DOM?
Declarative 2D (SVG) and 3D (VRML/X3D) exist but virtually no one uses them, so the browser developers aren't going to put much effort into declarative graphics. You can always define your own declarative format (JSON3D anyone?) and write a library to display it using WebGL.
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.
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?
You mean like this?
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.
Wow, I'm amazed that nobody else in this discussion mentioned O3D.
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.
It would be, but people don't want to wait on the JVM to load, so they would rather cram all the already-existing Java applet functionality into Javascript.
(Actually, the plugin doesn't work smoothly with everything else. If it was standard for Java applets to pass keystrokes back to the browser, integrating with the tab order and handling Ctrl-K/E/L/F / Alt-D/F / etc., then there wouldn't be much point to using Javascript for anything.)
You _can_ use native packages in applets.. https://jdk6.dev.java.net/plugin2/
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.