Skip to content

Instantly share code, notes, and snippets.

@liyonghelpme
liyonghelpme / ogre_import.py
Created December 29, 2014 08:51
ogre import into blender
#!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:07
before support vertexcolours
#!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
兼容导入ogre静态模型和有动画骨骼模型
#!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.'
"""
'''
@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
调整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 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
两个问题 顶点权重 骨骼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描述骨骼动画,还需要计算每个骨骼的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做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.'
"""
'''