Releases: EasyLive2D/live2d-py
v0.6.0
v0.5.4
- Add support for MacOS intel/x86_64 (#115, solution by @Mozilla88).
- Add auto breath and auto blink options in Model (#116 ).
- Fix live2d.v2 OpenGL compatibility on MacOS (#113 by @CooperWang0912).
- Fix Model param-set cache (#116 posted by @minghf85).
v0.5.3.5
v0.5.3.5
- 添加linux-arm64支持 (#102 )
- 增加SetScaleX、SetScaleY
v0.5.3.4
- 修复 canvas (#93, #94, #95 by @GuangChen2333 )
v0.5.3.3
v0.5.3.2
- 修复参数重置无效
v0.5.3.1
- 修复眨眼状态失效
v0.5.3
- 增加
live2d.v3.LAppModel的表情叠加功能 - 修复
live2d.v3.Model未 LoadParameters 时,调用 SetParameterValue 崩溃
v0.5.2.1
- Fix build error on Linux (#89 by @Barracuda72 )
- Add
Model.DestroyRenderer,live2d.glRelease. Usage: test_destroy_renderer.py
v0.5.2.1
v0.5.2
- 修复live2d.v2.LAppModel.HitTest报错
- 面捕示例增加瞳孔捕捉和嘴部形状,提高眨眼识别率
- live2d.v3.Model和LAppModel增加Drawable颜色设置
v0.5.1
-
live2d.v3.Model添加表情叠加功能 (#84),用法:Model#表情控制;移除Model.SetDefaultExpression,Model.SetFadeOutExpression -
修复
live2d.v2.LAppModel的参数控制 (#82) -
live2d.v3.Model,live2d.v3.LAppModel添加模型画布获取 (#85):
print("canvas size:", model.GetCanvasSize())
print("canvas size in pixels:", model.GetCanvasSizePixel())
print("pixels per unit:", model.GetPixelsPerUnit())
# canvas size: (1.0, 1.875)
# canvas size in pixels: (2400.0, 4500.0)
# pixels per unit: 2400.0v0.5.0
- Fix
LAppModel.HitTestfails when model is translated, rotated or scaled - Add fine-grained model
live2d.v3.Model. (#79, #80) Class methods: live2d.v3.Model. Code example: package/main_pygame_fine_grained.py - Add build target
Live2DViewerbased onMainmodule of live2d-py and Qt 6.8.2
Download for Live2DViewer-win64: https://github.com/Arkueid/live2d-py/releases/download/v0.5.0/Live2DViewer-win64.zip
v0.4.6
v0.4.5
v0.4.4
pip install live2d-py==0.4.4.1 (physics calc bug fixed)
- Add return value for
SetRandomExpression(#69) - Add
GetExpressionIds,GetMotionGroups(#69) - Fix #59
- Fix #68
- Add
GetParamIds,SetIndexParamValue/AddIndexParamValue
Difference between SetParameterValue(paramId: str, value: float, weight = 1.0f) and SetIndexParamValue(index: int, value: float, weight: float = 1.0)
SetParameterValue:
paramId, value, weight = input()
for idx, pid in paramIds:
if pid == paramId:
set_value(idx, value, weight)
break
SetIndexParamValue:
paramIndex, value, weight = input()
set_value(paramIndex, value, weight)
The latter could be slightly faster than the former one, but the gap can be ignored in most occasions.
Full Changelog: v0.4.3...v0.4.4
v0.4.3
What's Changed
- 整理项目结构 #65
- 使用 glad 代替 glew,提高编译速度 #66
- 修复 #61,现在设置参数可以不用在
Update和Draw之间调用,同时,设置的参数值会参与物理计算,产生物理效果(可以参考面捕示例,现在晃动可以使头发飘动) - 移除
ClearMotions( 😭),用StopAllMotions,ResetPose,ResetParameters替代
StopAllMotions:时停/停止当前 Motion
ResetPose:恢复初始姿势
ResetParameters:对于没有 pose3.json 文件的模型,ResetPose 不起作用,因此需要重置所有参数(因为不知道 Motion 改变了哪些参数)来使模型恢复到初始姿势
Full Changelog: v0.4.2...v0.4.3
