Skip to content

Instantly share code, notes, and snippets.

@liyonghelpme
liyonghelpme / ogre_import.py
Last active August 29, 2015 14:06
测试动画骨骼的旋转和缩放位置
joint
@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
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 August 29, 2015 14:06
增加导入骨骼功能 骨骼位置的旋转矩阵计算需要引入parent的旋转才可以正确计算位置
#!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 15, 2023 00:23
ogre skeleton import
#!BPY
""" Registration info for Blender menus:
Name: 'OGRE (.mesh.xml)...'
Blender: 236
Group: 'Import'
Tip: 'Import an Ogre-Mesh (.mesh.xml) file.'
"""
'''
skeleton
@liyonghelpme
liyonghelpme / ogre_import.py
Last active August 29, 2015 14:06
ogre mesh import blender with material for torchlight
#!BPY
""" Registration info for Blender menus:
Name: 'OGRE (.mesh.xml)...'
Blender: 236
Group: 'Import'
Tip: 'Import an Ogre-Mesh (.mesh.xml) file.'
"""
'''
#!BPY
""" Registration info for Blender menus:
Name: 'OGRE (.mesh.xml)...'
Blender: 236
Group: 'Import'
Tip: 'Import an Ogre-Mesh (.mesh.xml) file.'
"""
'''
gist: c6ebd49af246825943d0 pro.py
gist: cbd360b4a0f7f74f6222 demo.go (golang http proxy)
gist: 39ef1ad4eca381c76009 pro2.py (python http proxy greenlet 非阻塞)
gist: 10353567 Makefile
gist: 3a7cb37777d302513875 etc.py (tranverse all png image 生成出来 etc1 文件 在 tempok中展示 图片的对比)
gist: 8662916 resign.sh
gist: 8215292 sketch_nov01a.ino
gist: 8054908 sketch_nov01a.ino
gist: 7581284 sketch_nov01a.ino
gist: 7466582 sketch_nov01a.ino
#coding:utf8
import os, sys, thread
#, socket
import gevent
from gevent import socket
BACKLOG = 50
MAX_DATA_RECV = 4096
DEBUG = False