使用 C# 的 Google SketchUp 和 3D
我对使用 3D 完全不熟悉,但我需要制作一个使用 3D 对象的 C# 应用程序(只是为了查看它们)。我认为在 Google SketchUp 中制作 3D 模型是最简单的。但我不知道如何在 C# 中使用 .skp 文件。也有人可以向我推荐一些如何使用 C# 操作 3D 对象的资源。
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您可能很幸运:
http://www. 3drad.com/Google-SketchUp-To-DirectX-XNA-Exporter-Plug-in.htm
但是,这会导致您在使用 Microsoft XNA 时遇到更多麻烦,然后您可能会研究其他 3D 渲染方法,这可能会引导您访问
http://www.ogre3d.org/tikiwiki/MOGRE
You might be lucky:
http://www.3drad.com/Google-SketchUp-To-DirectX-XNA-Exporter-Plug-in.htm
However, that will lead you to more trouble with Microsoft XNA, and then you'll probably investigate other 3D rendering methods, and that might lead you to
http://www.ogre3d.org/tikiwiki/MOGRE
您可以或可能想做很多事情。所以这个问题够模糊的。
只是为了提供提示。
如果您想研究 矢量图形 3D 模型,您应该看看,例如 IGES 用于
CAD
机械制造,或者您可以查看从混搭创建的模型,例如 STL 文件,主要用于扫描仪中,用于恢复点云并从中构建序列三角形。还有很多其他解决方案和类型。
您可能会对几个编码有用的链接感兴趣:
XNA 示例
OpenCascade(你可以在互联网上找到一个
C#
包装器。原始项目位于C++
显然。您可能有兴趣查看另外几个应用程序:
There is a lot of stuff you can or may want to do. So the question is vague enough.
Just to give a hints.
You should look if you want to look into Vector Graphics 3D models, like for example IGES which used in
CAD
mechanical manufacturing, or you can look on models created from the mash, like for example STL files, mainly used in scanners as recover a cloud of points a construct from it a sequence of triangles.There are also a plenty other solutions and types.
Just a couple of coding useful links you may be interested in:
XNA Sample
OpenCascade(you can find a
C#
wrappers in internet. Original project is inC++
obviously.And another couple of applications you may be interested to look at:
我可能会引导您走向错误的方向,但据我所知,Microsoft Expression Blend 可以处理 WPF 和 3d 对象。希望这对您有帮助。
I may be heading you in a wrong direction but as far as I know Microsoft Expression Blend handles WPF and 3d objects. Hope that was helpful to you.