r151
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r150--r151
https://github.com/mrdoob/three.js/milestone/64?closed=1
- Global
- More usage of strict equality operators. #25574 (@ycw)
- Add missing
/*@__PURE__*/
statements. #25604 (@ycw) - Improve deprecation comments. #25643 (@LeviPesin)
- Add minified version of ESM build. #25714, #25719 (@Beilinson, @marcofugaro)
- AnimationAction
- Ensure class is exported. #25676 (@linbingquan)
- Box3
- Color
- ColorManagement
- Clean up. #25709 (@WestLangley)
- Float16BufferAttribute
- Unpack/pack float16's in getters/setters. #25519 (@simondevyoutube)
- InstancedMesh
- LineBasicMaterial
- Material
- Math
- Add convenience methods. #25637 (@WestLangley)
- Mesh
- Simplify function name. #25651 (@WestLangley)
- MeshDistanceMaterial
- Remove light related properties. #25695 (@Mugen87, @WestLangley)
- Object3D
- PointsMaterial
- Quaternion
- Raycaster
- SkinnedMesh
- Rename
boneTransform()
toapplyBoneTransform()
. #25586 (@WestLangley) - Add bounding volumes. #25612 (@Mugen87)
- Rename
- ShaderMaterial
- Disable two-pass rendering by default. #25720 (@WestLangley)
- Shaders
- Make inline comments more explicit. #25575 (@WestLangley)
- Refactor PBR shaders. #25693 (@elalish)
- UniformsUtils
- Skip cloning textures of render targets and report warning. #25560 (@simondevyoutube)
- Vector2
- WebGLPrograms
- WebGLRenderer
- WebXRManager
Documentation
- Add
MapControls
page. #25621 (@Mugen87 - Improve
3DMLoader
page. #25616 (@dgrcode) - Improve
Color
page. #25577 (@Mugen87) - Improve
Material
page. #25614 (@towhare) - Improve
SkeletonUtils
page. #25649 (@Legionses) - Improve Chinese translation. #25628, #25672, #25677, #25706, #25713 (@towhare, @newstart0514)
- Improve French translation. #25644 (@Mael-Kehl)
- Update
Installation
guide with clearer guidance on build tools and CDNs. #25468 (@donmccurdy)
Manual
- Updated
monaco-editor
to0.36.0
. #25583 (@linbingquan) - Clean up. #25716 (@DavidDufour)
Examples
- Clean up. #25605, #25633, #25640 (@LeviPesin, @Mugen87)
- Fix invalid
Object3D
ctor usage incss3d_molecules
. #25587 (@Methuselah96) - Update
Tween.js
. #25607 (@Methuselah96) - Update
FBXLoader
examples to.outputEncoding = sRGBEncoding
. #25441 (@donmccurdy) - Update
webgl_morphtargets_*
, use physically-based lights. #25537 (@donmccurdy) - Rename
GroundProjectedEnv
toGroundProjectedSkybox
. #25645 (@Mugen87) - Added damping to
webgl_loader_ldraw
example. #25656 (@WestLangley) - Change skinned model asset in some examples. #25654 (@greggman)
- Fix GUI in
webgl_loader_md2
example. #25670 (@llzen44) - Add missing
render()
towebgl_geometry_spline_editor
example. #25690 (@puqeko) - Update model in glTF AVIF demo. #25708, #25712 (@Mugen87)
- Clean up
webgl_materials_texture_rotation
example. #25711 (@WestLangley)
-
3DMLoader
- Clean up. #25423 (@LeviPesi)
-
BufferGeometryUtils
- Simplify function names. #25652, #25657 (@WestLangley)
-
CSS2DRenderer
- Introduce
CSS2DObject.center
. #25673 (@WestLangley)
- Introduce
-
FBXLoader
- Fix
DeformPercent
regex. #25689 (@FXTD-ODYSSEY)
- Fix
-
GLTFLoader
-
HTMLMesh
-
MapControls
- Move implementation in its own file. #25608 (@WestLangley)
- Clean up. #25622 (@LeviPesin)
-
NodeEditor
-
NodeMaterial
- Added
InputNode.setPrecision()
. #25561 (@sunag) - Rework
NodeUtils.getNodesKeys()
. #25581 (@LeviPesin) - Fix if
timeNode
is not anodeObject()
inOscNode
. #25588 (@sunag) - Deserialize sub-properties and fixes in
NodeLoader
. #25590 (@sunag) - TSL: if, elseif, else syntax. #25653 (@sunag)
- TSL: Different params order if method chaining is used. #25683 (@sunag)
- TSL: Add
ScriptableNode
. #25685 (@sunag) - Fix specular color node in
MeshStandardNodeMaterial
. #25700 (@sunag) - Rename
invert()
->oneMinus()
. #25725 (@sunag)
- Added
-
OrbitControls
-
PLYLoader
- Fix comments. #25578 (@girumasfaw)
-
PointerLockControls
-
SkeletonUtils
- Fix
retargetClip()
final keyframe. #25589 (@kate-grant)
- Fix
-
TrackballControls
-
USDZExporter
-
WebGPURenderer
Editor
- Rename
physicallyCorrectLights
touseLegacyLights
. #25556 (@linbingquan) - Use selected camera when playing the scene. #25641 (@Mugen87)
- Fix broken material tab when
Texture.image
isnull
. #25703 (@Mugen87)
Tests
- Convert some todos to done. #25567 (@epreston)
- Update versions of used actions. #25585 (@marcofugaro)
- Report tree-shaking size in PRs. #25615, #25625, #25627, #25630 (@marcofugaro, @donmccurdy)