<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.xna.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>Direct3D 10 </title><link>http://forums.xna.com/forums/29.aspx</link><description>Only questions about the Direct3D 10 API are permitted here.</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 (Build: 0.0)</generator><item><title>Re: Get RGBA from DDS-file</title><link>http://forums.xna.com/forums/thread/194663.aspx</link><pubDate>Mon, 29 Jun 2009 20:56:03 GMT</pubDate><guid isPermaLink="false">4aa5dbf6-357b-46b2-b5b2-1b660a6dc370:194663</guid><dc:creator>legalize</dc:creator><slash:comments>0</slash:comments><comments>http://forums.xna.com/forums/thread/194663.aspx</comments><wfw:commentRss>http://forums.xna.com/forums/commentrss.aspx?SectionID=29&amp;PostID=194663</wfw:commentRss><description>&lt;ol&gt;
&lt;li&gt;Use D3DXLoadSurfaceFromFile to load the DDS file into a surface (an offscreen plain surface in system memory is fine for this)&lt;/li&gt;
&lt;li&gt;Lock the surface&lt;/li&gt;
&lt;li&gt;Get the pixel data from the locked surface pointer&lt;/li&gt;
&lt;li&gt;Unlock the surface&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Locking and accessing surface data directly is covered in &lt;a href="http://www.xmission.com/~legalize/book/download/04-2D%20Applications.pdf"&gt;Chapter 4. 2D Applications&lt;/a&gt; of my book &lt;a href="http://www.xmission.com/~legalize/book/download/"&gt;The Direct3D Graphics Pipeline&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Get RGBA from DDS-file</title><link>http://forums.xna.com/forums/thread/148660.aspx</link><pubDate>Wed, 11 Mar 2009 07:51:40 GMT</pubDate><guid isPermaLink="false">4aa5dbf6-357b-46b2-b5b2-1b660a6dc370:148660</guid><dc:creator>sakmor</dc:creator><slash:comments>0</slash:comments><comments>http://forums.xna.com/forums/thread/148660.aspx</comments><wfw:commentRss>http://forums.xna.com/forums/commentrss.aspx?SectionID=29&amp;PostID=148660</wfw:commentRss><description>Hello everyone~I am beginner of directX game program. &lt;br /&gt;
I have a question for Directx , i what to get pre-pixel data form DDS-file.&lt;br /&gt;
(like giving X,Y coordinates , then get r,g,b,a ).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
i what write a program to analysis displacement map ,to find where need more weight to subdivision&amp;nbsp; or less.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://sakmor.myweb.hinet.net/temp/SubDnDisplace" target="_media"&gt;http://sakmor.myweb.hinet.net/temp/SubDnDisplace&lt;/a&gt;&lt;br /&gt;
==============================================================================&lt;br /&gt;
P.S.: sorry for my bad English Razz &lt;br /&gt;</description></item></channel></rss>