Skip to content

Releases: EasyLive2D/live2d-py

v0.6.0

05 Dec 16:11

Choose a tag to compare

What's Changed

  1. update csmsdk to 5-r4.1
  2. remove glewInit
  3. update ci: auto download csmsdk
  4. filter log msg using log level
  5. add model rotation to live2d.v2

Full Changelog: v0.5.4...v0.6.0

v0.5.4

09 Aug 07:24

Choose a tag to compare

  1. Add support for MacOS intel/x86_64 (#115, solution by @Mozilla88).
  2. Add auto breath and auto blink options in Model (#116 ).
  3. Fix live2d.v2 OpenGL compatibility on MacOS (#113 by @CooperWang0912).
  4. Fix Model param-set cache (#116 posted by @minghf85).

v0.5.3.5

30 Apr 08:36

Choose a tag to compare

v0.5.3.5

  • 添加linux-arm64支持 (#102 )
  • 增加SetScaleX、SetScaleY

v0.5.3.4

v0.5.3.3

  • 添加 live2d.utils.canvas.Canvas,控制模型整体透明度:示例代码 (#92 )

v0.5.3.2

  • 修复参数重置无效

v0.5.3.1

  • 修复眨眼状态失效

v0.5.3

  • 增加 live2d.v3.LAppModel 的表情叠加功能
  • 修复 live2d.v3.Model 未 LoadParameters 时,调用 SetParameterValue 崩溃

v0.5.2.1

v0.5.2.1

27 Apr 05:58

Choose a tag to compare

v0.5.2

  • 修复live2d.v2.LAppModel.HitTest报错
  • 面捕示例增加瞳孔捕捉和嘴部形状,提高眨眼识别率
  • live2d.v3.Model和LAppModel增加Drawable颜色设置

v0.5.1

21 Apr 02:17

Choose a tag to compare

  • live2d.v3.Model 添加表情叠加功能 (#84),用法:Model#表情控制;移除Model.SetDefaultExpressionModel.SetFadeOutExpression

  • 修复 live2d.v2.LAppModel 的参数控制 (#82)

  • live2d.v3.Modellive2d.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.0

v0.5.0

10 Apr 02:17

Choose a tag to compare

  • Fix LAppModel.HitTest fails 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 Live2DViewer based on Main module 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

live2dviewer

v0.4.6

06 Apr 01:21

Choose a tag to compare

  • Add LAppModel.GetSoundPath to access Sound path defined in model3.json (#77 )
  • Fix paramOutSide assignment error (#73, #78 )
  • Fix incorrect facial flush color in live2d.v2 (#78)

v0.4.5

30 Mar 04:34

Choose a tag to compare

  • Fix #73 (by @heurry)
  • Fix OpenGL shader compatibility issue (#74
  • Fix missing .pyd/.so files when using pip install . to install (#20, #72)

Full Changelog: v0.4.4...v0.4.5

v0.4.4

14 Mar 06:44

Choose a tag to compare

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

09 Mar 12:17

Choose a tag to compare

What's Changed

  • 整理项目结构 #65
  • 使用 glad 代替 glew,提高编译速度 #66
  • 修复 #61,现在设置参数可以不用在 UpdateDraw 之间调用,同时,设置的参数值会参与物理计算,产生物理效果(可以参考面捕示例,现在晃动可以使头发飘动)
  • 移除 ClearMotions( 😭),用 StopAllMotionsResetPoseResetParameters 替代

StopAllMotions:时停/停止当前 Motion
ResetPose:恢复初始姿势
ResetParameters:对于没有 pose3.json 文件的模型,ResetPose 不起作用,因此需要重置所有参数(因为不知道 Motion 改变了哪些参数)来使模型恢复到初始姿势

Full Changelog: v0.4.2...v0.4.3