<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Cubemaps: the salt of computer graphics</title><link>http://blogs.msdn.com/shawnhar/archive/2008/03/04/cubemaps-the-salt-of-computer-graphics.aspx</link><description>"The eating was one of the most horrible things. Excepting the first two days after I entered the asylum, there was no salt for the food." - Nellie Bly Salt is a strange thing. In minute quantities, it makes almost any food taste better. In medium quantities,</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Cubemaps: the salt of computer graphics</title><link>http://blogs.msdn.com/shawnhar/archive/2008/03/04/cubemaps-the-salt-of-computer-graphics.aspx#9083032</link><pubDate>Sat, 15 Nov 2008 04:11:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9083032</guid><dc:creator>Gavin.w3</dc:creator><description>&lt;p&gt;Hi mate, &lt;/p&gt;
&lt;p&gt;what's the status on using the cubemapProcessor with GS 3.0. I'm getting a whole heap of errors, resultant from the .Pipeline namespace not existing in Microsoft.Xna.Framework.Content.&lt;/p&gt;
</description></item><item><title>re: Cubemaps: the salt of computer graphics</title><link>http://blogs.msdn.com/shawnhar/archive/2008/03/04/cubemaps-the-salt-of-computer-graphics.aspx#9088342</link><pubDate>Sat, 15 Nov 2008 08:40:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9088342</guid><dc:creator>Gavin.w3</dc:creator><description>&lt;p&gt;Ah. I've worked out what's going on. Pretty straight forward. I need to add a reference to Content.Pipeline because it isn't referenced by default for game projects since it's meant to be for custom importers and the like.&lt;/p&gt;
</description></item><item><title>re: Cubemaps: the salt of computer graphics</title><link>http://blogs.msdn.com/shawnhar/archive/2008/03/04/cubemaps-the-salt-of-computer-graphics.aspx#9372607</link><pubDate>Fri, 23 Jan 2009 16:23:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9372607</guid><dc:creator>Anders Larsson</dc:creator><description>&lt;p&gt;Hello&lt;/p&gt;
&lt;p&gt;It would be nice if you could explain for a total noob how to use the CubemapProcessor source code to generate cubemaps from your own photo/texture.&lt;/p&gt;
&lt;p&gt;I can't even figure out where to find the generated cubemaps after building and running the code.&lt;/p&gt;
&lt;p&gt;I'm only interested in using this to generate cubemaps for a game I'm working on (not XNA).&lt;/p&gt;
&lt;p&gt;I've tried to google for instructions on how to use it for this purpose but I'm lost.&lt;/p&gt;
&lt;p&gt;Any help you could offer would be appreciated.&lt;/p&gt;
</description></item><item><title>re: Cubemaps: the salt of computer graphics</title><link>http://blogs.msdn.com/shawnhar/archive/2008/03/04/cubemaps-the-salt-of-computer-graphics.aspx#9372887</link><pubDate>Fri, 23 Jan 2009 20:15:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9372887</guid><dc:creator>ShawnHargreaves</dc:creator><description>&lt;p&gt;When you build using the Content Pipeline, the output data is stored in a .xnb file which can be read into your game using ContentManager.Load.&lt;/p&gt;
&lt;p&gt;If you want to output the data in some other format, you could take the image manipulation code from that sample, but change it to save the data out in whatever other format you want, rather than running as part of the Content Pipeline.&lt;/p&gt;
</description></item><item><title>re: Cubemaps: the salt of computer graphics</title><link>http://blogs.msdn.com/shawnhar/archive/2008/03/04/cubemaps-the-salt-of-computer-graphics.aspx#9421855</link><pubDate>Sat, 14 Feb 2009 19:05:09 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9421855</guid><dc:creator>sunjinchao1</dc:creator><description>&lt;p&gt;I'm kinda lost here. For the project on xna creator's club: &lt;a rel="nofollow" target="_new" href="http://creators.xna.com/en-US/sample/custommodeleffect"&gt;http://creators.xna.com/en-US/sample/custommodeleffect&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Can you explain the following question a bit?&lt;/p&gt;
&lt;p&gt;How are the two projects related together?&lt;/p&gt;
&lt;p&gt;(I couldn't find how you used the project CustomModelEffectPipeline in the CustomModelEffect project, there's no reference or anything. However if I delete the pipeline project, a build error would pop up say &amp;quot;Cannot find content processor 'EnvironmentMappedModelProcessor'&amp;quot; in saucer.fbx)&lt;/p&gt;
&lt;p&gt;Thanks very much!&lt;/p&gt;
</description></item><item><title>re: Cubemaps: the salt of computer graphics</title><link>http://blogs.msdn.com/shawnhar/archive/2008/03/04/cubemaps-the-salt-of-computer-graphics.aspx#9426645</link><pubDate>Tue, 17 Feb 2009 01:54:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9426645</guid><dc:creator>ShawnHargreaves</dc:creator><description>&lt;p&gt;sunjinchao1: the Content sub project (which is nested inside the main CustomModelEffect game project) has its own set of references. These references are used at build time for creating content, as opposed to the main game references which are used at runtime while the game is executing. If you look in the Content project references, you will see that it references the CustomModelEffectPipeline project.&lt;/p&gt;
</description></item><item><title>re: Cubemaps: the salt of computer graphics</title><link>http://blogs.msdn.com/shawnhar/archive/2008/03/04/cubemaps-the-salt-of-computer-graphics.aspx#9444730</link><pubDate>Thu, 26 Feb 2009 01:59:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9444730</guid><dc:creator>sunjinchao1</dc:creator><description>&lt;p&gt;Oh, I got it! That's why you have all the classes inside CustomModelEffectPipeline project inherited the ContentProcessor classes. So that they can get picked up without notice. &lt;/p&gt;
&lt;p&gt;One more question :)&lt;/p&gt;
&lt;p&gt;How can we do cube map when the enviroment is changing? e.g. In a racing game, if the car moves from block to block in the street, or there is another car right beside it.&lt;/p&gt;
&lt;p&gt;Shouldn't the texture be changed on the fly?&lt;/p&gt;
&lt;p&gt;In this case, should we generate the cube texture from the scene dynamically rather than from a single picture?&lt;/p&gt;
</description></item><item><title>re: Cubemaps: the salt of computer graphics</title><link>http://blogs.msdn.com/shawnhar/archive/2008/03/04/cubemaps-the-salt-of-computer-graphics.aspx#9806682</link><pubDate>Sat, 27 Jun 2009 20:25:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9806682</guid><dc:creator>lance7</dc:creator><description>&lt;p&gt;I do not understand how they are connected either.&lt;/p&gt;
</description></item><item><title>re: Cubemaps: the salt of computer graphics</title><link>http://blogs.msdn.com/shawnhar/archive/2008/03/04/cubemaps-the-salt-of-computer-graphics.aspx#9806982</link><pubDate>Sun, 28 Jun 2009 04:34:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9806982</guid><dc:creator>Shawn Hargreaves</dc:creator><description>&lt;p&gt;If you want the reflections to change in realtime, then yes, in that case you need to generate the cubemap in realtime.&lt;/p&gt;
&lt;p&gt;In many cases this is not necessary, so a static cubemap can give good results. But there are certainly situations where doing true dynamic reflections is important.&lt;/p&gt;</description></item><item><title>re: Cubemaps: the salt of computer graphics</title><link>http://blogs.msdn.com/shawnhar/archive/2008/03/04/cubemaps-the-salt-of-computer-graphics.aspx#9904981</link><pubDate>Thu, 08 Oct 2009 18:29:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9904981</guid><dc:creator>codo</dc:creator><description>&lt;p&gt;Hi, I'm new to XNA. I need a tool to generate png/jpg/dds cubemap given some jpg file. How do I achieve that using CubemapProcessor? How to save the result to file?&lt;/p&gt;</description></item><item><title>re: Cubemaps: the salt of computer graphics</title><link>http://blogs.msdn.com/shawnhar/archive/2008/03/04/cubemaps-the-salt-of-computer-graphics.aspx#9906674</link><pubDate>Tue, 13 Oct 2009 15:54:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9906674</guid><dc:creator>ShawnHargreaves</dc:creator><description>&lt;p&gt;codo: the Content Pipeline is designed to output data in .xnb format. If you want your output to be in some other format, you should not use the Content Pipeline.&lt;/p&gt;
&lt;p&gt;You could certainly use the same image manipulation algorithm as the CubemapProcessor in our sample (you have the source code so you can see how it works) but you would need to make your own system for loading and saving the data either side of this transformation.&lt;/p&gt;
</description></item><item><title>re: Cubemaps: the salt of computer graphics</title><link>http://blogs.msdn.com/shawnhar/archive/2008/03/04/cubemaps-the-salt-of-computer-graphics.aspx#9941311</link><pubDate>Sat, 26 Dec 2009 22:24:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9941311</guid><dc:creator>coffee bean</dc:creator><description>&lt;p&gt;Sorry, what is his .xnb formatand why The pipeline can not produce other output?&lt;/p&gt;</description></item><item><title>re: Cubemaps: the salt of computer graphics</title><link>http://blogs.msdn.com/shawnhar/archive/2008/03/04/cubemaps-the-salt-of-computer-graphics.aspx#9941748</link><pubDate>Mon, 28 Dec 2009 22:43:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9941748</guid><dc:creator>ShawnHargreaves</dc:creator><description>&lt;p&gt;&amp;gt; what is his .xnb format&lt;/p&gt;
&lt;p&gt;It is the output format from the XNA Framework Content Pipeline. You can read an overview of the Content Pipeline architecture here: &lt;a rel="nofollow" target="_new" href="http://msdn.microsoft.com/en-us/library/bb447745.aspx"&gt;http://msdn.microsoft.com/en-us/library/bb447745.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;gt; why The pipeline can not produce other output?&lt;/p&gt;
&lt;p&gt;Because the pipeline is only designed to create .xnb files.&lt;/p&gt;
</description></item></channel></rss>