Releases: Live2D/CubismWebFramework
Releases · Live2D/CubismWebFramework
Cubism 5 SDK for Web R5
Added
- Add functionality to change motion calculation order.
- Add
cubismlookclass that implements the target tracking feature.- The target tracking feature can now specify parameter IDs through the
Framework.
- The target tracking feature can now specify parameter IDs through the
Changed
- Change multiply and screen color functions to separate class with renamed methods.
Fixed
- Fix unnecessary multiply color and screen color settings in mask drawing.
Removed
- Remove deprecated functions from CubismMotion:
setIsLoop()(usesetLoop()instead)isLoop()(usegetLoop()instead)setIsLoopFadeIn()(usesetLoopFadeIn()instead)isLoopFadeIn()(usegetLoopFadeIn()instead)
- Remove deprecated functions from CubismExpressionMotionManager:
getCurrentPriority()(priority is not used in expression motion playback)getReservePriority()(priority is not used in expression motion playback)setReservePriority()(priority is not used in expression motion playback)startMotionPriority()(usestartMotion()instead)
- Remove deprecated fields from CubismExpressionMotionManager:
_currentPriority(priority is not used in expression motion playback)_reservePriority(priority is not used in expression motion playback)
- Remove deprecated function from CubismExpressionMotion:
getFadeWeight()(useCubismExpressionMotionManager.getFadeWeight()instead)
- Remove deprecated field from CubismExpressionMotion:
_fadeWeight(can cause bugs)
- Remove deprecated functions from CubismModel:
getOverwriteFlagForModelCullings()(renamed togetOverrideFlagForModelCullings())setOverwriteFlagForModelCullings()(renamed tosetOverrideFlagForModelCullings())getOverwriteFlagForDrawableCullings()(renamed togetOverrideFlagForDrawableCullings())setOverwriteFlagForDrawableCullings()(renamed tosetOverrideFlagForDrawableCullings())
Cubism 5 SDK for Web R5 beta3_1
Fixed
- Fix a bug where rendering results were not as expected when using Blend mode on semi-transparent objects.
- Fix a bug where the
stopAllMotions()function in theCubismMotionQueueManagerclass did not work correctly.
Cubism 5 SDK for Web R5 beta3
Changed
- Replace standard
Array,Map, andStringwithcsmVector,csmMap, andcsmString. - Change to allow shader files to be specified outside the
CubismFramework. - Change the shader strings written in the
CubismShader_WebGLclass to use external files.
Fixed
- Fix the operation of
CubismOffscreenRenderTargetManagerto be more efficient. - Fix the timing of beforeDrawModelRenderTarget call.
Cubism 5 SDK for Web R5 beta2
Added
- Add classes
CubismOffscreenRenderTarget_WebGLandCubismOffscreenManagerthat reuseWebGLFramebufferfor Offscreen drawing. - Add
getMocVersionFromBuffer()function.- Support for retrieving MOC version from unsupported new MOC3 files.
Removed
- Remove unnecessary classes and variables.
Cubism 5 SDK for Web R5 beta1
Added
- Add
cubismrendertarget_webgl.ts.- Define a class
CubismRenderTarget_WebGLthat manages the frame buffer and color buffer.
- Define a class
- Add support for Blend mode and Offscreen drawing.
Changed
- Change the rendering context requirement in WebGL environments to
WebGL2RenderingContext.- In particular, when using the blend modes added in Cubism 5.3 and later,
WebGL2RenderingContext.blitFramebuffer()is used.
- In particular, when using the blend modes added in Cubism 5.3 and later,
- Change the clipping mask processing uses class
CubismRenderTarget_WebGL. - Change the API called to retrieve the drawable render order from
getDrawableRenderOrders()togetRenderOrders()in CubismCore.- See
CHANGELOG.mdin Core.
- See
Cubism 5 SDK for Web 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
getPartParentPartIndices()function. - 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()
Fixed
- Fix an issue with detecting the end of playback when looping motion.
Cubism 5 SDK for Web 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(), to classACubismMotion. - Add the getter for
_isLoop,getLoop(), to classACubismMotion. - The
_isLoopFadeInvariable was moved from classCubismMotionto classACubismMotion. - Add the setter for
_isLoopFadeIn,setLoopFadeIn(), to classACubismMotion. - Add the getter for
_isLoopFadeIn,getLoopFadeIn(), to classACubismMotion. - Add a variable
_motionBehaviorfor version control to theCubismMotionclass.
- The
Changed
- Change ESLint version to
9.17.0.- With this update, we have added the eslint.confing.mjs required for FlatConfig.
Deprecated
- Deprecate the following elements due to the change in the variable declaration location.
CubismMotion.setIsLoop()CubismMotion.isLoop()CubismMotion.setIsLoopFadeIn()CubismMotion.isLoopFadeIn()
Cubism 5 SDK for Web R2
Added
- Add the functionality to call a function when motion playback starts.
- Add an API to
CubismMotionJsonfor verifying the consistency ofmotion3.json. by @pillowtrucker- This API is ported from
Cubism Native Framework.
- This API is ported from
Changed
- Change to create and manage a
CubismShaderfor eachGLRenderingContext. - Change the access level of the private members in
CubismModelSettingJsonclass to protected. - Move JSON key strings set to the member variables of
CubismModelSettingJsonclass. - Change
FrequestNodeto be exported as part of the module. - Change to permit to overwrite motion fade by the value specified in .model3.json on
CubismUserModel.loadMotion(). - Change the value of pi used in the calculation of
CubismBreath.updateParameters()toMath.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 a bug that caused an error when playing
CubismExpresionMotionwithCubismMotionQueueManager.startMotion(). - Fix an issue where
CubismMath.cardanoAlgorithmForBezier()was using a different function than Cubism SDK for Native. - Fix a potential problem with division by 0 when a pose fade time is set to 0 seconds.
- Fix an issue where
CubismPose._fadeTimeSecondsdoes not become 0.
Cubism 5 SDK for Web R1
Added
- Add function
mod()to compute floating-point remainder inCubismMathclass.
Changed
- Change the weight value in
ExpressionfromCubismExpressionMotionto have it in theCubismExpressionMotionManager. - Reorganize the names of some functions and variables.
- This is a change that depends on fixing
eslintrc.yml.
- This is a change that depends on fixing
- Change to output log if the argument
motionQueueEntryisnullin theupdateFadeWeight()function of theACubismMotionclass.
Fixed
- Fix
eslintrc.ymlto conform to the exact wording.
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 one arguments from now on.
- Please use the
Cubism 5 SDK for Web R1 beta4
Changed
- Change target to
es6.
Fixed
- Fix an issue where models with a specific number of masks could not be drawn correctly.
- Fix to check for error when reading json.