create a 3D Cube in a c# metro app - c#

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.

Related

Is it possible to Convert or wrap C# APP to IO Xcode Apple APP and Android

I have an app developed for windows 10 on C# and now I want to move to IOS and Android. I have heard of xamarin and used some of there stuff in C# but would it be possible to embed the C# code and move it to apple xcode without having to redevelop the app from again?
would it be possible to embed the C# code and move it to apple xcode without having to redevelop the app from again?
No, it is not possible. Basically you can share some UIs across different platforms, but I think redevelop your app for each platform is necessary.
Not sure if you want to use Xamarin.Android and Xamarin.iOS or Xamarin.Forms to develop your app, you can use C# for development by using Xamarin, it provides a cross-platform implementation of the extensive features in .Net framework, but the actual implementation on each system is very different. For more information, you can refer to Understanding the Xamarin Mobile Platform.
For Xamarin.Android and Xamarin.iOS, you can refer to Android Architecture and iOS Architecture.
For Xamarin.Forms, you can have your UIs and some basic features designed in the PCL in order to share across different platforms, but for most features just for example like working with files, we need to access the native method of each platform, therefor, Xamarin.Forms provides a locator named DependencyService to achieve this.

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.

Integrate Unity3D engine into WPF application

I need to integrate a collision-detection and rendering engine into my WPF application.
As far as I understand, Unity3D comes as a standalone application with its own compiler. Is it possible to include Unity3D into my solution and use its API? Does it provide a DLL?

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

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++.

Alternative to Direct X for Video Capturing On Windows 8

I have C Static Library for Capturing Video from Camera.It uses Direct X to Interface Camera.
I wanted to create API in .Net C# for Capturing Video and do not want to use DirectX. The Target OS is Windows 8.Api Should be in Such way it should work on Both Desktop and Metro Mode of the Windows 8.
Any Help will be Appreciated.
As per comments above:
DirectX is at the heart of Windows 8 / Metro...
Several sessions on DirectX in Metro were held at BUILD - see http://www.buildwindows.com/Sessions/Tagged/DirectX
Regarding DirectX in Metro see for example http://channel9.msdn.com/Events/BUILD/BUILD2011/PLAT-766T
As the whole API (WinRT etc.) is not final right now it is sure not easy to port your code right now but from what I understand it will possible...
Another point: the Metro API is packaged as WinRT which is COM with several new aspects... this API is usable from .NET + native code (like C/C++)!

Categories

Resources