<?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/">
	<channel>
		<title><![CDATA[WPF Graphics Forum - All Forums]]></title>
		<link>http://forum.wpf-graphics.com/</link>
		<description><![CDATA[WPF Graphics Forum - http://forum.wpf-graphics.com]]></description>
		<pubDate>Fri, 10 Sep 2010 14:48:05 +0200</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[Another Texture Problem]]></title>
			<link>http://forum.wpf-graphics.com/showthread.php?tid=56</link>
			<pubDate>Thu, 26 Aug 2010 16:34:52 +0200</pubDate>
			<guid isPermaLink="false">http://forum.wpf-graphics.com/showthread.php?tid=56</guid>
			<description><![CDATA[Ok, first off, I think I’m really beginning to like your product. I’m just learning C# so I may be making things more difficult then they need to be. Also, I’m using the evaluation software until I can get enough built to convince my supervisor to buy me the software. <br />
<br />
My goal is to be able to load 3ds models at run time.  In the end I need to be able to grab a path from an xml file and load the model it points to. <br />
<br />
Right now I can load a model and its textures loaded into the project as a resource. The problem comes when I change the path to a hard coded path on the hard drive. I can get the model to load but, the textures do not show up at all. Am I doing something wrong? <br />
<br />
on a side note I have no idea how to work "ThrowMissingTextureException" The help file was less then helpful. <br />
<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>namespace Battleship<br />
{<br />
&nbsp;&nbsp;&nbsp;&nbsp;/// &lt;summary&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;/// Interaction logic for MainWindow.xaml<br />
&nbsp;&nbsp;&nbsp;&nbsp;/// &lt;/summary&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;public partial class MainWindow : Window<br />
&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;private Ab3d.Reader3ds _battleship;<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;PerspectiveCamera myPCamera = new PerspectiveCamera();<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Directional light values.<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;private DirectionalLight myDirectionalLight = new DirectionalLight();<br />
&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Model3DGroup modelGroup = new Model3DGroup();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;public MainWindow()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;InitializeComponent();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />
<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;private void myPageLoaded(object sender, EventArgs e)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;_battleship = new Ab3d.Reader3ds();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;_battleship.ThrowMissingTextureException = true;<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Uri uri = new Uri("pack://application:,,,/WpfApplication1;component/models/battleship.3DS", UriKind.Absolute);<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//_battleship.TexturesPath = "pack://application:,,,/WpfApplication1;component/models";<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;_battleship.TexturesPath = "C:/Documents and Settings/p00009656/Desktop/3d Models";<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;_battleship.ReadFile("C:/Documents and Settings/p00009656/Desktop/3d Models/battleship.3DS", Viewport1);<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//using (Stream stream = Application.GetResourceStream(uri).Stream)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//{<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;&nbsp;&nbsp;&nbsp;modelGroup = _battleship.ReadFile(stream, Viewport1, 0);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//}<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;myDirectionalLight.Color = Colors.White;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;myDirectionalLight.Direction = new Vector3D(0, -1, 0);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;modelGroup.Children.Add(myDirectionalLight);<br />
<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;myPCamera = (Viewport1.Camera as PerspectiveCamera);<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Set camera viewpoint and properties.<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;myPCamera.FieldOfView = 60;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;myPCamera.Position = new Point3D(8000, 2000, 5000);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;myPCamera.LookDirection = new Vector3D(-1, -.2, -.5);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;myPCamera.UpDirection = new Vector3D(0, 1, 0);<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
<br />
}</code></div></div>
<br />
<br />
<br />
<br />
Thanks,<br />
        Bryan]]></description>
			<content:encoded><![CDATA[Ok, first off, I think I’m really beginning to like your product. I’m just learning C# so I may be making things more difficult then they need to be. Also, I’m using the evaluation software until I can get enough built to convince my supervisor to buy me the software. <br />
<br />
My goal is to be able to load 3ds models at run time.  In the end I need to be able to grab a path from an xml file and load the model it points to. <br />
<br />
Right now I can load a model and its textures loaded into the project as a resource. The problem comes when I change the path to a hard coded path on the hard drive. I can get the model to load but, the textures do not show up at all. Am I doing something wrong? <br />
<br />
on a side note I have no idea how to work "ThrowMissingTextureException" The help file was less then helpful. <br />
<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>namespace Battleship<br />
{<br />
&nbsp;&nbsp;&nbsp;&nbsp;/// &lt;summary&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;/// Interaction logic for MainWindow.xaml<br />
&nbsp;&nbsp;&nbsp;&nbsp;/// &lt;/summary&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;public partial class MainWindow : Window<br />
&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;private Ab3d.Reader3ds _battleship;<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;PerspectiveCamera myPCamera = new PerspectiveCamera();<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Directional light values.<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;private DirectionalLight myDirectionalLight = new DirectionalLight();<br />
&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Model3DGroup modelGroup = new Model3DGroup();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;public MainWindow()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;InitializeComponent();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />
<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;private void myPageLoaded(object sender, EventArgs e)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;_battleship = new Ab3d.Reader3ds();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;_battleship.ThrowMissingTextureException = true;<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Uri uri = new Uri("pack://application:,,,/WpfApplication1;component/models/battleship.3DS", UriKind.Absolute);<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//_battleship.TexturesPath = "pack://application:,,,/WpfApplication1;component/models";<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;_battleship.TexturesPath = "C:/Documents and Settings/p00009656/Desktop/3d Models";<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;_battleship.ReadFile("C:/Documents and Settings/p00009656/Desktop/3d Models/battleship.3DS", Viewport1);<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//using (Stream stream = Application.GetResourceStream(uri).Stream)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//{<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;&nbsp;&nbsp;&nbsp;modelGroup = _battleship.ReadFile(stream, Viewport1, 0);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//}<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;myDirectionalLight.Color = Colors.White;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;myDirectionalLight.Direction = new Vector3D(0, -1, 0);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;modelGroup.Children.Add(myDirectionalLight);<br />
<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;myPCamera = (Viewport1.Camera as PerspectiveCamera);<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Set camera viewpoint and properties.<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;myPCamera.FieldOfView = 60;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;myPCamera.Position = new Point3D(8000, 2000, 5000);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;myPCamera.LookDirection = new Vector3D(-1, -.2, -.5);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;myPCamera.UpDirection = new Vector3D(0, 1, 0);<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
<br />
}</code></div></div>
<br />
<br />
<br />
<br />
Thanks,<br />
        Bryan]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Changing 3ds file position on viewport]]></title>
			<link>http://forum.wpf-graphics.com/showthread.php?tid=55</link>
			<pubDate>Wed, 18 Aug 2010 13:31:49 +0200</pubDate>
			<guid isPermaLink="false">http://forum.wpf-graphics.com/showthread.php?tid=55</guid>
			<description><![CDATA[Hai,<br />
<br />
     I am using viewer3ds and powertoys reference in my project.each time when i try to load 3ds files to a viewport from a listbox by using ab3.reader3ds.readfile object  , the position of current 3ds file is changing so that i can`nt  rotate file correctly .How can i place the object with exact position and size on viewport.<br />
                                              regards,<br />
                                              shinoy]]></description>
			<content:encoded><![CDATA[Hai,<br />
<br />
     I am using viewer3ds and powertoys reference in my project.each time when i try to load 3ds files to a viewport from a listbox by using ab3.reader3ds.readfile object  , the position of current 3ds file is changing so that i can`nt  rotate file correctly .How can i place the object with exact position and size on viewport.<br />
                                              regards,<br />
                                              shinoy]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Feature is only available in the Pro Version]]></title>
			<link>http://forum.wpf-graphics.com/showthread.php?tid=54</link>
			<pubDate>Sat, 14 Aug 2010 19:44:33 +0200</pubDate>
			<guid isPermaLink="false">http://forum.wpf-graphics.com/showthread.php?tid=54</guid>
			<description><![CDATA[Hello!<br />
<br />
I am trying to call the GetXaml() method on the reader, but I get a message telling me this method is only available in the Pro version. <br />
<br />
I am sure I purchased the Pro version. And I am probably doing something stupid where you go "dang... this guy didn't read the manual". But try as I might, I didn't find how to solve this problem. Any hints would be greatly appreciated.<br />
<br />
Thanks<br />
Markus]]></description>
			<content:encoded><![CDATA[Hello!<br />
<br />
I am trying to call the GetXaml() method on the reader, but I get a message telling me this method is only available in the Pro version. <br />
<br />
I am sure I purchased the Pro version. And I am probably doing something stupid where you go "dang... this guy didn't read the manual". But try as I might, I didn't find how to solve this problem. Any hints would be greatly appreciated.<br />
<br />
Thanks<br />
Markus]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Camera behavior]]></title>
			<link>http://forum.wpf-graphics.com/showthread.php?tid=53</link>
			<pubDate>Mon, 09 Aug 2010 17:27:22 +0200</pubDate>
			<guid isPermaLink="false">http://forum.wpf-graphics.com/showthread.php?tid=53</guid>
			<description><![CDATA[I'm writing a WPF based 3D files viewer and I'm looking for some capabilities not included in the standard 3Dmedia library, such as:<br />
- 3D axis: You have it implemented through ColoredAxisVisual3D, but I need these axis to be fixed in a corner of the 3Dviewport and not affected by zoom or pan, but affected by rotations.<br />
- Zoom, Pan and rotation with the origin of the movement in the mouse position, not in the origin of coordinates<br />
<br />
I have read similar desidered effects in the forum, but after trying the suggested solutions, I don't have what I need. For zoom and rotation I tried TargetPositionCamera, changing the TargetPosition property, but it translate the center of the viewport to the specified TargetPosition, and I just want that TargetPosition becomes the center of the movement (zoom, rotation), not the center of the scene.<br />
<br />
Can your PowerToys library help to perform those behavior?<br />
<br />
Thanks in advance,<br />
Carlos]]></description>
			<content:encoded><![CDATA[I'm writing a WPF based 3D files viewer and I'm looking for some capabilities not included in the standard 3Dmedia library, such as:<br />
- 3D axis: You have it implemented through ColoredAxisVisual3D, but I need these axis to be fixed in a corner of the 3Dviewport and not affected by zoom or pan, but affected by rotations.<br />
- Zoom, Pan and rotation with the origin of the movement in the mouse position, not in the origin of coordinates<br />
<br />
I have read similar desidered effects in the forum, but after trying the suggested solutions, I don't have what I need. For zoom and rotation I tried TargetPositionCamera, changing the TargetPosition property, but it translate the center of the viewport to the specified TargetPosition, and I just want that TargetPosition becomes the center of the movement (zoom, rotation), not the center of the scene.<br />
<br />
Can your PowerToys library help to perform those behavior?<br />
<br />
Thanks in advance,<br />
Carlos]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Reset Trial Period]]></title>
			<link>http://forum.wpf-graphics.com/showthread.php?tid=52</link>
			<pubDate>Wed, 04 Aug 2010 23:00:00 +0200</pubDate>
			<guid isPermaLink="false">http://forum.wpf-graphics.com/showthread.php?tid=52</guid>
			<description><![CDATA[I downloaded this control back in May to test it out and really liked it.  At the time there wasn't any interest in purchasing the tool by my management.  After further badgering by me, they are now interested in purchasing a site license for the product.  They are requiring me to give a demo of the product being used with our images.  So I dusted off my demo application I wrote back in May and found that the trial period has expired.  Not having another development machine available to use, is there a way I can reset the trial period so that I can demo the application using this control?  I have tried uninstalling and reinstalling but that doesn't work.]]></description>
			<content:encoded><![CDATA[I downloaded this control back in May to test it out and really liked it.  At the time there wasn't any interest in purchasing the tool by my management.  After further badgering by me, they are now interested in purchasing a site license for the product.  They are requiring me to give a demo of the product being used with our images.  So I dusted off my demo application I wrote back in May and found that the trial period has expired.  Not having another development machine available to use, is there a way I can reset the trial period so that I can demo the application using this control?  I have tried uninstalling and reinstalling but that doesn't work.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[changing material/texture at runtime]]></title>
			<link>http://forum.wpf-graphics.com/showthread.php?tid=51</link>
			<pubDate>Thu, 29 Jul 2010 20:18:41 +0200</pubDate>
			<guid isPermaLink="false">http://forum.wpf-graphics.com/showthread.php?tid=51</guid>
			<description><![CDATA[Hello.  I am new to WPF and am evaluating the reader3ds library for use with a mixed 2d/3d application.  I have a 3d object which i was able to import from a 3ds file, with animation, using reader3ds - very easy!  What I want to do now is to swap out the uvmapped texture on the fly, as a response to certain user input.  Any help I could get with this would be very much appreciated!<br />
<br />
P.S. - I understand that this might be a WPF question, not specifically related to your product.  If so, I apologize if this thread is inappropriate.]]></description>
			<content:encoded><![CDATA[Hello.  I am new to WPF and am evaluating the reader3ds library for use with a mixed 2d/3d application.  I have a 3d object which i was able to import from a 3ds file, with animation, using reader3ds - very easy!  What I want to do now is to swap out the uvmapped texture on the fly, as a response to certain user input.  Any help I could get with this would be very much appreciated!<br />
<br />
P.S. - I understand that this might be a WPF question, not specifically related to your product.  If so, I apologize if this thread is inappropriate.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Using ResourceDictionaries, NullReferenceException]]></title>
			<link>http://forum.wpf-graphics.com/showthread.php?tid=50</link>
			<pubDate>Mon, 26 Jul 2010 22:04:23 +0200</pubDate>
			<guid isPermaLink="false">http://forum.wpf-graphics.com/showthread.php?tid=50</guid>
			<description><![CDATA[I am evaluating the most recent version of ReaderSvg and in most aspects it is working well.  The resource dictionaries however do not appear to be working, or the documentation isn't sufficient.<br />
<br />
I receive a NullReferenceException from within ReaderSvg when I run code similar to the following.  Unfortunately I cannot post our SVG files on a public forum, but if someone contacts me directly I believe I can provide a sample (though so far the same error occurs for all SVG).<br />
<br />
var shapeDictionary = new ResourceDictionaryWriter();<br />
using (var stream = file.OpenRead())<br />
       shapeDictionary.AddStream(stream);<br />
<br />
  <span style="font-weight: bold;"> at Ab2d.Utility.ReaderSvg.ResourceDictionaryWriter.ഽ(Viewbox ാ, Boolean ി)<br />
   at Ab2d.Utility.ReaderSvg.ResourceDictionaryWriter.AddStream(Stream stream)</span><br />
   at SvgConverter.MainWindow.addAsShape(ResourceDictionaryWriter dictionary, FileInfo file) in C:\Source\Visual Studio 2008\Projects\SvgConverter\SvgConverter\MainWindow.xaml.cs:line 93<br />
   at SvgConverter.MainWindow.convertWithDecimals(ReaderSvg reader, DirectoryInfo inputDir, String formatString, String dirExtension) in C:\Source\Visual Studio 2008\Projects\SvgConverter\SvgConverter\MainWindow.xaml.cs:line 62<br />
   at SvgConverter.MainWindow.convert_Click(Object sender, RoutedEventArgs e) in C:\Source\Visual Studio 2008\Projects\SvgConverter\SvgConverter\MainWindow.xaml.cs:line 43<br />
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)<br />
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)<br />
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)<br />
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)<br />
   at System.Windows.Controls.Primitives.ButtonBase.OnClick()<br />
   at System.Windows.Controls.Button.OnClick()<br />
   at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)<br />
   at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)<br />
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)<br />
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)<br />
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)<br />
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)<br />
   at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)<br />
   at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)<br />
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)<br />
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)<br />
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)<br />
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)<br />
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)<br />
   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)<br />
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)<br />
   at System.Windows.Input.InputManager.ProcessStagingArea()<br />
   at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)<br />
   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)<br />
   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)<br />
   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean&amp; handled)<br />
   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean&amp; handled)<br />
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean&amp; handled)<br />
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)<br />
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)<br />
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)<br />
   at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)<br />
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)<br />
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG&amp; msg)<br />
   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)<br />
   at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)<br />
   at System.Windows.Threading.Dispatcher.Run()<br />
   at System.Windows.Application.RunDispatcher(Object ignore)<br />
   at System.Windows.Application.RunInternal(Window window)<br />
   at System.Windows.Application.Run(Window window)<br />
   at System.Windows.Application.Run()<br />
   at SvgConverter.App.Main() in C:\Source\Visual Studio 2008\Projects\SvgConverter\SvgConverter\obj\x86\Debug\App.g.cs:line 0<br />
   at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[&#93; args)<br />
   at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[&#93; args)<br />
   at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()<br />
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)<br />
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)<br />
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)<br />
   at System.Threading.ThreadHelper.ThreadStart()]]></description>
			<content:encoded><![CDATA[I am evaluating the most recent version of ReaderSvg and in most aspects it is working well.  The resource dictionaries however do not appear to be working, or the documentation isn't sufficient.<br />
<br />
I receive a NullReferenceException from within ReaderSvg when I run code similar to the following.  Unfortunately I cannot post our SVG files on a public forum, but if someone contacts me directly I believe I can provide a sample (though so far the same error occurs for all SVG).<br />
<br />
var shapeDictionary = new ResourceDictionaryWriter();<br />
using (var stream = file.OpenRead())<br />
       shapeDictionary.AddStream(stream);<br />
<br />
  <span style="font-weight: bold;"> at Ab2d.Utility.ReaderSvg.ResourceDictionaryWriter.ഽ(Viewbox ാ, Boolean ി)<br />
   at Ab2d.Utility.ReaderSvg.ResourceDictionaryWriter.AddStream(Stream stream)</span><br />
   at SvgConverter.MainWindow.addAsShape(ResourceDictionaryWriter dictionary, FileInfo file) in C:\Source\Visual Studio 2008\Projects\SvgConverter\SvgConverter\MainWindow.xaml.cs:line 93<br />
   at SvgConverter.MainWindow.convertWithDecimals(ReaderSvg reader, DirectoryInfo inputDir, String formatString, String dirExtension) in C:\Source\Visual Studio 2008\Projects\SvgConverter\SvgConverter\MainWindow.xaml.cs:line 62<br />
   at SvgConverter.MainWindow.convert_Click(Object sender, RoutedEventArgs e) in C:\Source\Visual Studio 2008\Projects\SvgConverter\SvgConverter\MainWindow.xaml.cs:line 43<br />
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)<br />
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)<br />
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)<br />
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)<br />
   at System.Windows.Controls.Primitives.ButtonBase.OnClick()<br />
   at System.Windows.Controls.Button.OnClick()<br />
   at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)<br />
   at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)<br />
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)<br />
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)<br />
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)<br />
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)<br />
   at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)<br />
   at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)<br />
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)<br />
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)<br />
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)<br />
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)<br />
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)<br />
   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)<br />
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)<br />
   at System.Windows.Input.InputManager.ProcessStagingArea()<br />
   at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)<br />
   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)<br />
   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)<br />
   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean&amp; handled)<br />
   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean&amp; handled)<br />
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean&amp; handled)<br />
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)<br />
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)<br />
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)<br />
   at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)<br />
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)<br />
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG&amp; msg)<br />
   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)<br />
   at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)<br />
   at System.Windows.Threading.Dispatcher.Run()<br />
   at System.Windows.Application.RunDispatcher(Object ignore)<br />
   at System.Windows.Application.RunInternal(Window window)<br />
   at System.Windows.Application.Run(Window window)<br />
   at System.Windows.Application.Run()<br />
   at SvgConverter.App.Main() in C:\Source\Visual Studio 2008\Projects\SvgConverter\SvgConverter\obj\x86\Debug\App.g.cs:line 0<br />
   at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)<br />
   at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)<br />
   at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()<br />
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)<br />
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)<br />
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)<br />
   at System.Threading.ThreadHelper.ThreadStart()]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Rotate 3dobject]]></title>
			<link>http://forum.wpf-graphics.com/showthread.php?tid=49</link>
			<pubDate>Tue, 13 Jul 2010 14:47:57 +0200</pubDate>
			<guid isPermaLink="false">http://forum.wpf-graphics.com/showthread.php?tid=49</guid>
			<description><![CDATA[Hello all,<br />
<br />
  How can i rotate a 3dObject along with mouseMove using transformer3ds.rotate method. i have tried some way but not getting exacly as viewer3ds software does.<br />
<br />
                                            regards,<br />
                                              shinoy]]></description>
			<content:encoded><![CDATA[Hello all,<br />
<br />
  How can i rotate a 3dObject along with mouseMove using transformer3ds.rotate method. i have tried some way but not getting exacly as viewer3ds software does.<br />
<br />
                                            regards,<br />
                                              shinoy]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Different images for each face of a cube]]></title>
			<link>http://forum.wpf-graphics.com/showthread.php?tid=48</link>
			<pubDate>Fri, 09 Jul 2010 20:13:01 +0200</pubDate>
			<guid isPermaLink="false">http://forum.wpf-graphics.com/showthread.php?tid=48</guid>
			<description><![CDATA[I need to generate cubes via code at run time and I used the Model3DFactory to figure out how to do that.  I also need to use an image as the material for each cube.  I saw the BoxVisual3D and figured out how to apply an image to a brush and then to a material.<br />
<br />
My problem is that each of the six faces of the cube has to have a different image and the material is applied to the entire cube, resulting in the same image appearing in each face of the cube.<br />
<br />
How can I apply a different image to each face of a cube?<br />
<br />
FYI, I need to do this at run time.  I don't know beforehand how many cubes I'll need to generate, their sizes, or what images will go on each face of each cube.]]></description>
			<content:encoded><![CDATA[I need to generate cubes via code at run time and I used the Model3DFactory to figure out how to do that.  I also need to use an image as the material for each cube.  I saw the BoxVisual3D and figured out how to apply an image to a brush and then to a material.<br />
<br />
My problem is that each of the six faces of the cube has to have a different image and the material is applied to the entire cube, resulting in the same image appearing in each face of the cube.<br />
<br />
How can I apply a different image to each face of a cube?<br />
<br />
FYI, I need to do this at run time.  I don't know beforehand how many cubes I'll need to generate, their sizes, or what images will go on each face of each cube.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Assigning Zoom Modes to Mouse Buttons]]></title>
			<link>http://forum.wpf-graphics.com/showthread.php?tid=47</link>
			<pubDate>Mon, 05 Jul 2010 20:42:12 +0200</pubDate>
			<guid isPermaLink="false">http://forum.wpf-graphics.com/showthread.php?tid=47</guid>
			<description><![CDATA[It would be cool if I could assign zoom modes to any of the mouse buttons.  For example, have the left button be the zoom rectangle and when I click and hold the right button, it will pan.  I got it to change modes when I click the right button by handling the MouseRightButtonDown event but Zoom Panel only drags the image when the left button is held.  I would like to be able to configure it to drag/pan it with the right button held also.  Is there a way I can do that now or perhaps you could put this in the next release.<br />
<br />
Thanks - Mark]]></description>
			<content:encoded><![CDATA[It would be cool if I could assign zoom modes to any of the mouse buttons.  For example, have the left button be the zoom rectangle and when I click and hold the right button, it will pan.  I got it to change modes when I click the right button by handling the MouseRightButtonDown event but Zoom Panel only drags the image when the left button is held.  I would like to be able to configure it to drag/pan it with the right button held also.  Is there a way I can do that now or perhaps you could put this in the next release.<br />
<br />
Thanks - Mark]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[can you use Ab2d.ReaderSvg library from a service ?]]></title>
			<link>http://forum.wpf-graphics.com/showthread.php?tid=46</link>
			<pubDate>Sun, 04 Jul 2010 14:27:15 +0200</pubDate>
			<guid isPermaLink="false">http://forum.wpf-graphics.com/showthread.php?tid=46</guid>
			<description><![CDATA[Hi,<br />
  I want to use ReaderSvg to convert a svg file to xaml on the fly in a webservice something like the code below.  <br />
<br />
            byte[&#93; byteArray = Encoding.ASCII.GetBytes(svg);<br />
            using (MemoryStream stream = new MemoryStream(byteArray))<br />
            {<br />
                Ab2d.ReaderSvg svgReader = new Ab2d.ReaderSvg();<br />
                 svgReader.Read(stream);<br />
<br />
                SilverlightXamlWriterSettings settings = new SilverlightXamlWriterSettings(SilverlightXamlWriterSettings.SilverlightVersionType.Silverlight_4);<br />
<br />
                string xaml = svgReader.GetXaml(settings);<br />
                <br />
                return xaml;<br />
            }<br />
<br />
As it pops up the evaluation screen on the webs server I get<br />
<br />
The calling thread must be STA, because many UI components require this.<br />
<br />
Is there a way to use this library without UI ?]]></description>
			<content:encoded><![CDATA[Hi,<br />
  I want to use ReaderSvg to convert a svg file to xaml on the fly in a webservice something like the code below.  <br />
<br />
            byte[] byteArray = Encoding.ASCII.GetBytes(svg);<br />
            using (MemoryStream stream = new MemoryStream(byteArray))<br />
            {<br />
                Ab2d.ReaderSvg svgReader = new Ab2d.ReaderSvg();<br />
                 svgReader.Read(stream);<br />
<br />
                SilverlightXamlWriterSettings settings = new SilverlightXamlWriterSettings(SilverlightXamlWriterSettings.SilverlightVersionType.Silverlight_4);<br />
<br />
                string xaml = svgReader.GetXaml(settings);<br />
                <br />
                return xaml;<br />
            }<br />
<br />
As it pops up the evaluation screen on the webs server I get<br />
<br />
The calling thread must be STA, because many UI components require this.<br />
<br />
Is there a way to use this library without UI ?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[ReaderWMF &#x26; Gradient]]></title>
			<link>http://forum.wpf-graphics.com/showthread.php?tid=45</link>
			<pubDate>Wed, 30 Jun 2010 13:05:57 +0200</pubDate>
			<guid isPermaLink="false">http://forum.wpf-graphics.com/showthread.php?tid=45</guid>
			<description><![CDATA[Hi,<br />
<br />
I have a simple question: <br />
Does the ReaderWMF treats the gradient color?<br />
<br />
Because I have test to import an EMF file with gradient color from my favorite software Visio 2003. After transformation, the XAML string contains a drawing with many SolidColorBrush as ressources but they are never used. <br />
<br />
My image is white when I use :<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Image myImage = metafileReader.GetGeometryFromHemf(hEmf, GeometrySettings.BasicOptimization);</code></div></div>
<br />
It that a normal behaviour ?<br />
<br />
Antony.]]></description>
			<content:encoded><![CDATA[Hi,<br />
<br />
I have a simple question: <br />
Does the ReaderWMF treats the gradient color?<br />
<br />
Because I have test to import an EMF file with gradient color from my favorite software Visio 2003. After transformation, the XAML string contains a drawing with many SolidColorBrush as ressources but they are never used. <br />
<br />
My image is white when I use :<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Image myImage = metafileReader.GetGeometryFromHemf(hEmf, GeometrySettings.BasicOptimization);</code></div></div>
<br />
It that a normal behaviour ?<br />
<br />
Antony.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Get Metafile from Image Control]]></title>
			<link>http://forum.wpf-graphics.com/showthread.php?tid=44</link>
			<pubDate>Wed, 30 Jun 2010 10:06:21 +0200</pubDate>
			<guid isPermaLink="false">http://forum.wpf-graphics.com/showthread.php?tid=44</guid>
			<description><![CDATA[Hi all,<br />
<br />
I'm trying to get a metafile that I have transform an Image with <br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>ReaderWmf metafileReader = new ReaderWmf();<br />
Metafile metafileImage = Clipboard.GetData(DataFormats.EnhancedMetafile) as Metafile;<br />
IntPtr hEmf = metafileImage.GetHenhmetafile();<br />
Image myImage = metafileReader.GetGeometryFromHemf(hEmf, GeometrySettings.BasicOptimization);<br />
string xamlStr = metafileReader.GetXaml();</code></div></div>
<br />
Now I have my image control but I'm stuck to get the content as metafile.<br />
I guess the ReaderWmf is not able to do that?<br />
Do you have a solution because I need to do some transformation on my metafile and serialize it as XAML.<br />
<br />
Regards,<br />
Antony.]]></description>
			<content:encoded><![CDATA[Hi all,<br />
<br />
I'm trying to get a metafile that I have transform an Image with <br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>ReaderWmf metafileReader = new ReaderWmf();<br />
Metafile metafileImage = Clipboard.GetData(DataFormats.EnhancedMetafile) as Metafile;<br />
IntPtr hEmf = metafileImage.GetHenhmetafile();<br />
Image myImage = metafileReader.GetGeometryFromHemf(hEmf, GeometrySettings.BasicOptimization);<br />
string xamlStr = metafileReader.GetXaml();</code></div></div>
<br />
Now I have my image control but I'm stuck to get the content as metafile.<br />
I guess the ReaderWmf is not able to do that?<br />
Do you have a solution because I need to do some transformation on my metafile and serialize it as XAML.<br />
<br />
Regards,<br />
Antony.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[ReaderWmf and Clipboard]]></title>
			<link>http://forum.wpf-graphics.com/showthread.php?tid=43</link>
			<pubDate>Mon, 28 Jun 2010 13:52:43 +0200</pubDate>
			<guid isPermaLink="false">http://forum.wpf-graphics.com/showthread.php?tid=43</guid>
			<description><![CDATA[Hi,<br />
<br />
I'm trying to get a metafile from clipboard with the ReaderWmf component.<br />
But I don't know how I can do that.<br />
<br />
I can get a System.Window.Control.Image with this line:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Image clipboardImage = Clipboard.GetData(DataFormats.MetafilePicture) as Image;</code></div></div>
I'm not sure this is a good solution and I don't how to create a stream for Image to the ReaderWmf.<br />
<br />
Anyone have an idea.<br />
Antony.]]></description>
			<content:encoded><![CDATA[Hi,<br />
<br />
I'm trying to get a metafile from clipboard with the ReaderWmf component.<br />
But I don't know how I can do that.<br />
<br />
I can get a System.Window.Control.Image with this line:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Image clipboardImage = Clipboard.GetData(DataFormats.MetafilePicture) as Image;</code></div></div>
I'm not sure this is a good solution and I don't how to create a stream for Image to the ReaderWmf.<br />
<br />
Anyone have an idea.<br />
Antony.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[3D Binding]]></title>
			<link>http://forum.wpf-graphics.com/showthread.php?tid=42</link>
			<pubDate>Thu, 17 Jun 2010 05:18:34 +0200</pubDate>
			<guid isPermaLink="false">http://forum.wpf-graphics.com/showthread.php?tid=42</guid>
			<description><![CDATA[Hello Again, <br />
<br />
Is it possible to bind any (or a collection of) the 3D models to a Viewport3D? In my case I'm generating models based on an input file and it would be very helpful to not have to add each model in code.<br />
<br />
Thanks again, <br />
<br />
Nick]]></description>
			<content:encoded><![CDATA[Hello Again, <br />
<br />
Is it possible to bind any (or a collection of) the 3D models to a Viewport3D? In my case I'm generating models based on an input file and it would be very helpful to not have to add each model in code.<br />
<br />
Thanks again, <br />
<br />
Nick]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Camera Light Location]]></title>
			<link>http://forum.wpf-graphics.com/showthread.php?tid=41</link>
			<pubDate>Thu, 17 Jun 2010 04:11:33 +0200</pubDate>
			<guid isPermaLink="false">http://forum.wpf-graphics.com/showthread.php?tid=41</guid>
			<description><![CDATA[Hello, <br />
<br />
Just recently purchased PowerToys and have been really happy with how everything has worked thus far. I do have a few questions though:<br />
<br />
1. I can't seem to get a MaterialGroup to display properly using a ModelFactory to generate models. I'm using a combination of a DiffuseMaterial and a SpecularMaterial. Whenever I set this as the material to be used only the DiffuseMaterial shows up. When using Visuals it displays perfectly.<br />
<br />
2. By design I'm using the above MaterialGroup to create a reflective surface to more accentuate the 3D aspect of the model. As such, I'd really like to be able to set the initial location of the CameraLight, like (-3,-4,-5), in order for the reflection not to seem to be going directly straight back to the person viewing the model. I've tried both code and XAML to do this but it doesn't seem to work. How would I accomplish this?<br />
<br />
Thanks very much for your great product and for the help!<br />
<br />
Nick]]></description>
			<content:encoded><![CDATA[Hello, <br />
<br />
Just recently purchased PowerToys and have been really happy with how everything has worked thus far. I do have a few questions though:<br />
<br />
1. I can't seem to get a MaterialGroup to display properly using a ModelFactory to generate models. I'm using a combination of a DiffuseMaterial and a SpecularMaterial. Whenever I set this as the material to be used only the DiffuseMaterial shows up. When using Visuals it displays perfectly.<br />
<br />
2. By design I'm using the above MaterialGroup to create a reflective surface to more accentuate the 3D aspect of the model. As such, I'd really like to be able to set the initial location of the CameraLight, like (-3,-4,-5), in order for the reflection not to seem to be going directly straight back to the person viewing the model. I've tried both code and XAML to do this but it doesn't seem to work. How would I accomplish this?<br />
<br />
Thanks very much for your great product and for the help!<br />
<br />
Nick]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[what I need  to deploy?]]></title>
			<link>http://forum.wpf-graphics.com/showthread.php?tid=40</link>
			<pubDate>Mon, 14 Jun 2010 11:47:14 +0200</pubDate>
			<guid isPermaLink="false">http://forum.wpf-graphics.com/showthread.php?tid=40</guid>
			<description><![CDATA[Hi, <br />
<br />
I'm evaluating ReaderSvg. What I need to deploy an application that use the library?<br />
<br />
Tnx.]]></description>
			<content:encoded><![CDATA[Hi, <br />
<br />
I'm evaluating ReaderSvg. What I need to deploy an application that use the library?<br />
<br />
Tnx.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Paste2Xaml outdated]]></title>
			<link>http://forum.wpf-graphics.com/showthread.php?tid=39</link>
			<pubDate>Fri, 11 Jun 2010 09:55:02 +0200</pubDate>
			<guid isPermaLink="false">http://forum.wpf-graphics.com/showthread.php?tid=39</guid>
			<description><![CDATA[Hi, i'm working with Expression Studio, and i bought the 07/06 Paste2Xaml pro for its features<br />
<br />
In the same time, the 07 june, Microsoft released Studio 4 as free upgrade for Studio 3 owners. I was not aware of that.<br />
<br />
The only improvement into Expression Design is the ability to import Windows metafiles (wmf) and Enhanced Metafiles (emf), making useless Paste2Xaml into my workflow.<br />
<br />
I have the impression to have lost my money<br />
<br />
I was also interested in buying the ZoomPanel but this is also a new behaviour feature into Expression Blend.<br />
<br />
What is the future of WPF Graphics products ?<br />
<br />
ab29]]></description>
			<content:encoded><![CDATA[Hi, i'm working with Expression Studio, and i bought the 07/06 Paste2Xaml pro for its features<br />
<br />
In the same time, the 07 june, Microsoft released Studio 4 as free upgrade for Studio 3 owners. I was not aware of that.<br />
<br />
The only improvement into Expression Design is the ability to import Windows metafiles (wmf) and Enhanced Metafiles (emf), making useless Paste2Xaml into my workflow.<br />
<br />
I have the impression to have lost my money<br />
<br />
I was also interested in buying the ZoomPanel but this is also a new behaviour feature into Expression Blend.<br />
<br />
What is the future of WPF Graphics products ?<br />
<br />
ab29]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Drawing Simple Shapes]]></title>
			<link>http://forum.wpf-graphics.com/showthread.php?tid=38</link>
			<pubDate>Sat, 05 Jun 2010 19:13:14 +0200</pubDate>
			<guid isPermaLink="false">http://forum.wpf-graphics.com/showthread.php?tid=38</guid>
			<description><![CDATA[Hi,<br />
<br />
I haven't try the control yet but I would like to know if it supports drawing simple shapes (rectangles, circles, etc)? If it doesn't support it, can I extend the control to add it myself without buying the source code?<br />
<br />
Can you also provide an example of the "dynamic and custom content" feature ?<br />
<br />
Thank you]]></description>
			<content:encoded><![CDATA[Hi,<br />
<br />
I haven't try the control yet but I would like to know if it supports drawing simple shapes (rectangles, circles, etc)? If it doesn't support it, can I extend the control to add it myself without buying the source code?<br />
<br />
Can you also provide an example of the "dynamic and custom content" feature ?<br />
<br />
Thank you]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Rubberband]]></title>
			<link>http://forum.wpf-graphics.com/showthread.php?tid=37</link>
			<pubDate>Tue, 18 May 2010 22:58:58 +0200</pubDate>
			<guid isPermaLink="false">http://forum.wpf-graphics.com/showthread.php?tid=37</guid>
			<description><![CDATA[Can you suggest how I could implement a rubberband type selection feature?  I need to allow the users to select a region of interest.]]></description>
			<content:encoded><![CDATA[Can you suggest how I could implement a rubberband type selection feature?  I need to allow the users to select a region of interest.]]></content:encoded>
		</item>
	</channel>
</rss>