Skip to content

zhanghao00925/glTF_viewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

glTF_Viewer

glTF animation viewer using TinyglTF

Build

sudo apt-get install xorg-dev
# clone libs
git submodule update --init --recursive

mkdir build
cd build
cmake .. && make -j4
./glTF_viewer -h

Usage

Usage: glTF_viewer [options] glTF_model_path 

Positional arguments:
glTF_model_path         glTF model path.

Optional arguments:
-h --help               show this help message and exit
-x --width              specify the width.
-y --height             specify the height.

Use w,a,s,d to move the camera, use mouse to rotate camera. Press 0 to hide cursor.

Feature

  • Morph Targets
  • Skeleton Animation
  • PBR
  • OIT

Author : patrix

[url: https://sketchfab.com/3d-models/sci-fi-girl-v02-walkcycle-test-07ac452d75cc47969234b224422ea85d]

Author : theStoff

[url: https://sketchfab.com/3d-models/zelda-breath-of-the-wild-bf99374334a64291ae2876c83269adb6]

Todo List

  • Improve render quality.

Library Used

Acknowledge

Refer to glTF_Animation's code to load glTF and skeleton animation.

About

glTF animation viewer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published