Cubism Native Framework Change History

Updated: 05/25/2023

Change History

The change history is available in CHANGELOG.md directly under the Framework directory of the Cubism SDK for Native distribution package or CHANGELOG.md directly under the CubismNativeFramework repository on the Live2D GitHub. (English only)

Information

Depending on the version of the Cubism SDK, a document describing precautions for use may be enclosed.
For details, see NOTICE.md (English) or NOTICE.ja.md (Japanese) directly under the Framework directory of the Cubism SDK for Native distribution package or NOTICE.md (English) or NOTICE.ja.md (Japanese) directly under the CubismNativeFramework repository of the Live2D GitHub.


Cubism 4 SDK for Native R7 (05/25/2023)

Additions

  • Added the ability to check the integrity of MOC3 files.
    • Added the ability to check the integrity when recovering MOC3 files. (CubismMoc::Create)
    • Added the ability to check the integrity of unrecovered MOC3 files. (CubismMoc::HasMocConsistencyFromUnrevivedMoc)
  • Added the ability to change Multiply Color and Screen Color on a part-by-part basis.

Changes

  • Changed the access specifier for CubismExpressionMotion.
  • Changed method to get opacity according to the current time of the motion.

Cubism 4 SDK for Native R6_2 (03/16/2023)

Revisions

  • Fixed a bug in 4-r.6 that caused double and triple buffering to be disabled in the DirectX system due to multiple render textures.
  • The condition for dividing the mask buffer according to the number of masks used has been modified to be in line with the specification.
  • Fixed several issues related to Cubism Core.
    • See CHANGELOG.md in Cubism Core.

Cubism 4 SDK for Native R6_1 (03/10/2023)

Additions

  • Added a function to check the integrity of MOC3.

Cubism 4 SDK for Native R6 (02/21/2023)

Additions

  • Added API for 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.”

Revisions

  • Fixed a bug in which models with culling were not rendered correctly in Metal.
  • Fixed a problem in which some masks were not rendered correctly when 17 or more masks were used in DirectX systems.

Deleted items

  • Unnecessary variable “modelToWorldF” in the renderer has been deleted.

Cubism 4 SDK for Native R5_1 (09/15/2022)

Revisions

  • Fixed a bug that caused a crash if an empty array existed in json.

Cubism 4 SDK for Native R5 (09/08/2022)

Additions

  • Added multilingual documentation.
  • Added a function to immediately stabilize physics operations.

Revisions

  • Fixed a memory leak problem that occurred when defining a Vector with 0 elements.

Cubism 4 SDK for Native R5 beta5 (08/04/2022)

Revisions

  • Fixed a bug in which processing was interrupted when an invalid vertex was specified in the middle of a physics operation.
  • Fixed physics input to be divided by physics setting time.
  • Fixed a small memory leak in physics operations.

Cubism 4 SDK for Native R5 beta4_1 (07/08/2022)

Revisions

  • Fixed Core API called in GetDrawableParentPartIndex function.

Cubism 4 SDK for Native R5 beta4 (07/07/2022)

Additions

  • A function has been added to retrieve the latest MOC3 version and the MOC3 version of the loaded model.
  • Added CubismModel::GetParameterType() function to get model parameter types.
  • Added CubismModel::GetDrawableParentPartIndex() function to get the Drawable parent part of a model.

Changes

  • Disabled ARC for Metal renderer.

Revisions

  • Fixed a bug in Metal’s GetRenderPassDescriptor() function that referenced an invalid pointer.

Cubism 4 SDK for Native R5 beta3 (06/16/2022)

Revisions

  • The GetDrawableTextureIndices function in CubismModel was renamed to GetDrawableTextureIndex because the name was incorrect.
    • The GetDrawableTextureIndices function is marked as deprecated.
  • Fixed physics system behavior when FPS configuration values exist in .physics3.json.
  • Fixed force close problem when loading an invalid .physics3.json file.
  • Fixed a memory leak in Cocos2d-x.

Cubism 4 SDK for Native R5 beta2 (06/02/2022)

Revisions

  • Fixed a bug that caused incorrect Multiply Color and Screen Color to be applied.

Cubism 4 SDK for Native R5 beta1 (05/19/2022)

Additions

  • Cubism 4.2 is now supported.
  • Multiply Color and Screen Color are now supported.
  • Multiply Color and Screen Color can now be overridden by the user’s desired color.
  • A function to reset the state of physics operations has been added.

Changes

  • The path that can be obtained with GetTextureDirectory() has been corrected to the directory name of the 0th texture.

Cubism 4 SDK for Native R4 (12/09/2021)

Additions

  • The following rendering options have been added to Metal.
    • `USE_RENDER_TARGET`
    • `USE_MODEL_RENDER_TARGET`
  • Added anisotropic filtering to Metal.
  • Added a macro to switch the precision of floating point numbers in fragment shaders in OpenGL.
  • Added check function for existence of ‘.cdi3.json’ from ‘.model3.json.’
  • Added ‘CubismJsonHolder.’ This is a common class used to instantiate and check the validity of ‘CubismJson.’
  • Each JSON parser will now warn if an instance of ‘CubismJson’ is invalid.

Changes

  • Made changes so that each JSON parser inherits from a common class ‘CubismJsonHolder.’

Revisions

  • Fixed Cocos2d-x v4.0 renderer.
    • When using ‘USE_MODEL_RENDER_TARGET,’ ‘RenderTexture’ was empty.
  • Fixed a bug in which motions with different fade times did not switch correctly.
  • Fixed a bug in which the currently playing motion did not fade out when motion playback started.

Cubism 4 SDK for Native R4 beta1 (10/07/2021)

Additions

  • Added the ability to parse Opacity values from .motion3.json.
  • Added Renderer for iOS Metal API.
    • There are some restrictions; see NOTICE.md for details.

Revisions

  • Fixed cubismjson to return correct error values for non-indexed arguments.  @cocor-au-lait.
  • Fixed warning when SegmentType could not be obtained when loading motion.
  • Fixed renderer for Cocos2d-x v4.0.
    • Processing when using USE_RENDER_TARGET and high-definition masking now works correctly.

Cubism 4 SDK for Native R3 (06/10/2021)

No change from Cubism 4 SDK for Native R3 beta1.

Cubism 4 SDK for Native R3 beta1 (05/13/2021)

Additions

  • Added Renderer for Cocos2d-x v4.0.
  • A function has been implemented to obtain the correct value when the Bezier handle’s time axis cannot be linear.
  • Added arguments to the SetClippingMaskBufferSize function to set the height and width of the clipping mask buffer.

Changes

Improved the quality of clipping masks in high-precision masking.

Cubism 4 SDK for Native R2 (02/17/2021)

Additions

  • Anisotropic filtering has been implemented for DirectX-based renderers.
  • A function to get the pixel size and PixelsPerUnit of a model has been implemented.

Changes

  • Made changes to check pointers before use to avoid crashes.  @Xrysnow

Revisions

  • Fixed a flag that reverses the input of physics operations when applying values.
  • Fixed renderer for OpenGL.
    • Fixed mask buffer deletion when renderer instance is destroyed.
  • Fixed a bug that delayed the start of the fade-out of facial expressions.
  • Fixed a memory bug that caused segmentation errors when reallocating memory.
  • Corrected reference size for model matrices.
  • Fixed a bug that caused a memory leak in the color buffer when CubismOffscreenFrame_OpenGLES2 was destroyed.
  • Fixed typo in argument name of CubismEyeBlink::SetBlinkingInterval().

Cubism 4 SDK for Native R1 (01/30/2020)

Additions

  • Added callback function to be called when motion ends.

Changes

  • Header files are now included in CMake.
  • CSM_TARGET_COCOS does not contain <GL/glew> on macOS if it is defined.

Revisions

  • Fixed a problem where rendering did not work properly on Tegra-based Android devices.

Not recommended

  • Use target_include_directories instead of using the FRAMEWORK_XXX_INCLUDE_PATH variable in CMake at the application layer.
  • Use target_compile_definitions instead of using the FRAMEWORK_DEFINITIONS variable in CMake at the application layer.
  • Specify FRAMEWORK_SOURCE in CMake for applications using OpenGL.

Cubism 4 SDK for Native beta2 (11/14/2019)

Additions

  • Includes have been added to the Framework for Linux builds.

Changes

  • Performed refactoring of CMakeLists.txt.

Revisions

  • Fixed renderer for DirectX 9 / 11.
  • Fix implementation omission: check for dynamic flags

Cubism 4 SDK for Native beta1 (09/04/2019)

Additions

  • A new mask inversion feature is supported.
  • Added .editorconfig and .gitattributes for file formats.
  • Added .gitignore.
  • Added CHANGELOG.md.
  • Sample model ./Sample/Res/Rice was used.

Changes

  • Performed file format conversion according to .editorconfig.

Revisions

  • Fixed typo in CubismCdiJson.
  • Fixed an invalid expression in CubismCdiJson.
Was this article helpful?
YesNo
Please let us know what you think about this article.