<?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: XNA Game Engine Tutorial Series #3 &#8211; Utilities, Components, Camera, Actor</title>
	<atom:link href="http://www.innovativegames.net/blog/blog/2008/10/14/engine-tutorial-3/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.innovativegames.net/blog/blog/2008/10/14/engine-tutorial-3/</link>
	<description>Independent game development blog by Sean James</description>
	<lastBuildDate>Thu, 02 Feb 2012 11:54:33 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.3</generator>
	<item>
		<title>By: Jay</title>
		<link>http://www.innovativegames.net/blog/blog/2008/10/14/engine-tutorial-3/comment-page-1/#comment-31980</link>
		<dc:creator>Jay</dc:creator>
		<pubDate>Fri, 11 Nov 2011 20:28:59 +0000</pubDate>
		<guid isPermaLink="false">http://innovativegames.net/blog/?p=112#comment-31980</guid>
		<description>Maybe I should have read the comment above mine. Lol.  That fixed it.</description>
		<content:encoded><![CDATA[<p>Maybe I should have read the comment above mine. Lol.  That fixed it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay</title>
		<link>http://www.innovativegames.net/blog/blog/2008/10/14/engine-tutorial-3/comment-page-1/#comment-31979</link>
		<dc:creator>Jay</dc:creator>
		<pubDate>Fri, 11 Nov 2011 20:27:46 +0000</pubDate>
		<guid isPermaLink="false">http://innovativegames.net/blog/?p=112#comment-31979</guid>
		<description>Hello all,  I was going through this tutorial when I ran into some problems.  I tried downloading the sample code to see if it would run and it does, but before anything is displayed on the screen I get the following error:

System.NullReferenceException was unhandled

on this line:

effect.Parameters[&quot;View&quot;].SetValue(camera.View);

from the Actor.cs class

Does anyone know why this is happening?</description>
		<content:encoded><![CDATA[<p>Hello all,  I was going through this tutorial when I ran into some problems.  I tried downloading the sample code to see if it would run and it does, but before anything is displayed on the screen I get the following error:</p>
<p>System.NullReferenceException was unhandled</p>
<p>on this line:</p>
<p>effect.Parameters["View"].SetValue(camera.View);</p>
<p>from the Actor.cs class</p>
<p>Does anyone know why this is happening?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: biggs</title>
		<link>http://www.innovativegames.net/blog/blog/2008/10/14/engine-tutorial-3/comment-page-1/#comment-23354</link>
		<dc:creator>biggs</dc:creator>
		<pubDate>Tue, 24 May 2011 05:57:22 +0000</pubDate>
		<guid isPermaLink="false">http://innovativegames.net/blog/?p=112#comment-23354</guid>
		<description>replace those parameter lines with: 

                    effect.World = transforms[mesh.ParentBone.Index] * world;
                    effect.View = camera.View;
                    effect.Projection = camera.Projection;

not sure if this is a change in xna 4.0 or what but that should solve your problems.</description>
		<content:encoded><![CDATA[<p>replace those parameter lines with: </p>
<p>                    effect.World = transforms[mesh.ParentBone.Index] * world;<br />
                    effect.View = camera.View;<br />
                    effect.Projection = camera.Projection;</p>
<p>not sure if this is a change in xna 4.0 or what but that should solve your problems.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anthony Lisowski</title>
		<link>http://www.innovativegames.net/blog/blog/2008/10/14/engine-tutorial-3/comment-page-1/#comment-15398</link>
		<dc:creator>Anthony Lisowski</dc:creator>
		<pubDate>Thu, 10 Feb 2011 02:23:44 +0000</pubDate>
		<guid isPermaLink="false">http://innovativegames.net/blog/?p=112#comment-15398</guid>
		<description>So, I am using this tutorial to learn XNA and so far its been really helpful. However im having a few problems. When I try to run the project I get errors on the following lines

effect.Parameters[&quot;View&quot;].SetValue(camera.View);
effect.Parameters[&quot;Projection&quot;].SetValue(camera.Projection);

&quot;Object reference not set to an instance of an object.&quot;

If I make sure effect.Parameters[&quot;View&quot;] is not null before attempting it will get render the scene.

However my other issue is that the the model is rendering as a flat graphic. And it doesnt matter what information I set for its position, the camera position or the camera target, the same flat graphic appears with the same dimension. Any idea what is happening?</description>
		<content:encoded><![CDATA[<p>So, I am using this tutorial to learn XNA and so far its been really helpful. However im having a few problems. When I try to run the project I get errors on the following lines</p>
<p>effect.Parameters["View"].SetValue(camera.View);<br />
effect.Parameters["Projection"].SetValue(camera.Projection);</p>
<p>&#8220;Object reference not set to an instance of an object.&#8221;</p>
<p>If I make sure effect.Parameters["View"] is not null before attempting it will get render the scene.</p>
<p>However my other issue is that the the model is rendering as a flat graphic. And it doesnt matter what information I set for its position, the camera position or the camera target, the same flat graphic appears with the same dimension. Any idea what is happening?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam Fisher</title>
		<link>http://www.innovativegames.net/blog/blog/2008/10/14/engine-tutorial-3/comment-page-1/#comment-14627</link>
		<dc:creator>Sam Fisher</dc:creator>
		<pubDate>Wed, 12 Jan 2011 02:20:23 +0000</pubDate>
		<guid isPermaLink="false">http://innovativegames.net/blog/?p=112#comment-14627</guid>
		<description>If you are getting a error CS0246: The type or namespace name &#039;Exception&#039; could not be found (are you missing a using directive or an assembly reference?)

Just include &quot;using System;&quot; above &quot;user Microsoft.Xna.Framework;&quot; had me for a few minutes.

Great tutorials.</description>
		<content:encoded><![CDATA[<p>If you are getting a error CS0246: The type or namespace name &#8216;Exception&#8217; could not be found (are you missing a using directive or an assembly reference?)</p>
<p>Just include &#8220;using System;&#8221; above &#8220;user Microsoft.Xna.Framework;&#8221; had me for a few minutes.</p>
<p>Great tutorials.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

