Releases: pixiv/three-vrm
Releases Β· pixiv/three-vrm
v0.4.2
v0.4.1
v0.4.0
π¨ BREAKING CHANGES π¨
- #478: "Center" feature is now functional as UniVRM
- If you need the previous behavior, call
vrm.springBoneManager.setCenter(null)
after you import VRMs
- If you need the previous behavior, call
- #481: The interface of
new VRMSpringBone
has changed- Beware if you are extending
VRMSpringBone
orVRMSpringBoneImporter
- Beware if you are extending
- #482:
vrm.meta.texture
is nowTHREE.Texture
instead of id of the texture in glTF - #482: Importing a VRM from a glTF now loads a thumbnail texture by default!
- Which may cause you unnecessary memory consumption
- Set
VRMMetaImporter.ignoreTexture = true
to disable this behavior
β¨ New Features
- #478: "Center" feature is now functional as UniVRM
VRMSpringBone.center
is the public propertyVRMSpringBoneManager.setCenter(object)
sets center to all managed spring bone
- #482, #485, #486: Now you can extract thumbnail as a Blob using
VRMUtils.extractThumbnailBlob(renderer, vrm, resolution)
- See the
meta.html
example
- See the
π‘ Behavior Changes
- #481: The interface of
new VRMSpringBone
has changed - #481: Most of members of
VRMSpringBone
are now mutable - #482:
vrm.meta
is now an interfaceVRMMeta
instead ofVRMSchema.Meta
VRMMeta.texture
is aTHREE.Texture
π» Refactors
- Trivial: #483
π¦ Dependencies
v0.3.6
v0.3.5
v0.3.4
v0.3.3
π‘ Behavior Changes
- #377:
VRM.scene
is nowTHREE.Scene | THREE.Group
GLTF.scene
is now aTHREE.Group
instead ofTHREE.Scene
since r114- Including
THREE.Scene
for the moment to preserve the compatibility with < r113
- #387: The width of outlines under its
outlineWidthMode
isWorldCoordinates
is now identical to the original MToon- There was a little difference when the object have a scale other than 1.0
π¦ Module Updates
v0.3.2
v0.3.1
v0.3.0
π¨ Breaking Changes π¨
reduceBones
is renamed toVRM.removeUnnecessaryJoints
(#90, #256)- And it is no longer being called by VRMImporter. You might want to call this against your
gltf
manually to improve its performance. See examples for details
- And it is no longer being called by VRMImporter. You might want to call this against your
CurveMapper
is renamed toVRMCurveMapper
(#295)- Three.js is now r113 (#268, #305, #358)
colorSpaceGamma
, an argument ofMToonMaterial
andVRMMaterialImporter
, is now replaced byencoding
(#365)- Non-normative-but-important: In three.js r112,
WebGLRenderer.gammaOutput
is deprecated and replaced byoutputEncoding
. See: mrdoob/three.js#18127
- Non-normative-but-important: In three.js r112,
πͺ Improvements
- #253: MToonMaterial can now be worked with ObjectSpaceNormals (that is not used by glTF though...)
- #256: Improve the procedure of
reduceBones
and it's now renamed toVRMUtils.removeUnnecessaryJoints
π‘ Behavior Changes
- #90:
reduceBones
is renamed toremoveUnnecessaryJoints
(then renamed toVRMUtils.removeUnnecessaryJoints
in #256)- And it is no longer being called by VRMImporter
- #91: New class:
VRMSpringBoneManagerDebug
, that has a methodsetupHelper
- #295:
CurveMapper
is renamed toVRMCurveMapper
- #365: Removed
colorSpaceGamma
from arguments ofMToonMaterial
andVRMMaterialImporter
, Added a new argumentencoding
for them instead
π Bugfixes
- #168: EnvMap should not be enabled on unlit materials
- #169:
VRMSpringBone.reset()
is now working properly - #194: DebugLitShadeRate mode of MToon is now working properly
- #253:
MToonMaterial.toJSON
is now working properly - #291 (@tfuru): Fix the type definition of GLTFLoader
- #367: Fix
firstPersonBoneOffset
, z-axis was inverted- also
gravityDir
of spring bones are now working properly
- also
π» Refactors / Non Build Relevant
- #138: (Actually it's build relevant but) add a license banner to builds
- #180: Fix internal type error caused by recent dependency updates
- #181: Tweak CircleCI settings
- #184: Tweak Dependabot config
- #249: Trivial refactor
- #252: Improve disposer implementation
- #293: Add
docs
CI job //types
are now stored as artifacts ofbuild
job - #296: Add
debug.html
example - #357: Delete
playground
that was not maintained
π¦ Module Updates
- #358: Three.js is now r113
- Automated: #152, #162, #166, #167, #170, #174, #175, #193, #198, #203, #205, #211, #212, #213, #214, #223, #226, #228, #230, #238, #239, #241, #243, #244, #245, #251, #252, #259, #260, #261, #262, #263, #264, #266, #268, #274, #278, #283, #284, #287, #288, #290, #304, #305, #306, #313