<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Mozilla Standards Blog &#187; Khronos</title>
	<atom:link href="http://blog.mozilla.com/standards/category/khronos/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mozilla.com/standards</link>
	<description>Open Standards.  Open Source.  Open Platform.</description>
	<lastBuildDate>Thu, 02 Jul 2009 18:55:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>3D on the Web</title>
		<link>http://blog.mozilla.com/standards/2009/03/25/3d-on-the-web/</link>
		<comments>http://blog.mozilla.com/standards/2009/03/25/3d-on-the-web/#comments</comments>
		<pubDate>Wed, 25 Mar 2009 13:01:54 +0000</pubDate>
		<dc:creator>aruner</dc:creator>
				<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Khronos]]></category>
		<category><![CDATA[Standards]]></category>

		<guid isPermaLink="false">http://blog.mozilla.com/standards/?p=15</guid>
		<description><![CDATA[Bringing accelerated 3D Graphics for the web holds the promise of new types of web applications.]]></description>
			<content:encoded><![CDATA[<p>Yesterday at the <a href="http://www.gdconf.com/index.html">Game Developers Conference</a> in San Francisco, Mozilla and the <a href="http://www.khronos.org/">Khronos Group</a> (the folks behind the OpenGL family of standards) announced <a href="http://www.khronos.org/news/press/releases/khronos-launches-initiative-for-free-standard-for-accelerated-3d-on-web/">a new initiative to bring accelerated 3D graphics to the web</a>.  This is a promising new direction for web applications, and adds to the rich mix of activities in forum such as the <a href="http://www.w3.org">W3C</a> and <a href="http://www.whatwg.org/">WHATWG</a> to evolve the web platform.</p>
<p>JavaScript performance in all major browsers has shown marked improvements over time, paving the way for it to be used for more sophisticated classes of applications.  Many graphics applications, including popular games, leverage hardware acceleration, and subsets of OpenGL (such as OpenGL ES1.1) are already available on smartphones.  The initial activity proposal is to consider a simple binding of <a href="http://www.khronos.org/opengles/">OpenGL ES2.0</a> to JavaScript, and exposing that to an <a href="http://dev.w3.org/html5/spec/Overview.html#the-2d-context">HTML5 Canvas context</a>.  This is how a 2D drawing context is exposed to the web for use with a JavaScript API; the proposed mechanism is to do this for a 3D context as well.  As exciting as this is for the web and for us at Mozilla, it&#8217;s worth explaining our choices, and raising some questions.</p>
<p><span id="more-15"></span></p>
<p>We chose <a href="http://www.khronos.org/">Khronos</a> to start with, since that&#8217;s the home of OpenGL, and the proposal is to start with an OpenGL subset such as OpenGL ES2.0.  This is a very low-level API with a lot of C language structures, and perhaps an early task for the working group would be to figure out <a href="http://people.mozilla.com/~vladimir/misc/glweb20spec.html">how to expose that to JavaScript</a>.  This isn&#8217;t a <em>fait accompli</em>, and we look forward to help and collaboration from other major players.  Naturally, security is a <em>paramount consideration</em>.   <a href="http://google-code-updates.blogspot.com/2009/03/toward-open-web-standard-for-3d.html">Google announced support for the activity</a>, and we look forward to others doing so soon as well.</p>
<p>Would web developers <em>actually use</em> something this low level?  While we anticipate the influx of a new type of web developer (who may also be a games developer, or interested in 3D visualization), it&#8217;s worth pointing out that a standardization principle that&#8217;s served the web well is to expose pretty low level primitives in browsers, and allow third party JavaScript libraries to take on the task of syntactic sugar and higher level abstractions.  Applications toolkits such as <a href="http://www.dojotoolkit.org/">dojo</a>, <a href="http://jquery.com/">jQuery</a>, and <a href="http://www.prototypejs.org/">Prototype</a> simplify developers lives; the same can occur in the 3D arena. </p>
<p>It&#8217;s also worth pointing out that this endeavor with Khronos to bring a subset of OpenGL to the web is just the first step.  Higher level APIs with retained mode graphics are likely to follow suit.  The discussion officially started yesterday, so we&#8217;re glowing with fresh possibility in uncharted terrain here.</p>
<p>Also read <a href="http://blog.vlad1.com/2009/03/24/3d-on-the-web-its-go-time/">Vlad&#8217;s thoughts on all this</a> &#8212; he <a href="http://blog.vlad1.com/canvas-3d/">wrote the extension</a> that was the initial experimental implementation, and made this happen.  And <a href="http://www.0xdeadbeef.com/weblog/?p=1207">Chris Blizzard&#8217;s thoughts</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.com/standards/2009/03/25/3d-on-the-web/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
