<?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: Loading wavefront .obj files in Qt&#8217;s OpenGL ES</title>
	<atom:link href="http://dragly.org/2010/04/09/loading-wavefront-obj-files-in-qts-opengl-es/feed/" rel="self" type="application/rss+xml" />
	<link>http://dragly.org/2010/04/09/loading-wavefront-obj-files-in-qts-opengl-es/</link>
	<description>It was about time I started writing my own tutorials to share some of the knowledge I&#039;ve picked up from around.</description>
	<lastBuildDate>Thu, 26 Jan 2012 09:20:42 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Svenn-Arne Dragly</title>
		<link>http://dragly.org/2010/04/09/loading-wavefront-obj-files-in-qts-opengl-es/comment-page-1/#comment-1380</link>
		<dc:creator>Svenn-Arne Dragly</dc:creator>
		<pubDate>Wed, 19 Oct 2011 07:24:50 +0000</pubDate>
		<guid isPermaLink="false">http://dragly.org/?p=242#comment-1380</guid>
		<description>Hi Giovanny!

Are you trying to update it just once in the main code and never change it? Or are you trying to change it multiple times (as in an animation or moving monkey)?

Setting it once should work fine, but updating it is probably not possible in the main.cpp as things are set up now. The reason is that as soon as a.exec() is called, the &quot;event loop&quot; is passed on to the Qt classes, such as MainWindow which again calls GLWidget. In other words, if you try to do the changes before a.exec() they will be called once, but never again, and if you try to do them after a.exec() they will be called once you quit the application - and that doesn&#039;t really help you out.

The fact is that everything is redrawn within a.exec(), so you can&#039;t animate anything outside the GLWidget (or MainWindow, perhaps).  I&#039;m sure some Qt gurus probably can prove me wrong on this, but I wouldn&#039;t start messing around too much with this if you don&#039;t have to.

Setting the initial values for the position should work, so if that is the problem, I&#039;m not sure where it goes wrong. What you do looks perfectly fine in that manner. Are you getting any errors?</description>
		<content:encoded><![CDATA[<p>Hi Giovanny!</p>
<p>Are you trying to update it just once in the main code and never change it? Or are you trying to change it multiple times (as in an animation or moving monkey)?</p>
<p>Setting it once should work fine, but updating it is probably not possible in the main.cpp as things are set up now. The reason is that as soon as a.exec() is called, the &#8220;event loop&#8221; is passed on to the Qt classes, such as MainWindow which again calls GLWidget. In other words, if you try to do the changes before a.exec() they will be called once, but never again, and if you try to do them after a.exec() they will be called once you quit the application &#8211; and that doesn&#8217;t really help you out.</p>
<p>The fact is that everything is redrawn within a.exec(), so you can&#8217;t animate anything outside the GLWidget (or MainWindow, perhaps).  I&#8217;m sure some Qt gurus probably can prove me wrong on this, but I wouldn&#8217;t start messing around too much with this if you don&#8217;t have to.</p>
<p>Setting the initial values for the position should work, so if that is the problem, I&#8217;m not sure where it goes wrong. What you do looks perfectly fine in that manner. Are you getting any errors?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Giovanny Espinal Ramirez</title>
		<link>http://dragly.org/2010/04/09/loading-wavefront-obj-files-in-qts-opengl-es/comment-page-1/#comment-1379</link>
		<dc:creator>Giovanny Espinal Ramirez</dc:creator>
		<pubDate>Tue, 18 Oct 2011 23:40:56 +0000</pubDate>
		<guid isPermaLink="false">http://dragly.org/?p=242#comment-1379</guid>
		<description>Good afternoon Svenn.

The code is great, it works fine for me, but I don&#039;t know enough about Qt + OpenGl  to  understand the code completely, and I really would like to make a setter for the &quot;monkey&quot; position, I noticed that in the code I can move the &quot;monkey&quot; using &quot;mvMonkey5.translate(player.x(),player.y(),player.z());&quot; in the glwidget.cpp but I would like to modify that parameters in the main code (main.cpp), I tried something like : &quot;mvMonkey5.translate( GLWidget::objetoX, GLWidget::objetoY, GLWidget::objetoZ );&quot;  and &quot;void GLWidget::setObjetoZ(int pObjetoZ) {
    GLWidget::objetoZ = pObjetoZ;
}&quot;
But it doesn&#039;t work, if you could teach me how to move the &quot;monkey&quot; position and if it&#039;s possible to move the camera position in the main.cpp it would be awesome for me.</description>
		<content:encoded><![CDATA[<p>Good afternoon Svenn.</p>
<p>The code is great, it works fine for me, but I don&#8217;t know enough about Qt + OpenGl  to  understand the code completely, and I really would like to make a setter for the &#8220;monkey&#8221; position, I noticed that in the code I can move the &#8220;monkey&#8221; using &#8220;mvMonkey5.translate(player.x(),player.y(),player.z());&#8221; in the glwidget.cpp but I would like to modify that parameters in the main code (main.cpp), I tried something like : &#8220;mvMonkey5.translate( GLWidget::objetoX, GLWidget::objetoY, GLWidget::objetoZ );&#8221;  and &#8220;void GLWidget::setObjetoZ(int pObjetoZ) {<br />
    GLWidget::objetoZ = pObjetoZ;<br />
}&#8221;<br />
But it doesn&#8217;t work, if you could teach me how to move the &#8220;monkey&#8221; position and if it&#8217;s possible to move the camera position in the main.cpp it would be awesome for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Svenn-Arne Dragly</title>
		<link>http://dragly.org/2010/04/09/loading-wavefront-obj-files-in-qts-opengl-es/comment-page-1/#comment-1054</link>
		<dc:creator>Svenn-Arne Dragly</dc:creator>
		<pubDate>Tue, 12 Jul 2011 09:03:03 +0000</pubDate>
		<guid isPermaLink="false">http://dragly.org/?p=242#comment-1054</guid>
		<description>I&#039;m afraid I haven&#039;t worked on that example for a while, but it should still work. I think you&#039;ll find more information about where it crashes if you launch the application in debug mode in Qt Creator (pressing F5), or maybe even if you just launch it from the command line in Windows.

Most likely this is caused by a .obj file missing, and if I remember correctly the applications would fail with a segfault if this happens. I don&#039;t think I implemented any file check to see if the file existed and was valid.</description>
		<content:encoded><![CDATA[<p>I&#8217;m afraid I haven&#8217;t worked on that example for a while, but it should still work. I think you&#8217;ll find more information about where it crashes if you launch the application in debug mode in Qt Creator (pressing F5), or maybe even if you just launch it from the command line in Windows.</p>
<p>Most likely this is caused by a .obj file missing, and if I remember correctly the applications would fail with a segfault if this happens. I don&#8217;t think I implemented any file check to see if the file existed and was valid.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vignesh</title>
		<link>http://dragly.org/2010/04/09/loading-wavefront-obj-files-in-qts-opengl-es/comment-page-1/#comment-1053</link>
		<dc:creator>Vignesh</dc:creator>
		<pubDate>Tue, 12 Jul 2011 08:11:03 +0000</pubDate>
		<guid isPermaLink="false">http://dragly.org/?p=242#comment-1053</guid>
		<description>Hi Svenn,

I downloaded your QT Obj loader application and run it. But .exe file does not run and programs exits without opening the Output. Is there any updated version of ur application or a working copy? Can you check and upload a working copy.

Thanks, 

Vignesh</description>
		<content:encoded><![CDATA[<p>Hi Svenn,</p>
<p>I downloaded your QT Obj loader application and run it. But .exe file does not run and programs exits without opening the Output. Is there any updated version of ur application or a working copy? Can you check and upload a working copy.</p>
<p>Thanks, </p>
<p>Vignesh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Svenn-Arne Dragly</title>
		<link>http://dragly.org/2010/04/09/loading-wavefront-obj-files-in-qts-opengl-es/comment-page-1/#comment-957</link>
		<dc:creator>Svenn-Arne Dragly</dc:creator>
		<pubDate>Thu, 09 Jun 2011 12:58:03 +0000</pubDate>
		<guid isPermaLink="false">http://dragly.org/?p=242#comment-957</guid>
		<description>Of course! You could try to download it with this link:
https://github.com/dragly/hellogl_es2_obj_loader/zipball/master

If that doesn&#039;t work I&#039;ll upload a zip for you and link it. Just give me a notice if that&#039;s the case.</description>
		<content:encoded><![CDATA[<p>Of course! You could try to download it with this link:<br />
<a href="https://github.com/dragly/hellogl_es2_obj_loader/zipball/master" rel="nofollow">https://github.com/dragly/hellogl_es2_obj_loader/zipball/master</a></p>
<p>If that doesn&#8217;t work I&#8217;ll upload a zip for you and link it. Just give me a notice if that&#8217;s the case.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Reinhard</title>
		<link>http://dragly.org/2010/04/09/loading-wavefront-obj-files-in-qts-opengl-es/comment-page-1/#comment-956</link>
		<dc:creator>Reinhard</dc:creator>
		<pubDate>Thu, 09 Jun 2011 10:13:10 +0000</pubDate>
		<guid isPermaLink="false">http://dragly.org/?p=242#comment-956</guid>
		<description>Hello Svenn,

Please can I get a zip file with whole example. If I try to download it from http://github.com/dragly/hellogl_es2_obj_loader then I get html pages.

Thank you,
Reinhard</description>
		<content:encoded><![CDATA[<p>Hello Svenn,</p>
<p>Please can I get a zip file with whole example. If I try to download it from <a href="http://github.com/dragly/hellogl_es2_obj_loader" rel="nofollow">http://github.com/dragly/hellogl_es2_obj_loader</a> then I get html pages.</p>
<p>Thank you,<br />
Reinhard</p>
]]></content:encoded>
	</item>
</channel>
</rss>

