How to import 3D models dynamically in a WPF Application

霸气de小男生 提交于 2020-01-12 19:27:16

问题


I have been searching this for quite sometime but could not find an appropriate method. How to import 3D models in a WPF application at runtime when user selects a model. It can be built in any one of the popular 3D modelling software, 3DS max, Maya, Blender etc, not all. Any one of the formats .3DS, .MAX, .FBX, .obj etc is required to be imported.

If there are free libraries available for this, please mention them, and if i have to write the code myself, please guide how and where to start.


回答1:


Try: http://helixtoolkit.codeplex.com/




回答2:


You may try to convert 3D objects in to XAML and use then in WPF. Most of the 3D modelling softwares has 3D Model to XAML plugins.

Try this as well.. (Commercial but good tool) http://www.erain.com/products/zam3d/DefaultPDC.asp

and i also highly recommend helixtoolkit

Good Luck.



来源:https://stackoverflow.com/questions/9086201/how-to-import-3d-models-dynamically-in-a-wpf-application

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!