Skip to content

Update to Cubism 4 SDK for Java R1 #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 25, 2023
Merged

Update to Cubism 4 SDK for Java R1 #6

merged 1 commit into from
May 25, 2023

Conversation

wada-at-live2d-com
Copy link
Contributor

Added

  • Add some functions for checking consistency of MOC3 files.
    • Add the function of checking consistency in CubismMoc.create().
    • Add the function of checking consistency before loading a model. (CubismUserModel.loadModel())
  • Add some functions to change Multiply and Screen colors on a per part basis.

Changed

  • Change access modifiers for methods in CubismExpressionMotion. And also chenge it to non-final class, allowing it to be extended by inheritance.
  • Change to get opacity according to the current time of the motion.

Fixed

  • Refactor codes of cacheing vertex information in renderer.
    • This change does not affect the behavior of this SDK.
  • Fix a crash when specifying the number of mask buffers as an integer less than or equal to 0 in the second argument of setupRenderer function in CubismUserModel.
  • Fix the redundant process regarding the renderer to make the code more concise.
  • Optimize a drawing process of clipping masks.
    • CubismClippingManagerAndroid class has a flag to indicate whether mask textures have been cleared or not, and the texture clearing process is only called if they have not been cleared.

@itoh-at-live2d-com itoh-at-live2d-com merged commit 1038a3a into master May 25, 2023
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.

2 participants