Skip to content

gltfViewer

The gltfViewer is a tools that allows to preview glTF2 files rendered with the Kuesa Qt 3D engine.

gltfViewer.jpg

Usage

It is a command line application on all platforms except macOS.

1
Usage: tools/gltfViewer/gltfViewer [options] source

This tool renders glTF 2.0 files.

Example:

1
./gltfViewer [-f] my_file.gltf

Options:

  • -h, –help Displays this help.
  • -v, –version Displays version information.
  • -f, –fullScreen show full screen.
  • -p, –play play named animation
  • -l, –loop loop animations
  • -c, –camera use named camera
  • -s, –scene index of the glTF scene to load
  • -r, –reflectionPlane use named reflection plane

Arguments:

  • source gltf 2.0 file to render.

Runtime Keyboard Shotcuts:

  • space Toggle play state of animations
  • tab Render the scene with the next camera
  • previous Render the scene with the previous camera
  • ctrl + r Reload the glTF file

Updated on 2023-07-03 at 11:02:17 +0000