导入3D模型在C#-opengl [英] Importing 3D model in C# -opengl

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

问题描述

我想知道如何从搅拌机导入3D模型转换成OpenGL的使用C#.NET。搅拌机可以的Collada,.3DS,斯坦福大学(.ply),OBJ,.x3d和.FBX格式导出模型。 如何在C#中-opengl使用任何模型提到以上。是否有任何库?

i want to know how to import 3d models from Blender into Opengl using C#.net. Blender can export model in Collada, .3ds, Stanford(.ply), .obj, .x3d and .fbx format. How to use any of the model mention above in C#-opengl. Is there any libraries ?

推荐答案

我建议你使用 SharpGL SharpGL 库有内置的解析器来导入其他格式的模型(.OBJ和.3DS)。它也有WPF和Windows窗体控件的绘制3D模型在.NET环境。我目前使用它的出口设计的搅拌机作为一个3D模型。的OBJ 并使用其导入到WPF的 SharpGL 。它的工作原理pretty的很适合我。

I suggest you use SharpGL. SharpGL library has inbuilt parsers to import models from other formats (.obj and .3ds). It also has WPF and Windows forms control for rendering 3d models in .NET environment. I am currently using it for exporting a 3d model designed in Blender as .Obj and importing it into WPF using SharpGL. It works pretty well for me.

这篇关于导入3D模型在C#-opengl的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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