3D Character Animation in WPF

I am looking for a 3D character animation in WPF imported from software such as 3ds Max. I can import the symbol as a grid, but animating it like a skeleton seems not easy.

I read several other posts saying this is not possible, but then I found a book (ISBN 1847198929) that has a chapter on animating 3D characters in Silverlight (Silverlight is a subset of WPF, it interested me). This seems to contradict everything on the Internet that I can find about animating a 3D character in WPF.

Anyone have any experience in Silverlight or WPF that can offer any advice? (Of course, I ordered this book!)

Thanks,

+4
source share
1 answer

Sliverlight really does not have true 3d, but uses planar projections / translations, so it is known as 2 1/2 D, I think. Thus, Silverlight will be able to do everything with the help of airplanes and bend. It does not support true meshes / geometries etc.

As for WPF, this is the best story, you have quite rich 3D API sets that include many transformations that allow you to manipulate the imported model either directly or, of course, allow you to add the missing parts (if your 3D application does not export everything you need into the generated XAML) in XAML, which then allows you to animate your 3D symbol.

For example, you can rotate a 3D object using XAML and RotateTransform3D: http://msdn.microsoft.com/en-us/library/system.windows.media.media3d.rotatetransform3d

Also keep in mind that everything you can do in XAML can be done in code. In fact, here are some of my own / working colleagues WPF 3D articles that may help you:

My articles

http://www.codeproject.com/Articles/24727/WPF-3D-Part-1-of-n http://www.codeproject.com/Articles/25227/WPF-3D-Part-2-of-n http://www.codeproject.com/Articles/48940/WPF-3D-graph http://www.codeproject.com/Articles/26835/Marsa-A-3D-approach-to-XML-read-data http: //www.codeproject.com/Articles/35481/WPF-FlipTile-3D

Articles by Fredrick Bornenerz

http://www.codeproject.com/Articles/338671/WPF-3D-FlipPanel http://www.codeproject.com/Articles/49949/WPF-3D-Tab-Carousel

Hope for this help

+1
source

Source: https://habr.com/ru/post/1384895/


All Articles