<?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: OpenGL/GLUT, Classes (OOP), and Problems</title>
	<atom:link href="http://paulsolt.com/2009/07/openglglut-classes-oop-and-problems/feed/" rel="self" type="application/rss+xml" />
	<link>http://paulsolt.com/2009/07/openglglut-classes-oop-and-problems/</link>
	<description>Putting the Inc back in Solt since 2005.</description>
	<lastBuildDate>Tue, 01 May 2012 15:01:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Adi</title>
		<link>http://paulsolt.com/2009/07/openglglut-classes-oop-and-problems/comment-page-1/#comment-1829</link>
		<dc:creator>Adi</dc:creator>
		<pubDate>Tue, 24 Aug 2010 01:29:21 +0000</pubDate>
		<guid isPermaLink="false">http://paulsolt.com/?p=156#comment-1829</guid>
		<description>&lt;a href=&quot;#comment-1828&quot; rel=&quot;nofollow&quot;&gt;@Paul Solt &lt;/a&gt; 
I was able to download your example and get it running using code::block in Ubuntu. All I had to do was to download freeglut_std.h from here: http://www.koders.com/c/fid9C884D79DFF686DE5685DF424FC66761EADD7313.aspx?s=freeglut_std.h#L5 and to replace in 3 places &quot;NULL&quot; with &quot;0&quot; in PerformanceTimer.cpp file.
Many thanks again! I will check from time to time to see what other goodies you will share :)</description>
		<content:encoded><![CDATA[<p><a href="#comment-1828" rel="nofollow">@Paul Solt </a><br />
I was able to download your example and get it running using code::block in Ubuntu. All I had to do was to download freeglut_std.h from here: <a href="http://www.koders.com/c/fid9C884D79DFF686DE5685DF424FC66761EADD7313.aspx?s=freeglut_std.h#L5" rel="nofollow">http://www.koders.com/c/fid9C884D79DFF686DE5685DF424FC66761EADD7313.aspx?s=freeglut_std.h#L5</a> and to replace in 3 places &#8220;NULL&#8221; with &#8220;0&#8243; in PerformanceTimer.cpp file.<br />
Many thanks again! I will check from time to time to see what other goodies you will share <img src='http://paulsolt.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Solt</title>
		<link>http://paulsolt.com/2009/07/openglglut-classes-oop-and-problems/comment-page-1/#comment-1828</link>
		<dc:creator>Paul Solt</dc:creator>
		<pubDate>Sun, 22 Aug 2010 22:59:59 +0000</pubDate>
		<guid isPermaLink="false">http://paulsolt.com/?p=156#comment-1828</guid>
		<description>You&#039;re welcome. I&#039;ve also been frustrated a lot by the shear complexity of getting started in OpenGL. Hopefully this is a good starting point and I&#039;ll follow up with more documentation.

I didn&#039;t post the code before, since it was all mangled in my class project and I had to spend a good deal of time cleaning it up for release. There&#039;s still things that could be changed, and I plan on updating them in the near future.

The code on github is a lot more friendly than the steps that I discussed regarding the static instance. The instance is set from within the framework, instead of requiring the user to set it in their code.</description>
		<content:encoded><![CDATA[<p>You&#8217;re welcome. I&#8217;ve also been frustrated a lot by the shear complexity of getting started in OpenGL. Hopefully this is a good starting point and I&#8217;ll follow up with more documentation.</p>
<p>I didn&#8217;t post the code before, since it was all mangled in my class project and I had to spend a good deal of time cleaning it up for release. There&#8217;s still things that could be changed, and I plan on updating them in the near future.</p>
<p>The code on github is a lot more friendly than the steps that I discussed regarding the static instance. The instance is set from within the framework, instead of requiring the user to set it in their code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adi</title>
		<link>http://paulsolt.com/2009/07/openglglut-classes-oop-and-problems/comment-page-1/#comment-1827</link>
		<dc:creator>Adi</dc:creator>
		<pubDate>Sun, 22 Aug 2010 18:38:24 +0000</pubDate>
		<guid isPermaLink="false">http://paulsolt.com/?p=156#comment-1827</guid>
		<description>&lt;a href=&quot;#comment-1822&quot; rel=&quot;nofollow&quot;&gt;@Paul Solt &lt;/a&gt; 
Great, many thanks! For programmers it is trivially simple to understand your explanations from this post. I needed to see a full working example; I have to follow trough your code and bring bits and pieces into Code::Blocks, but it is so much easier now! For beginners like me I have a tiny little example following your tutorial with just a very basic opengl instance here: http://ubuntuforums.org/showthread.php?t=1557360
I am not sure why this subject it is not a lot more discussed. Other than your example it is not too much more out there one can learn from. Keep up the good work!
Adi</description>
		<content:encoded><![CDATA[<p><a href="#comment-1822" rel="nofollow">@Paul Solt </a><br />
Great, many thanks! For programmers it is trivially simple to understand your explanations from this post. I needed to see a full working example; I have to follow trough your code and bring bits and pieces into Code::Blocks, but it is so much easier now! For beginners like me I have a tiny little example following your tutorial with just a very basic opengl instance here: <a href="http://ubuntuforums.org/showthread.php?t=1557360" rel="nofollow">http://ubuntuforums.org/showthread.php?t=1557360</a><br />
I am not sure why this subject it is not a lot more discussed. Other than your example it is not too much more out there one can learn from. Keep up the good work!<br />
Adi</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Solt</title>
		<link>http://paulsolt.com/2009/07/openglglut-classes-oop-and-problems/comment-page-1/#comment-1824</link>
		<dc:creator>Paul Solt</dc:creator>
		<pubDate>Sun, 22 Aug 2010 06:31:03 +0000</pubDate>
		<guid isPermaLink="false">http://paulsolt.com/?p=156#comment-1824</guid>
		<description>New post on the topic: http://paulsolt.com/2010/08/glut-object-oriented-framework-on-github/</description>
		<content:encoded><![CDATA[<p>New post on the topic: <a href="http://paulsolt.com/2010/08/glut-object-oriented-framework-on-github/" rel="nofollow">http://paulsolt.com/2010/08/glut-object-oriented-framework-on-github/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Solt &#187; GLUT Object Oriented Framework on Github</title>
		<link>http://paulsolt.com/2009/07/openglglut-classes-oop-and-problems/comment-page-1/#comment-1823</link>
		<dc:creator>Paul Solt &#187; GLUT Object Oriented Framework on Github</dc:creator>
		<pubDate>Sun, 22 Aug 2010 06:30:17 +0000</pubDate>
		<guid isPermaLink="false">http://paulsolt.com/?p=156#comment-1823</guid>
		<description>[...] Previous Post: http://paulsolt.com/2009/07/openglglut-classes-oop-and-problems/ [...]</description>
		<content:encoded><![CDATA[<p>[...] Previous Post: <a href="http://paulsolt.com/2009/07/openglglut-classes-oop-and-problems/" rel="nofollow">http://paulsolt.com/2009/07/openglglut-classes-oop-and-problems/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Solt</title>
		<link>http://paulsolt.com/2009/07/openglglut-classes-oop-and-problems/comment-page-1/#comment-1822</link>
		<dc:creator>Paul Solt</dc:creator>
		<pubDate>Sun, 22 Aug 2010 06:02:49 +0000</pubDate>
		<guid isPermaLink="false">http://paulsolt.com/?p=156#comment-1822</guid>
		<description>@adrian I just refactored out the code from my animation project. I&#039;m hosting it on github at: http://github.com/PaulSolt/GLUT-Object-Oriented-Framework

I&#039;ve included an Xcode 3.1 and a Visual Studio 2010 project along with the source files. I&#039;ll update the site with more information on using it.

The sample will create a simple teapot animation at 60fps.</description>
		<content:encoded><![CDATA[<p>@adrian I just refactored out the code from my animation project. I&#8217;m hosting it on github at: <a href="http://github.com/PaulSolt/GLUT-Object-Oriented-Framework" rel="nofollow">http://github.com/PaulSolt/GLUT-Object-Oriented-Framework</a></p>
<p>I&#8217;ve included an Xcode 3.1 and a Visual Studio 2010 project along with the source files. I&#8217;ll update the site with more information on using it.</p>
<p>The sample will create a simple teapot animation at 60fps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adrian Nania</title>
		<link>http://paulsolt.com/2009/07/openglglut-classes-oop-and-problems/comment-page-1/#comment-1821</link>
		<dc:creator>Adrian Nania</dc:creator>
		<pubDate>Thu, 19 Aug 2010 20:41:21 +0000</pubDate>
		<guid isPermaLink="false">http://paulsolt.com/?p=156#comment-1821</guid>
		<description>Could you post the code for a full example I can compile and run?
Thanks.</description>
		<content:encoded><![CDATA[<p>Could you post the code for a full example I can compile and run?<br />
Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Solt</title>
		<link>http://paulsolt.com/2009/07/openglglut-classes-oop-and-problems/comment-page-1/#comment-1782</link>
		<dc:creator>Paul Solt</dc:creator>
		<pubDate>Wed, 14 Apr 2010 19:55:48 +0000</pubDate>
		<guid isPermaLink="false">http://paulsolt.com/?p=156#comment-1782</guid>
		<description>&lt;a href=&quot;#comment-1781&quot; rel=&quot;nofollow&quot;&gt;@Steven &lt;/a&gt; 
Glad to hear. I&#039;ve updated my post implementation file to include the line:

&lt;pre lang=&quot;cpp&quot;&gt; AnimationFramework *AnimationFramework::instance = NULL; &lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p><a href="#comment-1781" rel="nofollow">@Steven </a><br />
Glad to hear. I&#8217;ve updated my post implementation file to include the line:</p>

<div class="wp_syntax"><div class="code"><pre class="cpp" style="font-family:monospace;"> AnimationFramework <span style="color: #000040;">*</span>AnimationFramework<span style="color: #008080;">::</span><span style="color: #007788;">instance</span> <span style="color: #000080;">=</span> <span style="color: #0000ff;">NULL</span><span style="color: #008080;">;</span></pre></div></div>

]]></content:encoded>
	</item>
	<item>
		<title>By: Steven</title>
		<link>http://paulsolt.com/2009/07/openglglut-classes-oop-and-problems/comment-page-1/#comment-1781</link>
		<dc:creator>Steven</dc:creator>
		<pubDate>Wed, 14 Apr 2010 16:55:45 +0000</pubDate>
		<guid isPermaLink="false">http://paulsolt.com/?p=156#comment-1781</guid>
		<description>Meant to post this awhile ago, but actually fixed the problem.  Had spoken to my professor and he mentioned to add:

&lt;pre lang=&quot;cpp&quot;&gt;Graphics *Graphics::instance;&lt;/pre&gt;

to the top of my Graphics.cpp file.  This did the trick and thankfully got rid of the linker error.</description>
		<content:encoded><![CDATA[<p>Meant to post this awhile ago, but actually fixed the problem.  Had spoken to my professor and he mentioned to add:</p>

<div class="wp_syntax"><div class="code"><pre class="cpp" style="font-family:monospace;">Graphics <span style="color: #000040;">*</span>Graphics<span style="color: #008080;">::</span><span style="color: #007788;">instance</span><span style="color: #008080;">;</span></pre></div></div>

<p>to the top of my Graphics.cpp file.  This did the trick and thankfully got rid of the linker error.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Solt</title>
		<link>http://paulsolt.com/2009/07/openglglut-classes-oop-and-problems/comment-page-1/#comment-1777</link>
		<dc:creator>Paul Solt</dc:creator>
		<pubDate>Sat, 03 Apr 2010 15:54:09 +0000</pubDate>
		<guid isPermaLink="false">http://paulsolt.com/?p=156#comment-1777</guid>
		<description>Have you tried creating a sample project with very basic functionality? I need to see more code.</description>
		<content:encoded><![CDATA[<p>Have you tried creating a sample project with very basic functionality? I need to see more code.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

