一.Blender导入TRF文件
- import bpy
-
- trf_meshes = []
-
- trf_contents = []
-
- trf_import_path = 'D:\pt_ladder.trf'
-
- trf_export_path = 'D:\pt_ladder_morph_keys.trf'
-
- class TrfMesh:
- def __init__(self):
- self.mesh_name = ''
- self.mesh_materials = []
- self.vertex_cnt = 0
- self.vertex_fvf_cnt = 0
- self.morph_key_cnt = 0
- self.bone_cnt = 0
- self.face_cnt = 0
- self.verts = []
- self.vert_fvfs = []
- self.face_vert_fvf_indices = []
- self.face_vert_indices = []
- self.morph_keys = []
- self.bones = []
- self.bone_weights = []
-
- class TrfVert:
- def __init__(self):
-
复制代码 免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。 |