Releases: Live2D/CubismNativeFramework
Releases · Live2D/CubismNativeFramework
Cubism 5 SDK for Native R5 beta2
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.
- In
- 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_Metalclass has been removed.
- In Metal, the
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
MaskTypeMaskedInvertedPremultipliedAlphainstead ofMaskTypeMaskedPremultipliedAlpha.
Cubism 5 SDK for Native R5 beta1
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 checkNOTICE.md.
- In
Changed
- Rename CubismOffscreenSurface_OpenGLES2 class to CubismRenderTarget_OpenGLES2.
- Change the API called to retrieve the drawable render order from
GetDrawableRenderOrder()toGetRenderOrder()in CubismCore.
Cubism 5 SDK for Native R4_1
Fixed
- Fix app crashing when shader files could not be loaded.
Cubism 5 SDK for Native R4
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
_isOverriddenParameterRepeatto theCubismModelclass for managing parameter repeat flags at the model level. - Add the variable
_userParameterRepeatDataListto theCubismModelclass for managing parameter repeat flags for each parameter.
- Add the variable
- 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
Added
- Add new motion loop processing that seamlessly connects the start and end points of the loop.
- The
_isLoopvariable was moved from classCubismMotionto classACubismMotion. - Add the setter for
_isLoop,SetLoop(csmBool loop), to classACubismMotion. - Add the getter for
_isLoop,GetLoop(), to classACubismMotion. - The
_isLoopFadeInvariable was moved from classCubismMotionto classACubismMotion. - Add the setter for
_isLoopFadeIn,SetLoopFadeIn(csmBool loopFadeIn), to classACubismMotion. - Add the getter for
_isLoopFadeIn,GetLoopFadeIn(), to classACubismMotion. - Add a variable
_motionBehaviorfor version control to theCubismMotionclass.
- The
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
Added
- Add copy constructor to
csmMap. - Add functions to get
CombinedParameterslisted incdi3.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
CubismMotionJsonfor verifying the consistency ofmotion3.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
CubismJsonto 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-1when the argument is NULL. by @Coloryr - Change the access level of the private members in the
CubismModelSettingJsonclass to protected. - Change the value of pi used in the calculation of
CubismBreath::UpdateParameters()toCubismMath.PI.
Deprecated
-
Deprecate the following elements because a priority value is not actually used during expression motion playback:
CubismExpressionMotionManager::_currentPriorityCubismExpressionMotionManager::_reservePriorityCubismExpressionMotionManager::StartMotionPriority()CubismExpressionMotionManager::GetCurrentPriority()CubismExpressionMotionManager::GetReservePriority()CubismExpressionMotionManager::SetReservePriority()
Please use the
CubismMotionQueueManager::StartMotion()instead ofCubismExpressionMotionManager::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
+=oncsmStringwould throw an exception if the character count exceeded 64.
Removed
- Remove the Cocos2d-x renderer.
Cubism 5 SDK for Native R1
Added
- Add function
ModF()to compute floating-point remainder inCubismMathclass.
Changed
- Change the
Reset()function ofCubismPoseclass to public. - Change some processes in the renderer to be handled as functions.
- Change to output log if the argument
MotionQueueEntryisNULLin theUpdateFadeWeight()function of theACubismMotionclass.
Deprecated
- Deprecate the
_fadeWeightvariable and theGetFadeWeight()function of theCubismExpressionMotionclass.- The
_fadeWeightvariable of theCubismExpressionMotionclass can cause problems. - Please use the
GetFadeWeight()function of theCubismExpressionMotionManagerclass with one argument from now on.
- The
- The
StartMotion()function of theCubismMotionQueueManagerclass with the unnecessary third argumentuserTimeSecondsis deprecated.- Please use the
StartMotion()function with two arguments from now on.
- Please use the
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
CubismIdclass 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,CubismMaskedShaderUniformsandCubismFragMaskedShaderUniformsfrom Metal and merged them intoCubismMaskedShaderUniforms.
Cubism 5 SDK for Native R1 beta4
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
Added
- Add
clamp()to CubismMath.
Cubism 5 SDK for Native R1 beta2
Added
- Add a function to the
ACubismMotionclass 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
GetIdManagerinCubismModel.
Fixed
- Fix a typo in a variable related to the bezier handle restriction state.