ScreenSpaceLines3D : Error

Topics: Developer Forum
Jul 21, 2007 at 10:45 AM

I am trying to implement Fluid Dynamics using WPF and C# using this "" article . I am using .NET Framework 3.0. I have also downloaded latest 3DTools.dll. I am geting error in CreateWireFrame() and UpdateWireframe() functions. In UpdateWireFrame() in line "ScreenSpaceLines3D wire = wireframe.Children as ScreenSpaceLines3D;" the error is saying that "Cannot convert type 'System.Windows.Media.Media3D.Model3D' to '3DTools.ScreenSpaceLines3D' " And in CreateWireFrame() in line "group.Children.Add(wireframe); " the error is saying that "cannot convert from '3DTools.ScreenSpaceLines3D' to 'System.Windows.Media.Media3D.Model3D' "

How to resolve this problem? Is there any workaround to run this application in .NET Framewrok 3.0?