Skip to content

Releases: Live2D/CubismNativeFramework

Cubism 5 SDK for Native R5 beta2

30 Oct 02:21
4985de5

Choose a tag to compare

Added

  • Add support for Blend modes and Offscreen rendering.
    • In 5-r.5-beta.2, the D3D9, D3D11 and Metal renderers have also been added.
  • Add GetMocVersionFromBuffer()function.
    • Support for retrieving MOC version from unsupported new MOC3 files.

Changed

  • Rename CubismOffscreenSurface_D3D9 class to CubismRenderTarget_D3D9.
  • Rename CubismOffscreenSurface_D3D11 class to CubismRenderTarget_D3D11.
  • Rename CubismOffscreenSurface_Metal class to CubismRenderTarget_Metal.
  • Change to the implementation now enables support for multiple devices instead of a single one.
    • In Metal, the CubismRenderingInstanceSingleton_Metal class has been removed.

Fixed

  • Fix by removing unnecessary comments and unused structs.
  • Fix the application crashing when shader files could not be loaded.
  • Fix warnings occurs during build on OpenGL-Android.
  • Fix D3D11 anisotropic filtering not working correctly.
  • Fix to correct pixel alignment for all shaders on D3D9.
  • Fix incorrect mask type selection on OpenGL, selecting MaskTypeMaskedInvertedPremultipliedAlpha instead of MaskTypeMaskedPremultipliedAlpha.

Cubism 5 SDK for Native R5 beta1

26 Aug 02:33

Choose a tag to compare

Added

  • Add support for Blend mode and Offscreen drawing.
    • In 5-r.5-beta.1, the OpenGL renderer works only on Windows, macOS, iOS, and Android. The SDK does not function in other environments. Please check NOTICE.md.

Changed

  • Rename CubismOffscreenSurface_OpenGLES2 class to CubismRenderTarget_OpenGLES2.
  • Change the API called to retrieve the drawable render order from GetDrawableRenderOrder() to GetRenderOrder() in CubismCore.

Cubism 5 SDK for Native R4_1

17 Jul 03:09
f426fc4

Choose a tag to compare

Fixed

  • Fix app crashing when shader files could not be loaded.

Cubism 5 SDK for Native R4

29 May 02:45
badc8bd

Choose a tag to compare

Added

  • Add parameter repeat processing that connects the right and left ends of the parameter to create a loop, allowing the motion to repeat.
    • Add the variable _isOverriddenParameterRepeat to the CubismModel class for managing parameter repeat flags at the model level.
    • Add the variable _userParameterRepeatDataList to the CubismModel class for managing parameter repeat flags for each parameter.
  • Add a flag to the arguments of the following methods to enable the function that verifies the consistency of motion3.json:
    • CubismUserModel.LoadMotion()
    • CubismMotion.Create()
    • CubismMotion.Parse()
  • Add a GetPartParentPartIndices() function.

Changed

  • Change shader code to be used separately.

Removed

  • Remove the usage of _DEBUG.

Cubism 5 SDK for Native R3

18 Feb 02:23
f2b858a

Choose a tag to compare

Added

  • Add new motion loop processing that seamlessly connects the start and end points of the loop.
    • The _isLoop variable was moved from class CubismMotion to class ACubismMotion.
    • Add the setter for _isLoop, SetLoop(csmBool loop), to class ACubismMotion.
    • Add the getter for _isLoop, GetLoop(), to class ACubismMotion.
    • The _isLoopFadeIn variable was moved from class CubismMotion to class ACubismMotion.
    • Add the setter for _isLoopFadeIn, SetLoopFadeIn(csmBool loopFadeIn), to class ACubismMotion.
    • Add the getter for _isLoopFadeIn, GetLoopFadeIn(), to class ACubismMotion.
    • Add a variable _motionBehavior for version control to the CubismMotion class.

Deprecated

  • Deprecate the following elements due to the change in the variable declaration location.
    • CubismMotion::IsLoop(csmBool loop)
    • CubismMotion::IsLoop()
    • CubismMotion::IsLoopFadeIn(csmBool loopFadeIn)
    • CubismMotion::IsLoopFadeIn()

Cubism 5 SDK for Native R2

19 Dec 02:29
0b5951b

Choose a tag to compare

Added

  • Add copy constructor to csmMap.
  • Add functions to get CombinedParameters listed in cdi3.json.
  • Add the functionality to call a function when motion playback starts.
  • Add updates to the OpenGL rendering code for HarmonyOS compatibility.
  • Add Linux support for the Vulkan renderer.
  • Add an API to CubismMotionJson for verifying the consistency of motion3.json. by @pillowtrucker
  • Add dedicated resource destruction functions for some platforms

Changed

  • Change to permit to overwrite motion fade by the value specified in .model3.json on CubismUserModel::LoadMotion().
  • Change the threshold for enabling anisotropic filtering in all renderers.
  • Change CubismJson to not use character masking.
  • Resources in Vulkan have been changed to support multi-buffering.
  • Change the ACubismMotion::UpdateFadeWeight() function to return an error code of -1 when the argument is NULL. by @Coloryr
  • Change the access level of the private members in the CubismModelSettingJson class to protected.
  • Change the value of pi used in the calculation of CubismBreath::UpdateParameters() to CubismMath.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 JSON parser to work even when locale is set.
  • Fix memory leak in Vulkan.
  • Fix the Anisotropy processing of Vulkan to match the Sample.
  • Fix D3D11 anisotropic filtering to allow filtering with the specified settings.
  • Fix anisotropic filtering in D3D9.
    • Improved the rendering quality by setting the appropriate filter settings.
    • Anisotropic filtering is now properly processed.
  • Fix a bug that caused an error when playing CubismExpresionMotion with CubismMotionQueueManager::StartMotion().
  • Fix a potential problem with division by 0 when a pose fade time is set to 0 seconds.
  • Fix an issue where calling += on csmString would throw an exception if the character count exceeded 64.

Removed

  • Remove the Cocos2d-x renderer.

Cubism 5 SDK for Native R1

26 Mar 02:34
bf7d7ff

Choose a tag to compare

Added

  • Add function ModF() to compute floating-point remainder in CubismMath class.

Changed

  • Change the Reset() function of CubismPose class to public.
  • Change some processes in the renderer to be handled as functions.
  • Change to output log if the argument MotionQueueEntry is NULL in the UpdateFadeWeight() function of the ACubismMotion class.

Deprecated

  • Deprecate the _fadeWeight variable and the GetFadeWeight() function of the CubismExpressionMotion class.
    • The _fadeWeight variable of the CubismExpressionMotion class can cause problems.
    • Please use the GetFadeWeight() function of the CubismExpressionMotionManager class with one argument from now on.
  • The StartMotion() function of the CubismMotionQueueManager class with the unnecessary third argument userTimeSeconds is deprecated.
    • Please use the StartMotion() function with two arguments from now on.

Fixed

  • Fix a typo in SetParameterValue().
  • Fix an issue that the override keyword is not specified for some functions of classes inheriting from CubismRenderer.
  • Fix operator overloading in the CubismId class from being private to public.
  • Fix a bug that caused incorrect weight values when expression motions were shared by multiple models.
    • Change the way fadeWeight is managed for expression motions.
  • Fix shader build error when running nmake in Vulkan.

Removed

  • Remove CubismSetupMaskedShaderUniforms, CubismNormalShaderUniforms, CubismMaskedShaderUniforms and CubismFragMaskedShaderUniforms from Metal and merged them into CubismMaskedShaderUniforms.

Cubism 5 SDK for Native R1 beta4

25 Jan 06:38
988e087

Choose a tag to compare

Fixed

  • Fix memory leak in DX11.
  • Fix an issue where models with a specific number of masks could not be drawn correctly.
  • Fix to check for null when reading json.
  • Fix an issue that caused some graphics drivers to not render correctly in Vulkan.
  • Fix errors related to semaphore waiting stages.
  • Fix errors that occurs when building with x86 in vulkan.

Cubism 5 SDK for Native R1 beta3

12 Oct 02:13
6d59742

Choose a tag to compare

Added

  • Add clamp() to CubismMath.

Cubism 5 SDK for Native R1 beta2

28 Sep 03:38
51e6006

Choose a tag to compare

Added

  • Add a function to the ACubismMotion class that sets arbitrary data in the callback. by @MizunagiKB
  • Add a comment for clarity for the function whose usage is not intuitive.

Changed

  • Change getter functions to get some datas without GetIdManager in CubismModel.

Fixed

  • Fix a typo in a variable related to the bezier handle restriction state.