Collected from: https://www.dyslexia-reading-well.com/44-phonemes-in-english.html
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
# list all drive and find the one you want to mount with the following cmd | |
# diskutil list | |
export mount_dir=/Volumes/ntfs_drive | |
export disk_dir=/dev/disk4s1 | |
# try to unmount | |
echo "Try to umount ${disk_dir}" | |
umount ${disk_dir} |
by: https://github.com/walkoncross ([email protected])
pip3 install vtk==9.0.2
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
# Different transform matrices in blender | |
Object matrix_basis/matrix_local/matrix_world/matrix_parent_inverse; Bone matrix/matrix_local; PoseBone matrix/matrix_local/matrix_channel; | |
## 1. Object matrix | |
""" | |
Refer to: | |
https://docs.blender.org/api/current/bpy.types.Object.html?highlight=object#bpy.types.Object | |
""" |
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
从smplx轴角到bvh文件 | |
from scipy.spatial.transform import Rotation as R | |
r = R.from_rotvec(np.pi/2 * np.array([0, 0, 1])) | |
euler = r.as_euler(‘ZYX’, degrees=True) # 大写表示intrinsic rotation | |
write_order_string = ‘Zrotation Yrotation Xrotation’ | |
write_euler_string = ‘ ’.join([str(euler[I] for I in range(3)] |
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
Bvh文件里的旋转顺序(rotation order) | |
Bvh内的旋转用的是intrinsic rotation,举例: | |
Bvh文件里面的旋转顺序如果是“Zrotation Xrotation Yrotation”,说明是先绕Z转,然后绕“一次旋转后“、“新的”X轴转,然后绕“两次旋转后“、“新的”Y轴转。因为intrinsic rotation跟extrinsic rotation有“逆序等价”的关系,并且extrinsic rotation三次旋转的旋转矩阵可以直接连乘,所以整体的旋转: | |
v_rot = M_whole * v_ori | |
M_whole = M_z * M_x * M_y * v_ori | |
从以下两个bvh的介绍文档里面可以推理出上述结论: | |
1. Biovision BVH | |
https://research.cs.wisc.edu/graphics/Courses/cs-838-1999/Jeff/BVH.html |
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
# author: [email protected] | |
# date: Aug 04, 2021 | |
import numpy as np | |
from scipy.spatial.transform import Rotation as R | |
import mathutils | |
import math | |
xyz_deg = np.array([45, 30, 60]) | |
xyz_rad = np.deg2rad(xyz_deg) |
This script lets you to visualize the body part segmentation labels of SMPL, SMPL-H, and SMPL-X body models. Follow the instructions to be able to run this script.
- Download the body models you would like to visualize.
- Install the requirements
- Run
python visualize_body_part_segmentation.py <body_model> <body_model_path>
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
## USD 格式 特色 |
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
// Mixamo Animation downloadeer | |
// The following script make use of mixamo2 API to download all anims for a single character that you choose. | |
// The animations are saved with descriptive long names instead of the short ones used by default by mixamo UI. | |
// | |
// This script has been written by [email protected] and the author is not responsible of its usage | |
// | |
// How to use this script | |
// 1. Browse mixamo.com | |
// 2. Log in | |
// 3. Open JS console (F12 on chrome) |
NewerOlder