-
Notifications
You must be signed in to change notification settings - Fork 0
Home
This page provides information for building and using the QtglTFTest application.
glTF™ (GL Transmission Format) is a specification for the transmission and loading of 3D scenes and models by applications.
- Khronos Web Site: https://www.khronos.org/gltf
- glTF 1.0 Specification: https://github.com/KhronosGroup/glTF/tree/master/specification/1.0
- gltTF Sample Models: https://github.com/KhronosGroup/glTF-Sample-Models
Instructions for generating HTML documentation can be found on the [Generating HTML Documentation](Generating HTML Documentation) wiki.
These instructions describe how to construct documentation for browsing the glTF Schema.
- Ubuntu 14.04 64-bit Linux
- Node.js, version 0.10.25
- Matic (https://github.com/mattyod/matic)
- Jade, version 1.11.0 (https://www.npmjs.com/package/jade)
To install Node.js, type the following command in your terminal:
$ sudo apt-get install nodejs
Then install the Node package manager, npm:
$ sudo apt-get install npm
Create a symbolic link for node, as many Node.js tools use this name to execute.
$ sudo ln -s /usr/bin/nodejs /usr/bin/node
Now you should have both the Node and npm commands working:
$ node -v
v0.10.25
$ npm -v
1.3.10
$ git clone https://github.com/KhronosGroup/glTF.git
Copy the 1.0 schema files ('*.schema.json' files located under '1.0/schema' directory) to a working directory.
Matic is a build tool for generating HTML documentation from JSON schemas
Install the Node.js matic package:
$ sudo npm install -g matic
$ sudo npm install -g jade
In the working directory, do
matic