<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Beginning WebGL step-by-step tutorial</title>
	<atom:link href="http://www.rozengain.com/blog/2010/02/22/beginning-webgl-step-by-step-tutorial/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rozengain.com/blog/2010/02/22/beginning-webgl-step-by-step-tutorial/</link>
	<description></description>
	<lastBuildDate>Sat, 04 Feb 2012 08:15:12 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: SoHotCall</title>
		<link>http://www.rozengain.com/blog/2010/02/22/beginning-webgl-step-by-step-tutorial/comment-page-1/#comment-97885</link>
		<dc:creator>SoHotCall</dc:creator>
		<pubDate>Mon, 12 Dec 2011 03:12:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.rozengain.com/blog/?p=508#comment-97885</guid>
		<description>Wow, needs so many lines of code just to draw a triangle..
Nice tutorial, anyway.
Next tutorial should be adding image texture to the triangle,
and then making simple animation..
---
@BabyRaptor: The code that is displayed here is not the complete code.
It is just the  part, and you will need to add the  etc.
The [complete] source file for this tutorial can be found at http://www.rozengain.com/files/webgl/tutorial/WebGLTutorial.html</description>
		<content:encoded><![CDATA[<p>Wow, needs so many lines of code just to draw a triangle..<br />
Nice tutorial, anyway.<br />
Next tutorial should be adding image texture to the triangle,<br />
and then making simple animation..<br />
&#8212;<br />
@BabyRaptor: The code that is displayed here is not the complete code.<br />
It is just the  part, and you will need to add the  etc.<br />
The [complete] source file for this tutorial can be found at <a href="http://www.rozengain.com/files/webgl/tutorial/WebGLTutorial.html" rel="nofollow">http://www.rozengain.com/files/webgl/tutorial/WebGLTutorial.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dennis</title>
		<link>http://www.rozengain.com/blog/2010/02/22/beginning-webgl-step-by-step-tutorial/comment-page-1/#comment-97307</link>
		<dc:creator>Dennis</dc:creator>
		<pubDate>Fri, 09 Dec 2011 10:49:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.rozengain.com/blog/?p=508#comment-97307</guid>
		<description>@BabyRaptor: ... and thank you for your constructive criticism. I create tutorials and I build free, open source frameworks exactly for this kind of glorious recognition.

I tested this on Chrome &amp; Firefox and on Mac OS &amp; Windows. Next time tell me what platform &amp; browser you&#039;re working on and what error you get before calling it a pile of crap.</description>
		<content:encoded><![CDATA[<p>@BabyRaptor: &#8230; and thank you for your constructive criticism. I create tutorials and I build free, open source frameworks exactly for this kind of glorious recognition.</p>
<p>I tested this on Chrome &#038; Firefox and on Mac OS &#038; Windows. Next time tell me what platform &#038; browser you&#8217;re working on and what error you get before calling it a pile of crap.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BabyRaptor</title>
		<link>http://www.rozengain.com/blog/2010/02/22/beginning-webgl-step-by-step-tutorial/comment-page-1/#comment-97305</link>
		<dc:creator>BabyRaptor</dc:creator>
		<pubDate>Fri, 09 Dec 2011 10:38:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.rozengain.com/blog/?p=508#comment-97305</guid>
		<description>Thank you for posting a pile of crap...
I copy your entire code and it doesn&#039;t run at all...</description>
		<content:encoded><![CDATA[<p>Thank you for posting a pile of crap&#8230;<br />
I copy your entire code and it doesn&#8217;t run at all&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Philip Schlup</title>
		<link>http://www.rozengain.com/blog/2010/02/22/beginning-webgl-step-by-step-tutorial/comment-page-1/#comment-84850</link>
		<dc:creator>Philip Schlup</dc:creator>
		<pubDate>Tue, 30 Aug 2011 20:45:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.rozengain.com/blog/?p=508#comment-84850</guid>
		<description>Thank you for posting this. I&#039;m not a big fan of external libraries, so it&#039;s great that you&#039;ve written it without dependencies.</description>
		<content:encoded><![CDATA[<p>Thank you for posting this. I&#8217;m not a big fan of external libraries, so it&#8217;s great that you&#8217;ve written it without dependencies.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arul Jeeva Gaspar</title>
		<link>http://www.rozengain.com/blog/2010/02/22/beginning-webgl-step-by-step-tutorial/comment-page-1/#comment-84765</link>
		<dc:creator>Arul Jeeva Gaspar</dc:creator>
		<pubDate>Tue, 30 Aug 2011 08:53:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.rozengain.com/blog/?p=508#comment-84765</guid>
		<description>this is good site those who are starting with webgl.
you have done good work here.  thank you</description>
		<content:encoded><![CDATA[<p>this is good site those who are starting with webgl.<br />
you have done good work here.  thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://www.rozengain.com/blog/2010/02/22/beginning-webgl-step-by-step-tutorial/comment-page-1/#comment-81365</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Thu, 28 Jul 2011 13:49:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.rozengain.com/blog/?p=508#comment-81365</guid>
		<description>Thanks, this is a really great tutorial. Nice to see how it&#039;s done without extra js libraries.

One small thing... I&#039;m still a newbie to this, so correct me if I&#039;m wrong, but I think on lines 225 and 226 of your code, the use of the perspectiveMatrix and modelViewMatrix variables are swapped. I think that what you have as...

gl.uniformMatrix4fv(uModelViewMatrix, false, new Float32Array(perspectiveMatrix));
gl.uniformMatrix4fv(uPerspectiveMatrix, false, new Float32Array(modelViewMatrix));

... should be ...

gl.uniformMatrix4fv(uModelViewMatrix, false, new Float32Array(modelViewMatrix));
gl.uniformMatrix4fv(uPerspectiveMatrix, false, new Float32Array(perspectiveMatrix));

... maybe it works anyway, in the example, because the modelview is the identity transformation. When I started playing around with the modelview, I think this correction made things work a little better.</description>
		<content:encoded><![CDATA[<p>Thanks, this is a really great tutorial. Nice to see how it&#8217;s done without extra js libraries.</p>
<p>One small thing&#8230; I&#8217;m still a newbie to this, so correct me if I&#8217;m wrong, but I think on lines 225 and 226 of your code, the use of the perspectiveMatrix and modelViewMatrix variables are swapped. I think that what you have as&#8230;</p>
<p>gl.uniformMatrix4fv(uModelViewMatrix, false, new Float32Array(perspectiveMatrix));<br />
gl.uniformMatrix4fv(uPerspectiveMatrix, false, new Float32Array(modelViewMatrix));</p>
<p>&#8230; should be &#8230;</p>
<p>gl.uniformMatrix4fv(uModelViewMatrix, false, new Float32Array(modelViewMatrix));<br />
gl.uniformMatrix4fv(uPerspectiveMatrix, false, new Float32Array(perspectiveMatrix));</p>
<p>&#8230; maybe it works anyway, in the example, because the modelview is the identity transformation. When I started playing around with the modelview, I think this correction made things work a little better.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dominic</title>
		<link>http://www.rozengain.com/blog/2010/02/22/beginning-webgl-step-by-step-tutorial/comment-page-1/#comment-79354</link>
		<dc:creator>Dominic</dc:creator>
		<pubDate>Tue, 19 Jul 2011 16:09:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.rozengain.com/blog/?p=508#comment-79354</guid>
		<description>A great intro, but there&#039;s a couple of bugs in your implementation.

- When failing to link the program, you&#039;re deleting the shaders with a call to deleteProgram.

- When setting the perspective and modelView matrices you&#039;ve mixed them up: 
  gl.uniformMatrix4fv(uModelViewMatrix, false,
      new Float32Array(perspectiveMatrix));
  gl.uniformMatrix4fv(uPerspectiveMatrix, false,
      new Float32Array(modelViewMatrix));

should be:
  gl.uniformMatrix4fv(uModelViewMatrix, false,
      new Float32Array(modelViewMatrix));
  gl.uniformMatrix4fv(uPerspectiveMatrix, false,
      new Float32Array(perspectiveMatrix));</description>
		<content:encoded><![CDATA[<p>A great intro, but there&#8217;s a couple of bugs in your implementation.</p>
<p>- When failing to link the program, you&#8217;re deleting the shaders with a call to deleteProgram.</p>
<p>- When setting the perspective and modelView matrices you&#8217;ve mixed them up:<br />
  gl.uniformMatrix4fv(uModelViewMatrix, false,<br />
      new Float32Array(perspectiveMatrix));<br />
  gl.uniformMatrix4fv(uPerspectiveMatrix, false,<br />
      new Float32Array(modelViewMatrix));</p>
<p>should be:<br />
  gl.uniformMatrix4fv(uModelViewMatrix, false,<br />
      new Float32Array(modelViewMatrix));<br />
  gl.uniformMatrix4fv(uPerspectiveMatrix, false,<br />
      new Float32Array(perspectiveMatrix));</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 10 adımda WebGL ile ilgili bilmek istediğiniz herşey &#124; Kliknete</title>
		<link>http://www.rozengain.com/blog/2010/02/22/beginning-webgl-step-by-step-tutorial/comment-page-1/#comment-60877</link>
		<dc:creator>10 adımda WebGL ile ilgili bilmek istediğiniz herşey &#124; Kliknete</dc:creator>
		<pubDate>Sat, 07 May 2011 11:52:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.rozengain.com/blog/?p=508#comment-60877</guid>
		<description>[...] Adım Adım WebGL [...]</description>
		<content:encoded><![CDATA[<p>[...] Adım Adım WebGL [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lukas</title>
		<link>http://www.rozengain.com/blog/2010/02/22/beginning-webgl-step-by-step-tutorial/comment-page-1/#comment-55080</link>
		<dc:creator>Lukas</dc:creator>
		<pubDate>Thu, 24 Mar 2011 10:15:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.rozengain.com/blog/?p=508#comment-55080</guid>
		<description>Hi I just have a question. I did OpenGL years ago. What I see now you are using shaders etc to render even primitive objects. I m used to use a gl_begin and draw_list...

Is it still possible to use it or only shaders are supported now (in webgl)?</description>
		<content:encoded><![CDATA[<p>Hi I just have a question. I did OpenGL years ago. What I see now you are using shaders etc to render even primitive objects. I m used to use a gl_begin and draw_list&#8230;</p>
<p>Is it still possible to use it or only shaders are supported now (in webgl)?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dennis</title>
		<link>http://www.rozengain.com/blog/2010/02/22/beginning-webgl-step-by-step-tutorial/comment-page-1/#comment-32666</link>
		<dc:creator>Dennis</dc:creator>
		<pubDate>Fri, 30 Apr 2010 15:38:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.rozengain.com/blog/?p=508#comment-32666</guid>
		<description>@DLabz: Thanks, I&#039;ve updated the documentation :-)</description>
		<content:encoded><![CDATA[<p>@DLabz: Thanks, I&#8217;ve updated the documentation <img src='http://www.rozengain.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

