Added libdli to dali-toolkit as dali-scene-loader.
[platform/core/uifw/dali-toolkit.git] / dali-scene-loader / README.md
1 # dali-sceen-loader
2
3 Provides functionality for loading scenes created in the JSON-based DLI format. DLI is most similar to glTF, but less verbose / granular, and it has a few extra features:
4
5 - customizations: switch between alternative definitions of parts of the scene;
6 - environment maps;
7 - text, arc, and image elements;
8 - etc. (TODO)
9
10 Please refer to [dli-exporter](http://github.com/dalihub/dli-exporter) for converting 3D models to DLI.
11
12 ## Prequisites
13
14 - Windows:
15
16   - Microsoft Visual Studio 2017 (or later, with 2017 build tools);
17   - [windows-dependencies](https://github.com/dalihub/windows-dependencies ) - please follow the steps in its README.md *as well as* its vcpkg-script/ReadMe.md, to install VCPKG and all dependencies;
18  
19 - Linux:
20
21   - GCC v9.3+;
22   - CMake v3.14+;
23   - [dali-core](https://github.com/dalihub/dali-core );
24   - [dali-adaptor](https://github.com/dalihub/dali-adaptor );
25   - [dali-toolkit](https://github.com/dalihub/dali-toolkit );
26   - configure DALi environment by following the instructions in README.md, in dali-core;
27
28 ## Build instructions
29
30 1, build the DALi libraries;
31
32 2,
33
34   - Windows: refer to the VS2017 solution in the windows-dependencies repository;
35   - Linux: run the ../build/tizen/dali-scene-loader/build.sh;
36   - Tizen:
37
38     $ gbs build -A ${target_arch}
39
40     - for debug, add: --define "%enable_debug 1"
41     - for SMACK-enabled targets, add: --define "%enable_dali_smack_rules 1"