Releases: Live2D/CubismNativeFramework
Releases · Live2D/CubismNativeFramework
Cubism 5 SDK for Native R2
Added
- Add copy constructor to
csmMap
. - Add functions to get
CombinedParameters
listed 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
CubismMotionJson
for 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
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()
toCubismMath.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 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
+=
oncsmString
would 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 inCubismMath
class.
Changed
- Change the
Reset()
function ofCubismPose
class to public. - Change some processes in the renderer to be handled as functions.
- Change to output log if the argument
MotionQueueEntry
isNULL
in theUpdateFadeWeight()
function of theACubismMotion
class.
Deprecated
- Deprecate the
_fadeWeight
variable and theGetFadeWeight()
function of theCubismExpressionMotion
class.- The
_fadeWeight
variable of theCubismExpressionMotion
class can cause problems. - Please use the
GetFadeWeight()
function of theCubismExpressionMotionManager
class with one argument from now on.
- The
- The
StartMotion()
function of theCubismMotionQueueManager
class with the unnecessary third argumentuserTimeSeconds
is 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
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
andCubismFragMaskedShaderUniforms
from 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
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
inCubismModel
.
Fixed
- Fix a typo in a variable related to the bezier handle restriction state.
Cubism 5 SDK for Native R1 beta1
Added
- Add the function to get the ID of a given parameter.(
CubismModel::GetParameterId
) - Add the
CubismExpressionMotionManager
class. - Add a Renderer for Vulkan API in Windows.
Changed
- Unify Offscreen drawing-related terminology with
OffscreenSurface
. - Change comment guidelines for headers in the
Framework
directory.
Fixed
- Fix a bug that caused cocos2d-x culling to not be performed correctly.
- Fix the structure of the class in renderer.
- Separate the high precision mask process from the clipping mask setup process.
- Separate shader class from CubismRenderer files for Cocos2d-x, Metal, OpenGL.
- Fix Metal rendering results on macOS to be similar to OpenGL.
- If you want to apply the previous Metal rendering results, change
mipFilter
inMTLSamplerDescriptor
fromMTLSamplerMipFilterLinear
toMTLSamplerMipFilterNotMipmapped
.
- If you want to apply the previous Metal rendering results, change
- Fix a bug that the value applied by multiply was not appropriate during expression transitions.
Removed
- Remove several arguments of
DrawMesh
function.
Cubism 4 SDK for Native R7
Added
- Add some function for checking consistency of MOC3.
- Add the function of checking consistency on reviving a MOC3. (
CubismMoc::Create
) - Add the function of checking consistency from unrevived MOC3. (
CubismMoc::HasMocConsistencyFromUnrevivedMoc
)
- Add the function of checking consistency on reviving a MOC3. (
- Add some functions to change Multiply and Screen colors on a per part basis.
Changed
- Change access specifier for
CubismExpressionMotion
. - Change to get opacity according to the current time of the motion.
Cubism 4 SDK for Native R6_2
Fixed
- Fix a bug that caused double and triple buffering to be disabled on DirectX systems due to multiple render textures in 4-r.6.
- Fix the condition of splitting the mask buffer according to the number of masks used to be in accordance with the specification.
- Fix some problems related to Cubism Core.
- See
CHANGELOG.md
in Core.
- See
Cubism 4 SDK for Native R6_1
Added
- Add function to validate MOC3 files.
Cubism 4 SDK for Native R6
Added
- 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".
Fixed
- Fix a bug that models with culling were not rendered correctly in Metal.
- Fix a bug that caused some masks to be rendered incorrectly when using 17 or more masks in DirectX systems.
Removed
- Remove unnecessary variable
modelToWorldF
in renderer.