Animate 3D object on windows desktop

2019-04-02 06:24发布

问题:

I need to draw and animate a 3D object on windows desktop that the user can interact with (a dog for example). User interaction assumes clicks, display of (iregular shape) dialogs for user input etc.

  • Do you know any concrete way to achieve this?

I am thinking I have several options, any recomendations, which one is best, easiest?

  • WPF
  • OpenGL
  • DirectX
  • XNA

Are there any libraries (free or paid) that can help?

回答1:

I have done some reasearch and it seems like WPF is a good choice.

  • It can import 3D models and animate them or sub-parts.
  • I can interact with the mouse on individual pieces of the model.
  • I can apply textures. Play with lights and camera etc.
  • Also easy to use.

Model is created in 3D modeling tool (3DStudioMax, Maya etc.) and then it's exported to XAML for use in WPF.