3d Models in WPF
My question is simply
How can I get a file with .3ds or .obj extension loaded in a wpf project?
How can I drag and drop that 开发者_JS百科3d model with the mouse?
(I'm doing a 3d chess project)
Blend has support for loading an obj file and converting it to xaml. Unfortunately, there is no support for 3DS in the box - getting 3DS files requires 3rd party software such as Reader3ds.
You'll need to write your own hit testing, and handle this yourself.
精彩评论