Updated Model (markdown)

Chuck Walbourn 2015-06-29 01:25:33 -07:00
Родитель b06a839c87
Коммит b838fb0297
1 изменённых файлов: 1 добавлений и 1 удалений

@ -14,7 +14,7 @@ Each [[ModelMeshPart]] references an index buffer, a vertex buffer, an input lay
#include <Model.h>
# Initialization
Model instances can be loaded from either ``.CMO``, ``.SDKMESH``, or ``.VBO`` files, or from custom file formats. The Model loaders take an [[IEffectFactory|EffectFactory]] instance to facilitate the sharing of Effects and textures between models. The default _EffectFactory_ always returns built-in [[BasicEffect]], [[SkinnedEffect]], or [[DualTextureEffect]] instances. The _DGSLEffectFactory_ can be used with ``.CMO`` files to load Visual Studio Shader Designer (DGSL) shaders through [[DGLSEffect]] instances.
Model instances can be loaded from either ``.CMO``, ``.SDKMESH``, or ``.VBO`` files, or from custom file formats. The Model loaders take an [[IEffectFactory|EffectFactory]] instance to facilitate the sharing of Effects and textures between models. The default _EffectFactory_ always returns built-in [[BasicEffect]], [[SkinnedEffect]], or [[DualTextureEffect]] instances. The _DGSLEffectFactory_ can be used with ``.CMO`` files to load Visual Studio Shader Designer (DGSL) shaders through [[DGSLEffect]] instances.
Visual Studio 2012 or later include a built-in content pipeline that can generate ``.CMO`` files from an Autodesk ``.FBX``, as well as ``.DDS`` texture files from various bitmap image formats, as part of the build process. See the Visual Studio 3D Starter Kit for details ([Windows 8.1](http://aka.ms/vs3dkitwin), [Windows 8.0](http://aka.ms/vs3dkitwin80)).