gpt4 book ai didi

silverlight - Windows Phone 7 中使用 Silverlight 的 3D 模型

转载 作者:行者123 更新时间:2023-12-04 03:02:07 24 4
gpt4 key购买 nike

我必须做一个带有动态旋转的 3D 箭头的 wp7 应用程序。该应用程序将有很多操作系统菜单,所以最好的方法是使用 Silverlight。我怎样才能在 silverlight 中拥有 3D 对象?我有像 Swift 3D 这样的工具来做模型。它们生成 .xaml 代码,但是当我将该代码放入表达式混合器时出现错误。

有不同的做法吗?我有点迷茫,因为我是 Microsoft 开发平台的新手。

最佳答案

您可以制作平面 2D 对象并使用透视变换将其转换为 3D。你会得到它被称为 2.5D 投影。这两篇文章应该可以帮助你: http://netindonesia.net/blogs/umifadilah/archive/2010/05/12/silverlight-3d-perspective-transform-on-windows-phone-7.aspx

http://pendsevikram.blogspot.com/2010/07/silverlight-on-mobile-3d-on-your.html

如果您需要完整的 3D 模型,我建议您尝试使用 CodePlex 的 Silverlight 3D 引擎 Balder:http://balder.codeplex.com主要开发人员最近写了一篇很好的 Coding4Fun 文章,可能会对您有所帮助: Rubik’s Cube for Silverlight and Windows Phone 7 using Balder

关于silverlight - Windows Phone 7 中使用 Silverlight 的 3D 模型,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4266178/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com