git.s-ol.nu ~forks/DiligentTools / eaf55ea
Updated readme; added readme for GLTF Loader Egor Yusov 2 years ago
4 changed file(s) with 45 addition(s) and 43 deletion(s). Raw diff Collapse all Expand all
0 # Asset Loader
1
2 Asset loading libary currently supports GLTF 2.0 format.
3
4 ## GLTF 2.0
5
6 ![](media/flight_helmet.jpg)
7
8 GLTF loader uses [tiny gltf](https://github.com/syoyo/tinygltf) library and is based on
9 [Vulkan-glTF-PBR](https://github.com/SaschaWillems/Vulkan-glTF-PBR) project by Sascha Willems.
10
11 The loader supports most of the major GLTF2.0 features:
12
13 * [x] ASCII, Binary, and Embedded GLTF specifications
14 * [x] PBR Materials (Metallic-Roughness and Specular-Glossiness workflows)
15 * [x] Animations (skinned and articulated)
16
17 Note that the loader does not implement all aspects of the standard.
18
19 The loading functionality is implemented in `Diligent::GLTF::Model` class
20 that initializes all Diligent Engine objects required to render the model.
21
22 ```cpp
23 std::unique_ptr<GLTF::Model> Model;
24 Model.reset(new GLTF::Model(pDevice, pImmediateContext, Path));
25 ```
26
27 The loader does not implement any rendering functionality. Please see
28 [Diligent GLTF PBR Renderer](https://github.com/DiligentGraphics/DiligentFX/tree/master/GLTF_PBR_Renderer).
29
30 ## References
31
32 [GLTF2.0 Format Specification](https://github.com/KhronosGroup/glTF)
33
34 [Vulkan-glTF-PBR](https://github.com/SaschaWillems/Vulkan-glTF-PBR)
35
36 [tinygltf](https://github.com/syoyo/tinygltf)
4242 namespace GLTF
4343 {
4444
45
4645 struct Material
4746 {
4847 enum ALPHA_MODE
00 # DiligentTools <img src="https://github.com/DiligentGraphics/DiligentCore/blob/master/media/diligentgraphics-logo.png" height=64 align="right" valign="middle">
11
2 Tools module provides additional functionality on top of the [Diligent Engine](https://github.com/DiligentGraphics/DiligentEngine)'s core module. It implements render script and texture loading utilities. For more information, please visit [diligentgraphics.com/diligent-engine](http://diligentgraphics.com/diligent-engine/).
2 This module implements additional functionality on top of the [Diligent Engine](https://github.com/DiligentGraphics/DiligentEngine)'s core module
3 and contains the following libraries:
4
5 * [Render script](RenderScript), a Lua-based scripting system
6 * [Texture loader](TextureLoader), a texture loading libary. The following formats are currently supported: jpg, png, tiff, dds, ktx.
7 * [Asset Loader](AssetLoader), an asset loading libary. The library currently supports GLTF 2.0.
8
39
410 To build the module, see [build instrcutions](https://github.com/DiligentGraphics/DiligentEngine/blob/master/README.md) in the master repository.
511
12
613 [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](License.txt)
714 [![Chat on gitter](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/diligent-engine)
8
9
10 ## Version History
11
12 ### v2.3
13
14 * Implemented Vulkan backend
15
16 ### v2.2
17
18 * Added MacOS and iOS support
19
20 ### v2.1.b
21
22 * Removed legacy VS projects and solutions
23 * Added HLSL2GLSLConverter project
24
25 ### v2.1.a
26
27 * Refactored build system to use CMake
28 * Added support for Linux platform
29
30 ### v2.0.alpha
31
32 Alpha release of Diligent Engine 2.0. The engine has been updated to take advantages of Direct3D12:
33
34 * Pipeline State Object encompasses all coarse-grain state objects like Depth-Stencil State, Blend State, Rasterizer State, shader states etc.
35 * New shader resource binding model implemented to leverage Direct3D12
36
37 Release notes:
38
39 * Diligent Engine 2.0 also implements OpenGL and Direct3D11 back-ends
40 * Alpha release is only available on Windows platform
41 * Direct3D11 back-end is very thoroughly optimized and has very low overhead compared to native D3D11 implementation
42 * Direct3D12 implementation, to the contrary, is preliminary and not yet optimized.
43
44 ### v1.0.0
45
46 Initial release
47
48 For more details on the release, please visit [diligentgraphics.com](http://diligentgraphics.com/2016/03/17/diligent-engine-2-0-powered-by-direct3d12/)
4915
5016
5117 ------------------------------