How to use wpf 3D Engine in Windows phone app? - c#

Is there any way to use wpf 3D engine in windows phone application? I tried to add dlls to project but Icould not.

No, Windows Phone does not support the XAML-based 3D stuff that WPF supports. To create a 3D graphics phone app, you have to use Direct3D and C++.

Related

Can I develop a Windows Universal Application using DirectX and C#

I've seen that there is a template to do so in Visual C++, but not in C#. Have I to stick to C++ to develop a Direct X (Universal) application ??
Can I use C#? If so, how?
Have I to stick to C++ to develop a Direct X (Universal) application?
Technically, you can use the DirectX in .NET platform by using the interop technology. SharpDX has done such kind of things for you and you can easily use the DX in you .NET project including the Window 8.1 and Windows Phone 8.1 app project. However, as I just tested, the SharpDX has not supported the Windows Universal App yet.
Since you must use C++ when calling DirectX APIs, so if you want to develop your Windows Universal Application by C# and DirectX as the same time, the best practice might be to package all the DirectX related functions in a separate C++ WinRT component. Then you can include it in any C# application.
Depending on your needs for DX, you might want to look into the Win2D project from Microsoft, its C# and lets you mix 2d and 3d.

Drawing customized graphs in Windows Phone 8.1 apps

Can we use WinRT XAML Toolkit to draw customized graphs in Windows Phone 8.1 apps?
I am trying to find out a tool or a authorized set of APIs to draw charts which can be customized during real time by retrieving data from a database.
http://www.telerik.com/…/w…/overview/all-controls/chart.aspx was given as an option but I think u have to pay for it.
I am looking for a free option.
yes you can use the WinRTToolkit, they even have a Nuget package specific for Windows Phone 8.1, more info on their CodePlex

Windows Phone 8.1 play a sound effect in C# WPF application

I'm making a simple 2d game using WPF where the game objects need to emit a sound when they hit the walls of the screen, but I can't find anything that lets me play a sound effect in Windows Phone 8.1.
In Windows Phone 8 I was using the SoundEffect class from XNA, but I don't think XNA is supported in 8.1 any longer. Is there any equivalent class I can use?
Use a <MediaElement> with MediaElement.AudioCategory set to ForegroundOnlyMedia
If you want more controlled sound playback, you'll need to use DirectX.

create a 3D Cube in a c# metro app

I want do develope a 3D Cube in a metro app using c#. In a WPF Application I used a Viewport3DContral in a XAML-component. But this don´t exist in .Net Framework for windows 8. Have anybody expirience to develope a 3D Cube in a c# metro app. There exist DirectX for c++ applications. Is it possible to include a Direct3D App in a existing c# metro app? Maybe it exist a 3D-Engine for c# metro apps?
You can use SharpDx, it is a managed wrapper for DirectX.

Windows Mobile 6.5 modern GUI development

How to approach a modern GUI development in Windows Mobile 6.5. I can see in .NET CF 2.0/3.5 only legacy common controls, no alpha blended controls, no fading etc. Comparing to Android or Symbian, Windows Mobile 6.5 look-a-like of applications is very elderly.
Is there support for WPF in Windows Mobile 6.5?
Thanks and Regards
Dominik
WPF is not supported. Silverlight is not supported in current phones but will be supported with Windows Phone 7. XNA will be supported on Windows Phone 7.
For the current phones on the market you really have to abandon the idea that you're going to get a decent UI by simply dragging controls out of the toolbox. That simply is not going to happen. You can still create compelling UI, but you have to do custom/manual drawing of your controls.
Never heard of WPF development for WM.
But there is Silverlight 4 and (theoretically) Windows Phone 7... So if you want to develop for Windows platform you'd probably target Silverlight technology, not WPF. And Windows Phone 7, not WM 6.5

Categories

Resources