Skip to content
Professional 3D asset creation and integration workflow for Qt
Branch: dev
Clone or download
jcelerier and lemirep Rename APE into glTF editor
Change-Id: I8e914b9cb3c6fa07c296d00cf01d09b49235a21e
Reviewed-on: https://kuesa-codereview.kdab.com/c/kuesa/kuesa/+/109
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Latest commit 6952b01 Jun 6, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config.tests/draco various - update Copyright year Mar 11, 2019
examples Rename APE into glTF editor Jun 7, 2019
resources We are going public! Dec 3, 2018
src Rename APE into glTF editor Jun 7, 2019
tests Rename APE into glTF editor Jun 7, 2019
tools
.clang-format Prevent clang-format from running on comments Mar 5, 2019
.clang-tidy .clang-tidy - Further simplify clang-tidy configuration Dec 26, 2018
.clazy We are going public! Dec 3, 2018
.gitignore Depth of field effect May 9, 2019
.krazy .krazy - skip a json file Mar 15, 2019
.qmake.conf We are going public! Dec 3, 2018
LICENSE.AGPL.txt We are going public! Dec 3, 2018
LICENSING.txt We are going public! Dec 3, 2018
README.md Rename APE into glTF editor Jun 7, 2019
STYLE.md Introduce clang-format to help with the coding style Dec 6, 2018
configure.json We are going public! Dec 3, 2018
kuesa-global.pri Fix build and run on SDK Qt installations Jun 7, 2019
kuesa.pro Fix build and run on SDK Qt installations Jun 7, 2019
sync.profile We are going public! Dec 3, 2018

README.md

Kuesa module for Qt 3D

alt text

Kuesa is a module for Qt 3D which provides:

  • Support for glTF 2 importing
  • Helpers for accessing and manipulating loaded content
  • Custom PBR material
  • Custom forward renderer for adding effects
  • A Qt Creator template for quickly creating new Kuesa based projects

Requirements

Note: this repository requires git-lfs support.

Kuesa requires Qt 3D 5.12.0 or later.

Hardware

Desktop

Anything with OpenGL 3.2 support (or more recent) is adequate.

Currently supported operating systems are: *Linux *Windows *Mac OS

Embedded

Here's a list of Chipsets/Devices Kuesa has successfully been tested on: *Apple iPad 5 (PowerVR GT7600) *Apple iPhone 7 *OnePlus 3T (Android, Qualcolmm Snapdragon 821/Adreno 430) *NVidia Tegra K1 (embedded Linux) *iMX8 (embedded Linux)

Optional Dependencies

Kuesa can optionnally use the Draco mesh compression library, either through an embedded version, or a version present on the system. Draco can be used to dramatically decrease the size of glTF files.

Kuesa supports the KHR_draco_mesh_compression glTF extension as defined here: https://github.com/KhronosGroup/glTF/blob/master/extensions/2.0/Khronos/KHR_draco_mesh_compression/

By default, Kuesa will build with its own embedded version of the Draco library. This can be enforced with:

qmake kuesa.pro -- --draco=qt

To build Kuesa without any support for Draco, run qmake like this:

qmake kuesa.pro -- --draco=no

To build Kuesa with an external version of Draco, run qmake like this:

qmake kuesa.pro -- --draco=system

If Draco is not installed in the default location on your system, you can set the DRACOSDK environment variable to point to where Draco is installed. Use the DRACOSDK_LIBS environment variable to point to the folder containing the Draco libraries.

Note that Kuesa has last been tested with Draco at commit 8833cf878e6fd43c5a3fd6e4231212e25e25e632.

The glTF editor, provided with Kuesa, is able to compress existing glTF 2.0 assets with Draco.

Components

Kuesa is composed of:

  • A Qt module with core classes
  • A QML plugin
  • The gltfEditor tool to preview and process glTF 2.0 files
  • The assetprocessor, a command line tool to compress meshes, embed or extract binary assets, etc
  • A simple glTFViewer application to view files, including selecting cameras and animations
  • The cubemaptooctahedralmap tool to convert cube maps to octahedral maps to enable PBR rendering on ES 2 platforms

glTF Editor

alt text

The glTF Editor can be used both by the designer and developer in order to preview and pre-process the content of glTF files.

The designers will use the editor to check the rendering of the scene, verify that materials are correct, preview animations, etc.

The developers will also use the editor check model properties such as sizes, asset names, etc.

The editor can also be used to compress meshes, embed (or extract) binary assets, etc.

In the 3d view, use the mouse to click on meshes to select them in the collection browser. Use:

  • Simple click to select meshes
  • Shift-click to select materials
  • Alt-click to select entities

Installation

Kuesa builds as a Qt module and will be installed alongside Qt.

qmake
make
make install

Should examples not be built, try:

make sub-examples
cd examples
make install

To install the Qt Creator template, copy the entire kuesa folder from tools/qtc_templates to the templates/wizards folder inside the Qt Creator install location.

3rd-party

Kuesa uses the following 3rd-party software:

You can’t perform that action at this time.