Skip to content

Instantly share code, notes, and snippets.

@liyonghelpme
liyonghelpme / ogre_import.py
Last active August 29, 2015 14:06
ogre mesh 导入blender 带 骨骼绑定 以及 骨骼权重 采用ADD 方式混合
#!BPY
""" Registration info for Blender menus:
Name: 'OGRE (.mesh.xml)...'
Blender: 236
Group: 'Import'
Tip: 'Import an Ogre-Mesh (.mesh.xml) file.'
"""
'''
@liyonghelpme
liyonghelpme / ogre_import.py
Last active July 19, 2023 07:17
ogre mesh skeleton导入到blender中,同时导入一个Animation的骨骼位置,并且将animation设置为一个pose
#!BPY
""" Registration info for Blender menus:
Name: 'OGRE (.mesh.xml)...'
Blender: 236
Group: 'Import'
Tip: 'Import an Ogre-Mesh (.mesh.xml) file.'
"""
'''
@liyonghelpme
liyonghelpme / ogre_import.py
Last active August 29, 2015 14:06
测试动画骨骼的旋转和缩放位置
joint
@liyonghelpme
liyonghelpme / ogre_import.py
Last active August 29, 2015 14:06
对joint做Animation动画,而不是对骨骼做ANimation动画,使用joint生成对应的骨骼位置,计算相对于restpose的旋转和缩放值
#!BPY
""" Registration info for Blender menus:
Name: 'OGRE (.mesh.xml)...'
Blender: 236
Group: 'Import'
Tip: 'Import an Ogre-Mesh (.mesh.xml) file.'
"""
'''
@liyonghelpme
liyonghelpme / ogre_import.py
Last active August 29, 2015 14:06
使用joint描述骨骼动画,还需要计算每个骨骼的roll值
#!BPY
""" Registration info for Blender menus:
Name: 'OGRE (.mesh.xml)...'
Blender: 236
Group: 'Import'
Tip: 'Import an Ogre-Mesh (.mesh.xml) file.'
"""
'''
@liyonghelpme
liyonghelpme / ogre_import.py
Last active August 29, 2015 14:06
两个问题 顶点权重 骨骼roll 值
#!BPY
""" Registration info for Blender menus:
Name: 'OGRE (.mesh.xml)...'
Blender: 236
Group: 'Import'
Tip: 'Import an Ogre-Mesh (.mesh.xml) file.'
"""
'''
@liyonghelpme
liyonghelpme / ogre_import.py
Last active August 29, 2015 14:06
采用一个joint对一个骨骼的方法,骨骼朝向y方向,增加helper和zero 骨骼
#!BPY
""" Registration info for Blender menus:
Name: 'OGRE (.mesh.xml)...'
Blender: 236
Group: 'Import'
Tip: 'Import an Ogre-Mesh (.mesh.xml) file.'
"""
'''
@liyonghelpme
liyonghelpme / ogre_import.py
Last active August 29, 2015 14:06
调整joint骨骼的轴方向和joint空物体的轴方向相同,设置Pose模式下骨骼的location和rotation就可以像设置joint
#!BPY
""" Registration info for Blender menus:
Name: 'OGRE (.mesh.xml)...'
Blender: 236
Group: 'Import'
Tip: 'Import an Ogre-Mesh (.mesh.xml) file.'
"""
'''
@liyonghelpme
liyonghelpme / ogre_import.py
Last active October 13, 2023 06:18
完美解决Bone Joint 动画方案
#!BPY
""" Registration info for Blender menus:
Name: 'OGRE (.mesh.xml)...'
Blender: 236
Group: 'Import'
Tip: 'Import an Ogre-Mesh (.mesh.xml) file.'
"""
'''
@liyonghelpme
liyonghelpme / ogre_import.py
Last active August 29, 2015 14:06
增加对sharedGeometry 的骨骼绑定的支持
#!BPY
""" Registration info for Blender menus:
Name: 'OGRE (.mesh.xml)...'
Blender: 236
Group: 'Import'
Tip: 'Import an Ogre-Mesh (.mesh.xml) file.'
"""
'''