开发者

3d Models in WPF

开发者 https://www.devze.com 2022-12-28 14:27 出处:网络
My question is simply How can I get a file with .3dsor .obj extension loaded in a wpf project? How can I drag and dropthat 开发者_JS百科3d modelwith the mouse?

My question is simply

  1. How can I get a file with .3ds or .obj extension loaded in a wpf project?

  2. How can I drag and drop that 开发者_JS百科3d model with the mouse?

(I'm doing a 3d chess project)


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

  2. You'll need to write your own hit testing, and handle this yourself.

0

精彩评论

暂无评论...
验证码 换一张
取 消