Skip to content

Releases: pixiv/three-vrm

v0.6.5

01 Sep 05:59
Compare
Choose a tag to compare

v0.6.4...v0.6.5
Milestone


πŸ› Bugfixes

  • #801: Fix an error on MToon shader that occurs when there are multiple lights

🧹 Chores

  • #711: Upgrade dependabot config version

πŸ“¦ Deps

  • #716: Bump husky to v6
  • #731: Bump typedoc to 0.20.36
  • Automated: #712

v1.0.0-beta.2

18 Aug 07:11
Compare
Choose a tag to compare
v1.0.0-beta.2 Pre-release
Pre-release

v0.6.4...v1.0.0-beta.2
v1.0.0-beta.1...v1.0.0-beta.2


🚨 Breaking Changes (from v1.0.0-beta.1)

  • #785: VRMExpressionPreset -> VRMExpressionPresetName

✨ New Features

  • #785: Add new interfaces to VRMExpressionManager
    • .presetExpressionMap
    • .customExpressionMap

πŸ’‘ Behavior changes

  • #785: VRMExpressionPreset -> VRMExpressionPresetName

πŸ› Bugfixes

  • #785: Custom expressions was not loaded properly from VRM1.0-beta

πŸ“¦ Deps

  • 379d539: @types/three is now 0.126.2

v1.0.0-beta.1

10 Aug 09:50
Compare
Choose a tag to compare
v1.0.0-beta.1 Pre-release
Pre-release

v0.6.4...v1.0.0-beta.1


This is the first ever release of three-vrm with VRM1.0 support.

🚨 Breaking Changes

  • Notable: three-vrm is now implemented as a loader plugin instead of mere importer method.
    • Three.js r126 or more is required
    • usage:
      const scene = new THREE.Scene();
      
      const loader = new THREE.GLTFLoader();
      
      // Install GLTFLoader plugin
      loader.register( ( parser ) => {
      
      	return new THREE_VRM.VRMLoaderPlugin( parser );
      
      } );
      
      loader.load(
      
      	// URL of the VRM you want to load
      	'/models/three-vrm-girl.vrm',
      
      	// called when the resource is loaded
      	( gltf ) => {
      
      		// retrieve a VRM instance from gltf
      		const vrm = gltf.userData.vrm;
      
      		// add the loaded vrm to the scene
      		scene.add( vrm.scene );
      
      		// deal with vrm features
      		console.log( vrm );
      
      	},
      
      	// called while loading is progressing
      	( progress ) => console.log( 'Loading model...', 100.0 * ( progress.loaded / progress.total ), '%' ),
      
      	// called when loading has errors
      	( error ) => console.error( error )
      
      );
  • Notable: renderer.outputEncoding should be THREE.sRGBEncoding
  • Notable: BlendShapeManager is renamed to ExpressionManager.
    • vrm.expressionManager
  • There are a lot of changes based on the spec of VRM 1.0.
  • Some of implementations are separated to individual packages
    • You probably don't have to care about these packages since the build of @pixiv/three-vrm includes all of necessary dependencies.

v0.6.4

27 May 05:51
Compare
Choose a tag to compare

v0.6.3...v0.6.4
Milestone


πŸ› Bugfixes

  • #703: Update MToon shader to r126 phong shader equivalent
    • It resolves #693 , MToon shader now should work properly even when shadow map is enabled

πŸ“¦ Deps

v0.6.3

28 Apr 07:32
Compare
Choose a tag to compare

v0.6.2...v0.6.3
Milestone


πŸ› Bugfixes

  • #649: VRMHumanoid.resetPose is now working properly
  • #650: VRMHumanoid.getBones now returns [] instead of undefined when there are no bones bound to the specified HumanBone
  • #650: VRMHumanoid.getBoneNodes now returns [] instead of emitting an internal error (😩) when there are no bones bound to the specified HumanBone

πŸ’» Refactors

🧹 Chores

  • #292: Enable a eslint rule, @typescript-eslint/no-unnecessary-type-assertion

πŸ“¦ Deps

  • #657: Bump Three.js to r126

v0.6.2

10 Feb 05:43
Compare
Choose a tag to compare

v0.6.1...v0.6.2
Milestone


πŸ› Bugfixes

  • #624: Fix handling of gltf meshes with children, attempt 2

v0.6.1

08 Feb 07:58
Compare
Choose a tag to compare

v0.6.0...v0.6.1
Milestone


πŸ“¦ Deps

v0.6.0

02 Feb 07:01
Compare
Choose a tag to compare

v0.5.6...v0.6.0
Milestone


🚨 BREAKING CHANGES 🚨

  • master branch is renamed to release
    git branch -m master release
    git fetch origin
    git branch -u origin/release release
  • #588: VRMRendererFirstPersonFlags: The public member mesh is replaced by primitives, which is GLTFPrimitive[] instead of GLTFMesh.
  • #527: .module.js builds are now ESM

πŸ› Bugfixes

  • #588: Fix handling of gltf meshes with children
    • A single glTF node can have both mesh and children and it causes issues to first person, blend shape, and materials. This PR fixes this.
  • #589: Add a missing line to MToon Shader
    • MToon rendering was slightly wrong without this change
  • #594: keywordMap of materialProperties is now okay to be null
    • Now interprets VRMs exported from UniVRM-0.63.1 properly
  • #609: Texture transform was opposite from UniVRM's

🧹 Chores

  • #527: It's now bundled using rollup instead of webpack
    • .module.js builds are now ESM
  • 794af2a: Update copyright year
  • ec46a06: Preparing renaming the branch master -> release

πŸ“¦ Deps

v0.5.6

28 Dec 02:34
Compare
Choose a tag to compare

v0.5.5...v0.5.6
Milestone


πŸ› Bugfixes

  • #577: Fix human bone assignment failure for gltf nodes[0]

πŸ“¦ Deps

v0.5.5

30 Nov 07:45
Compare
Choose a tag to compare

v0.5.4...v0.5.5
Milestone


πŸ› Bugfixes

  • #556: Implement compat of Quaternion.invert for previous versions of Three.js