<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>directcanvas Discussions Rss Feed</title><link>http://directcanvas.codeplex.com/discussions</link><description>directcanvas Discussions Rss Description</description><item><title>New Post: Load TGA Image without using WIC</title><link>http://directcanvas.codeplex.com/discussions/287249</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hi, found DirectCanvas recently and it is amazing.&lt;/p&gt;
&lt;p&gt;How can I load TGA image nativly supported by&lt;span id="chickenFeet"&gt; &lt;a&gt;SlimDX.Direct3D10.&lt;/a&gt;&lt;a&gt;Texture2D.&lt;/a&gt;&lt;span&gt;FromFile(Device, String) and attach it to drawing layer?&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;I have one more question. I need to extract raw bytes from a DrawingLayer in BRGA or ARGB buffer after I render something on it.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;Thanks.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;</description><author>rosenkostov</author><pubDate>Tue, 24 Jan 2012 17:25:45 GMT</pubDate><guid isPermaLink="false">New Post: Load TGA Image without using WIC 20120124052545P</guid></item><item><title>New Post: Use Case?</title><link>http://directcanvas.codeplex.com/discussions/246512</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Charts with sensible performance comes to mind...&lt;/p&gt;&lt;/div&gt;</description><author>oskarK</author><pubDate>Thu, 12 May 2011 19:50:36 GMT</pubDate><guid isPermaLink="false">New Post: Use Case? 20110512075036P</guid></item><item><title>New Post: VC++ 2010 Runtimes</title><link>http://directcanvas.codeplex.com/discussions/252688</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Ok, so pulling the latest from codeplex on my Windows 7 64bit laptop (vs2010) I get working samples! :)&lt;br /&gt;Though, this ultimately should work on my vista machine correct?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;--dave&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>davehorner</author><pubDate>Mon, 09 May 2011 13:38:25 GMT</pubDate><guid isPermaLink="false">New Post: VC++ 2010 Runtimes 20110509013825P</guid></item><item><title>New Post: VC++ 2010 Runtimes</title><link>http://directcanvas.codeplex.com/discussions/252688</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;This machine has all sorts of stuff on it. &amp;nbsp;It has Microsoft .Net Framework 4 client profile, 4 Extended, 4 Multi-targeting Pack, DirectX SDK Feb 07,DirectX SDK June 2007, VS2005 pro,VS2008 pro,2010 pro&lt;/p&gt;&lt;/div&gt;</description><author>davehorner</author><pubDate>Wed, 27 Apr 2011 21:43:13 GMT</pubDate><guid isPermaLink="false">New Post: VC++ 2010 Runtimes 20110427094313P</guid></item><item><title>New Post: VC++ 2010 Runtimes</title><link>http://directcanvas.codeplex.com/discussions/252688</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;@davehorner: do you have the .NET 4 runtimes or Visual Studio installed?&lt;/p&gt;&lt;/div&gt;</description><author>jdsmith99</author><pubDate>Wed, 27 Apr 2011 01:43:27 GMT</pubDate><guid isPermaLink="false">New Post: VC++ 2010 Runtimes 20110427014327A</guid></item><item><title>New Post: VC++ 2010 Runtimes</title><link>http://directcanvas.codeplex.com/discussions/252688</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Additional information that might be handy, I did notice that the handle coming back from&amp;nbsp;IntPtr GetSharedHandle(SlimDX.Direct3D10.Texture2D Texture) was negative (-2147419200). &amp;nbsp;All the other parameters looked OK to me.&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>davehorner</author><pubDate>Tue, 19 Apr 2011 00:17:58 GMT</pubDate><guid isPermaLink="false">New Post: VC++ 2010 Runtimes 20110419121758A</guid></item><item><title>New Post: VC++ 2010 Runtimes</title><link>http://directcanvas.codeplex.com/discussions/252688</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I installed the directx_Jun2010_redist.exe as linked on the home page. &amp;nbsp;I also tried installing the VC++2010 runtimes found here:&lt;/p&gt;
&lt;p&gt;Microsoft Visual C++ 2010 Redistributable Package (x86)&lt;br /&gt; &lt;a href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=a7b7a05e-6de6-4d3a-a423-37bf0912db84"&gt;http://www.microsoft.com/downloads/en/details.aspx?FamilyID=a7b7a05e-6de6-4d3a-a423-37bf0912db84&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;When I tried to run WindowsFormsTest, I found that it referenced a Wildlife.wmv and failed, I placed a file there...&lt;br /&gt;I now get this:&lt;br /&gt;a TargetInvocationException when doing&amp;nbsp;_touchHandler = Factory.CreateHandler&amp;lt;Windows7.Multitouch.TouchHandler&amp;gt;(panel1);&lt;br /&gt;&lt;br /&gt;I am running on a Vista Ultimate 32bit OS, so that means I won't be playing with that sample on this machine....&lt;br /&gt;&lt;br /&gt;So, I then went back to the next sample, &amp;nbsp;WPFTestApp, when I run it, I get the following Direct3D9Exception (E_INVALIDARG) on&lt;br /&gt;E_INVALIDARG: An invalid parameter was passed to the returning function (-2147024809)&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&amp;gt;&lt;span&gt; &lt;/span&gt;DirectCanvas.dll!DirectCanvas.D3DImageSlimDX.SetBackBufferSlimDX(SlimDX.Direct3D10.Texture2D Texture = {SlimDX.Direct3D10.Texture2D}) Line 77&lt;span&gt; &lt;/span&gt;C#&amp;nbsp;&lt;span&gt; &lt;/span&gt;DirectCanvas.dll!DirectCanvas.WPFPresenter.SetBackBuffer() Line 188 + 0x34 bytes&lt;span&gt; &lt;/span&gt;C#&amp;nbsp;&lt;span&gt; &lt;/span&gt;DirectCanvas.dll!DirectCanvas.WPFPresenter.InitD3DImage(int width = 825, int height = 650) Line 183 + 0x8 bytes&lt;span&gt; &lt;/span&gt;C#&amp;nbsp;&lt;span&gt; &lt;/span&gt;DirectCanvas.dll!DirectCanvas.WPFPresenter.WPFPresenter(DirectCanvas.DirectCanvasFactory directCanvas = {DirectCanvas.DirectCanvasFactory}, int width = 825, int height = 650) Line 93 + 0xe bytes&lt;span&gt; &lt;/span&gt;C#&amp;nbsp;&lt;span&gt; &lt;/span&gt;DirectCanvas.dll!DirectCanvas.WPFPresenter.WPFPresenter(DirectCanvas.DirectCanvasFactory directCanvas = {DirectCanvas.DirectCanvasFactory}, int width = 825, int height = 650, System.Windows.Controls.Image image = {System.Windows.Controls.Image}) Line 103 + 0x11 bytes&lt;span&gt; &lt;/span&gt;C#&amp;nbsp;&lt;span&gt; &lt;/span&gt;WPFTestApp.exe!WPFTestApp.MainWindow.InitDirectCanvas() Line 171 + 0x62 bytes&lt;span&gt; &lt;/span&gt;C#&amp;nbsp;&lt;span&gt; &lt;/span&gt;WPFTestApp.exe!WPFTestApp.MainWindow.MainWindow_Loaded(object sender = {WPFTestApp.MainWindow}, System.Windows.RoutedEventArgs e = {System.Windows.RoutedEventArgs}) Line 65 + 0x8 bytes&lt;span&gt; &lt;/span&gt;C#&lt;/p&gt;
&lt;p&gt;Any thoughts on how to get past this error?&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;--dave&lt;br /&gt;&lt;br /&gt;PS&amp;gt; your dnn article linked on the DirectCanvas home page for the&amp;nbsp;DXVA checker is full of bad links, you might want to remove that reference on the DirectCanvas homepage.&lt;/p&gt;&lt;/div&gt;</description><author>davehorner</author><pubDate>Mon, 18 Apr 2011 23:59:54 GMT</pubDate><guid isPermaLink="false">New Post: VC++ 2010 Runtimes 20110418115954P</guid></item><item><title>New Post: VC++ 2010 Runtimes</title><link>http://directcanvas.codeplex.com/discussions/252688</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;In addition to the DirectX runtime noted on the project's home page, apps built with DirectCanvas require the VC&amp;#43;&amp;#43; 2010 runtime. I built some sample apps and deployed them to a &amp;quot;clean&amp;quot; machine. No luck until I installed the VC&amp;#43;&amp;#43; 2010 runtime. I used v 10.0.30319.&lt;/p&gt;
&lt;/div&gt;</description><author>jdsmith99</author><pubDate>Tue, 05 Apr 2011 23:12:17 GMT</pubDate><guid isPermaLink="false">New Post: VC++ 2010 Runtimes 20110405111217P</guid></item><item><title>New Post: Adding elements dynamically</title><link>http://directcanvas.codeplex.com/discussions/252286</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Very cool project.&lt;/p&gt;
&lt;p&gt;Any suggestions on adding visual elements at run time? I can think of several ways to do it, but any guidance as to what
&lt;span style="text-decoration:underline"&gt;you&lt;/span&gt; think is the best way? For example, if I create a particle simulation, and I want to allow users to, click the mouse to add a new particle to the system...how should I do it (add an additional particle)? Something
 like a method on my Scene class? Wasn't sure if there was something in the library to handle a case like this or any big gotchas to watch for.&lt;/p&gt;
&lt;/div&gt;</description><author>jdsmith99</author><pubDate>Sun, 03 Apr 2011 02:13:09 GMT</pubDate><guid isPermaLink="false">New Post: Adding elements dynamically 20110403021309A</guid></item><item><title>New Post: DirectX9 Support?</title><link>http://directcanvas.codeplex.com/discussions/247631</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hi Jer,&lt;/p&gt;
&lt;p&gt;thanks for contributing this project, pretty amazing stuff you got going there. I tried to get this running at home, but first I stumbled over the DX10 HW requirement. On my other machine I could get it running then. While Direct2D is DX10 based, MS put
 quite a lot of effort into making it still compatible with DX9 HW by using the D3D10Level9 layer. By lowering the FeatureLevel parameter in the device creation call, you can create a DX10 device even on DX9 hardware, and most of the stuff will be HW accelerated.&lt;/p&gt;
&lt;p&gt;This however does not work with your solution, because you are using version 4.0 pixel and vertex shaders for your SpriteRenderer. While the SpriteRenderer seems to be highly optimized, offloading the transform calculations to the GPU, you are loosing big
 part of potential users. Lots of users have rather powerful DX9 cards, yet they cannot run your code at all. Are you considering to add a second rendering path using version 2.0 shaders at some point?&lt;/p&gt;
&lt;p&gt;Luke&lt;/p&gt;
&lt;/div&gt;</description><author>LukasFellechner</author><pubDate>Fri, 25 Feb 2011 23:23:11 GMT</pubDate><guid isPermaLink="false">New Post: DirectX9 Support? 20110225112311P</guid></item><item><title>New Post: Use Case?</title><link>http://directcanvas.codeplex.com/discussions/246512</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;What are some potential uses for this?&lt;/p&gt;
&lt;/div&gt;</description><author>ftballguy45</author><pubDate>Thu, 17 Feb 2011 17:18:50 GMT</pubDate><guid isPermaLink="false">New Post: Use Case? 20110217051850P</guid></item><item><title>New Post: WPF demo?</title><link>http://directcanvas.codeplex.com/Thread/View.aspx?ThreadId=244540</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Did some more tests.&lt;/p&gt;
&lt;p&gt;On my other Windows7 32bit (i7 with Asus EAH6850 1GB gfx card) WPF example works fine. But on my Windows7 32bit (Quad core, GeForce 8800GT gfx card) the WPF example is &amp;quot;black&amp;quot; (audio plays) strangely WinForms example works. Running 62889 version&lt;/p&gt;
&lt;/div&gt;</description><author>kenneta</author><pubDate>Fri, 04 Feb 2011 10:17:30 GMT</pubDate><guid isPermaLink="false">New Post: WPF demo? 20110204101730A</guid></item><item><title>New Post: WPF demo?</title><link>http://directcanvas.codeplex.com/Thread/View.aspx?ThreadId=244540</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hi Jer,&lt;/p&gt;
&lt;p&gt;&amp;quot;WindowsFormsTest&amp;quot; works just fine&amp;nbsp;but &amp;quot;WPFTestApp&amp;quot; is just black, nothing happens (buttons or touch).&lt;/p&gt;
&lt;p&gt;/Ken&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/div&gt;</description><author>kenneta</author><pubDate>Thu, 03 Feb 2011 18:17:49 GMT</pubDate><guid isPermaLink="false">New Post: WPF demo? 20110203061749P</guid></item><item><title>New Post: Hello DirectCanvas</title><link>http://directcanvas.codeplex.com/Thread/View.aspx?ThreadId=243917</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hello Jeremiah!&lt;/p&gt;
&lt;p&gt;Just wanted to let you know i am very curious about DirectCanvas, and can't wait to test.&lt;/p&gt;
&lt;p&gt;Code well!&lt;br&gt;
Bye&lt;/p&gt;
&lt;p&gt;Stefano&lt;/p&gt;
&lt;/div&gt;</description><author>mightypanda</author><pubDate>Mon, 31 Jan 2011 00:01:53 GMT</pubDate><guid isPermaLink="false">New Post: Hello DirectCanvas 20110131120153A</guid></item></channel></rss>