Skip to content

Releases: Live2D/CubismJavaFramework

Cubism 4 SDK for Java R1 beta2

26 Jan 02:44
d14d187
Compare
Choose a tag to compare

Added

  • Add a description of type package to README.md.

Changed

  • Change Android SDK API level from 31 (Android 12) to 33 (Android 13).
  • Change the name and package of the CubismRectangle class to type/csmRect to match SDK for Native.
  • Move constants related to debugging from CubismFramework class to the newly created CubismFrameworkConfig class.
  • Change implementation to hide CubismJsonString from shallow layers. The following functions are affcted by this change.
    • getLayoutMap function in ICubismModelSetting class
    • getLayoutMap function in CubismModelSettingJson class
    • setupFromLayout function in CubismModelMatrix class
  • Change the name and arguments of createRenderer function in CubismUserModel.
    • The RendererType enumurator is abolished. Please generate a renderer you want to use by yourself and put it in the function as an argument.

Fixed

  • Fix JSON data parsing process to improve performance.
  • Fix a problem where setClippingMaskBufferSize in CubismRendererAndroid would be thrown a NullPointerException if there are no clipping masks in the model.

Removed

  • Remove dependencies not to be used.
  • Remove the unused method getMotionMap in ICubismModelSetting and CubismModelSettingJson class.

Cubism 4 SDK for Java R1 beta1

08 Dec 02:45
beeb136
Compare
Choose a tag to compare

Added

  • Add support for high-precision masks.
  • Implement to throw an exception when a user attempt to give null value to a setter method.
  • Add API to allow users to configure culling.
  • The number of render textures used can now be increased arbitrarily.
    • The maximum number of masks when using multiple render textures has been increased to "number of render textures * 32".

Changed

  • Change the visibility of field variables in CubismClippingContext class from private to public and remove the getter and setter methods.
  • Change the specification of the logging functions in CubismDebug so that they can take a format string as an argument.

Fixed

  • Change radianToDirection function in CubismMath so that an instance of CubismVector2 created by an API user is given as second argument, and the calculation result is stored in that instance and returned.
  • Change the type of cache variables for vertex information used in doDrawModel function in CubismRendererAndroid and setupClippingContext function in CubismClippingManagerAndroid from Map to array.
    • The cost of converting int type to Integer type (auto-boxing) that was incurred every frame was removed by this change.
  • Fix updateParticles and updateParticlesForStabilization function in CubismPhysics not to create an instance of CubismVector2.

Cubism 4 SDK for Java R1 alpha1

06 Oct 02:39
f593bda
Compare
Choose a tag to compare

Added

  • New released!