Skip to content

Conversation

@wada-at-live2d-com
Copy link
Contributor

Added

  • Add the functionality to call a function when motion playback starts.
  • Add an API to CubismMotionJson for verifying the consistency of motion3.json. by @pillowtrucker
    • This API is ported from Cubism Native Framework.

Changed

  • Change to create and manage a CubismShader for each GLRenderingContext.
  • Change the access level of the private members in CubismModelSettingJson class to protected.
  • Move JSON key strings set to the member variables of CubismModelSettingJson class.
  • Change FrequestNode to be exported as part of the module.
  • Change to permit to overwrite motion fade by the value specified in .model3.json on CubismUserModel.loadMotion().
  • Change the value of pi used in the calculation of CubismBreath.updateParameters() to Math.PI.

Deprecated

  • Deprecate the following elements because a priority value is not actually used during expression motion playback:

    • CubismExpressionMotionManager._currentPriority
    • CubismExpressionMotionManager._reservePriority
    • CubismExpressionMotionManager.startMotionPriority()
    • CubismExpressionMotionManager.getCurrentPriority()
    • CubismExpressionMotionManager.getReservePriority()
    • CubismExpressionMotionManager.setReservePriority()

    Please use the CubismMotionQueueManager.startMotion() instead of CubismExpressionMotionManager.startMotionPriority().

Fixed

  • Fix an issue where already registered keys could be added on csmMap.appendKey().
  • Fix a bug that caused an error when playing CubismExpresionMotion with CubismMotionQueueManager.startMotion().
  • Fix an issue where CubismMath.cardanoAlgorithmForBezier() was using a different function than Cubism SDK for Native.
  • Fix a potential problem with division by 0 when a pose fade time is set to 0 seconds.
  • Fix an issue where CubismPose._fadeTimeSeconds does not become 0.

@itoh-at-live2d-com itoh-at-live2d-com merged commit e3c4ba1 into master Dec 19, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants