-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add skeleton animation (mesh skinning) (#328)
* Convert update verticies into external animator * Add empty skeleton API calls * Implement Skeleton * Add rgl_mesh_set_bone_weights * Bind skeleton to entity (+empty SkeletonAnimator class) * Rename rgl_entity_set_pose -> rgl_entity_set_transform * Fix GASBuilder * BoneWeights: fix member's order & separate definition to avoid massive includes in cuda * Add rgl_mesh_set_restposes * Remove Skeleton API object * Add rgl_entity_set_pose_world and SkeletionAnimator logic * Validate mesh when creating SkeletonAnimator * Calculate displacement for SkeletonAnimator * Renaming * Remove TODO verification (verified) * Add test to validate velocity resulted from entity's animation * Extract function for animation time update * Delete GAS builders for static meshes if no needed * Update docs * Simplify std::visit * Review changes * Review changes
- Loading branch information
Showing
44 changed files
with
1,084 additions
and
310 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
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
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
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
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
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
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
Oops, something went wrong.