| 1 | ## PasGLTF from BeRo |
| 2 | |
| 3 | This directory contains `PasGLTF` unit, to read/write glTF files. |
| 4 | |
| 5 | Along with dependencies (`PasJSON` and `PasDblStrUtils`). |
| 6 | |
| 7 | By Benjamin 'BeRo' Rosseaux. |
| 8 | |
| 9 | Original sources with examples: |
| 10 | |
| 11 | |
| 12 | - https://github.com/BeRo1985/pasgltf |
| 13 | - https://github.com/BeRo1985/pasjson |
| 14 | - https://github.com/BeRo1985/pasdblstrutils |
| 15 | |
| 16 | We host the units here, inside CGE repo, because: |
| 17 | |
| 18 | - We want maximum convenience for people using CGE. This way you can compile Castle Game Engine with glTF 2.0 support out-of-the-box after cloning CGE repo. |
| 19 | |
| 20 | We considered but rejected use of GIT submodules, as many people are not familiar with them and wouldn't do `git submodule update --init --recursive`. |
| 21 | |
| 22 | - Later: We also had to rename them, to avoid conflicts with GLScene that also includes these unis, see https://forum.castle-engine.io/t/installation-in-delphi-12-1/1228 . |
| 23 | |
| 24 | We still do not want to modify or fork them here. All the necessary modifications should be submitted back to BeRo repositories, so that everyone benefits. |
| 25 | |
| 26 | License: open-source ZLib license: https://opensource.org/licenses/zlib |