相关软件 /英文/ /英文/ /中文/ /中文/ /英文/ /中文/ /中文/ /中文/ /中文/ /中文/顶好评:50%踩坏评:50%请简要描述您遇到的错误,我们将尽快予以修正。轮坛转帖HTML方式轮坛转帖UBB方式
536.3M/中文/8.5
1.10G/中文/5.1
391KB/中文/1.4
5.03G/多国语言[中文]/3.9
449.4M/中文/5.1
2.8M/英文/7.3
87.1M/中文/8.0
一个很好的OGRE MESH导出工具,主要用于将3DMAX里的模型转化为ogre里的mes***件,ogre非常强大。Ogremax免费版有功能限制:Up to 1 texture coordinate set will be exported per mesh.Up to 1 texture unit will be exported per material.Up to 5 mesh animations (per mesh) and 5 node animations (per node) will be exported.No support is provided.OgreMax Scene Exporter***教程:解,打开目录,运行“OgreMaxSceneExporterInstaller-Win32.exe”文件即可。当然前提是你首先***了3dsmax。***完毕后启动max,如果看到菜单栏中有ogreMax表示成功。但如果,你遇到了“无法导入插件”的问题,我的***经历也许对你有帮助。接着往下看。最初我的机子里没有3dsmax,我首先选择了版本8进行***,之后按上述步骤***了OgreMax。然而在打开max时,意外地被提示“无法解析OgreMaxSceneExporter.gup文件”云云(大意如此,很遗憾我没记下准确的失败提示信息)。一番折腾后,我终于发现了失败的原因:在初次***3dsmax8时,会重新***一遍DirectX运行时库(如果之前系统中有新的运行时库,就会被覆盖掉)。但由于这个库版本比较旧,缺少OgreMaxSceneExporter.gup需要的dx中相应的。解决办法是到微软的官方网站下载最新的dx运行时库,***后即可消灭此问题。
安卓官方手机版
IOS官方手机版
OgreMax Scene Exporter 2.6.3-3DSMax 免费版
下载帮助西西破解版软件均来自互联网, 如有侵犯您的版权, 请与我们联系。3D模型读取库:Assimp
Assimp(Open Asset Import Library)是一个支持读取多种模型资源的开源库,当前最新的版本是3.0版,支持读取以下类型的3D模型:
/assimp/assimp
/assimp/assimp-net
Open Asset Import Library is a library to load various 3d file formats into a shared, in-memory format. It supports more than40 file formats for import and a growing selection of file formats for export.
APIs are provided for C and C++. There are various bindings to other languages (C#, Java, Python, Delphi, D). Assimp also runs on Android and iOS.
Additionally, assimp features various mesh post processing tools: normals and tangent space generation, triangulation, vertex cache locality optimization, removal of degenerate primitives and duplicate vertices, sorting by primitive type, merging of redundant materials and many more.
This is the development trunk containing the latest features and bugfixes. For productive use though, we recommend one of the stable releases available from or from *nix package repositories.The current build status is:
Linux WindowsCoverity
is a powerful 3D model viewer based on Assimp's import and export abilities.
Supported file formats
A full list .Importers:
BLEND (Blender)
DAE/Collada
Ogre Binary
ASSBIN (Assimp custom format)
Additionally, some formats are supported by dependency on non-free code or external SDKs (not built by default):
Exporters:
DAE (Collada)
JSON (for WebGl, via )
Take a look into the INSTALL file. Our build system is CMake, if you used CMake before there is a good chance you know what to do.
Repository structure
Open Asset Import Library is implemented in C++. The directory structure is:
Source code
Third-party libraries
Documentation (doxysource and pre-compiled docs)
Public header C and C++ header files
Scripts used to generate the loading code for some formats
Ports to other languages and scripts to maintain those.
Unit- and regression tests, test suite of models
Tools (old assimp viewer, command line `assimp`)
A small number of samples to illustrate possible
use cases for Assimp
/workspaces Build enviroments for vc,xcode,... (deprecated,
CMake has superseeded all legacy build options!)
Where to get help
For more information, visit . Or check out the ./doc- folder, which contains the official documentation in HTML format.(CHMs for Windows are included in some release packages and should be located right here in the root folder).
If the docs don't solve your problem, ask on . If you think you found a bug, please open an issue on Github.
For development discussions, there is also a (very low-volume) mailing list,
assimp-discussions
此外还支持对导入的模型做一些常用的处理,如把四边形转换为三角形、计算切线和副法线、将大模型分割为小模型等。
Assimp的主页:
读取模型文件的一个例子:
#include &assimp/Importer.hpp&
// 导入器在该头文件中定义
#include &assimp/scene.h&
// 读取到的模型数据都放在scene中
#include &assimp/postprocess.h&
// 该头文件中包含后处理的标志位定义
bool Import( const std::string& pFile)
// 定义一个导入器
// 使用导入器导入选定的模型文件
const aiScene* scene = importer.ReadFile( pFile,
aiProcess_CalcTangentSpace|
//后处理标志,自动计算切线和副法线
aiProcess_Triangulate|
//后处理标志,自动将四边形面转换为三角面
aiProcess_JoinIdenticalVertices|
//后处理标志,自动合并相同的顶点
aiProcess_SortByPType);
//后处理标志,将不同图元放置到不同的模型中去,图片类型可能是点、直线、三角形等
//更多后处理标志可以参考Assimp的文档
if( !scene)
//导入错误,获取错误信息并进行相应的处理
//DoTheErrorLogging( importer.GetErrorString());
return false;
// 根据需要获取scene中的模型数据,各种数据的获取方式可以参考Assimp的文档
//DoTheSceneProcessing( scene);
return true;
Assimp.Net是Assimp的一个封装,使用P/Invoke与Assimp库进行交互,Api可以分为两类:(1) 一组低级函数,表达Assimp的C-API,它是使用AssimpMethods的静态类,这是一个P/Invoke层,需要你从unmanageable memory中整理模型数据,这些在Assimp.Unmanaged命名空间中。“Unmanaged”结构使用“Ai”作为前缀,其中的IntPtrs指向unmageged data。
(2)一组高级函数,dotNet API用来加载模型,在manageable memory中整理数据,并访问数据。这种数据结构在命名方式和组织上非常类似于Assimp数据结构,而且更便于DotNet开发人员使用。高级层就像Assimp的C++ API,低级层就是允许用户做任何想做的事情(如把unmanaged data直接加载到他们自创的数据结构中)。
输入模型在Assimp.net中使用的主要类是Assimp Importer,每个import实例都可以单独考虑,所有的配置与日志流只绑定与特定的实例,这个过程把一个import作为一个原子调用,Configs/Logging streams是在模型improted之前,removed之后设置的,当模型加载到managed memory,后,unmanaged Assimp 数据结构就会释放。总之,用户不需要操心这些细节。示例代码:
using&System.IO;&&
using&System.R&&
using&Assimp.C&&
namespace&Example&{&&
&&&&class&Program&{&&
&&&&&&&&static&void&Main(string[]&args)&{&&
&&&&&&&&&&&&&&
&&&&&&&&&&&&String&fileName&=&bine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location),&"Seymour.dae");&&
&&&&&&&&&&&&&&
&&&&&&&&&&&&AssimpImporter&importer&=&new&AssimpImporter();&&
&&&&&&&&&&&&&&
&&&&&&&&&&&&NormalSmoothingAngleConfig&config&=&new&NormalSmoothingAngleConfig(66.0f);&&
&&&&&&&&&&&&importer.SetConfig(config);&&
&&&&&&&&&&&&&&
&&&&&&&&&&&&LogStream&logstream&=&new&LogStream(delegate(String&msg,&String&userData)&{&&
&&&&&&&&&&&&&&&&Console.WriteLine(msg);&&
&&&&&&&&&&&&});&&
&&&&&&&&&&&&importer.AttachLogStream(logstream);&&
&&&&&&&&&&&&&&
&&&&&&&&&&&&nb