UWP 3D模型加载 [英] UWP 3d model loading

查看:71
本文介绍了UWP 3D模型加载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我到处搜索,但找不到答案如何将3d模型(.obj/.fbx ...)加载到UWP中.我在Helix上尝试过,但是在UWP上还不能很好地工作.我想在加载此模型后对其进行旋转.

I have searched everywhere but can not find an answer how could I load a 3d model (.obj/.fbx...) into UWP. I tried it with Helix, but it doesn't work well on the UWP yet. I would like to rotate this model after its loaded.

推荐答案

您需要使用<SwapChainPanel />

这是上的MSDN文档

这是有关如何使用它的教程 .该教程适用于Windows 8,但是有人在UWP中使用它.

Here is a tutorial on how to use it. The tutorial is for Windows 8 but there are comments from people using this in UWP.

所有这些都是在一次搜索中找到的(在Bing上).

All of this was found (On Bing) in one search.

这是导致我得到答案的StackOverflow问题.查看第一个答案的第一个评论 UWP渲染3D模型在

This was the StackOverflow question that lead me to the answer. Look at the first comment on the first answer UWP render 3D model in a

这篇关于UWP 3D模型加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆