nezticle / gltf-samples-converter

A script to generate a QtQuick3D project for viewing GLTF2 samples

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gltf-samples-converter

A script to generate a QtQuick3D project for viewing GLTF2 samples

Prerequisites

Usage

./generate-quick3d-project.py -i input/directory -o output/directory -b location/of/balsam.exe

The objective is to convert the files in the glTF-Sample-Models project. So here is example of what that looks like:

Source: D:/Code/glTF-Sample-Models/

Output folder: D:/Code/gltFSampleViewer

Balsam Location: D:/Code/Qt6/qtbase/bin/balsam.exe

Examples Command:

./generate-quick3d-project.py -i D:/Code/glTF-Sample-Models/2.0 -o D:/Code/gltFSampleViewer -b D:/Code/Qt6/qtbase/bin/balsam.exe

Then just build the qmake project in the output folder with Qt 6.

About

A script to generate a QtQuick3D project for viewing GLTF2 samples

License:BSD 2-Clause "Simplified" License


Languages

Language:C++ 75.2%Language:Python 11.3%Language:QML 10.4%Language:QMake 1.9%Language:CMake 1.2%