-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
1,455 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Copyright (C) 2023 ETH Zurich, Manuel Kaufmann, Velko Vechev, Dario Mylonopoulos | ||
from aitviewer.renderables.skeletons import Skeletons | ||
from aitviewer.viewer import Viewer | ||
|
||
if __name__ == "__main__": | ||
"""Load a BVH file and display it.""" | ||
skeletons = Skeletons.from_bvh(r"./resources/bvh/sample.bvh") | ||
viewer = Viewer() | ||
viewer.scene.add(skeletons) | ||
|
||
# Place the camera such that the skeleton is in the center of the view. | ||
viewer.center_view_on_node(skeletons) | ||
viewer.auto_set_camera_target = False | ||
|
||
viewer.run_animations = True | ||
viewer.run() |
Oops, something went wrong.