r145
版本发布时间: 2022-09-29 15:01:33
mrdoob/three.js最新发布版本:r170(2024-10-31 15:07:49)
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r144--r145 https://github.com/mrdoob/three.js/milestone/58?closed=1
- Global
- Add
.dispose()
to helpers. #24655, #24666, #24668, #24669, #24670 (@WestLangley, @sunag, @Mugen87)
- Add
- LightShadow
- Improve
.updateMatrices()
. #24675 (@WestLangley)
- Improve
- MeshPhysicalMaterial
- Match behavior of
attenuationDistance
toKHR_materials_volume
. #24622 (@zach-capalbo)
- Match behavior of
- PropertyBinding
- Fix map property binding regression. #24603 (@hybridherbst)
- ShaderChunks
- Remove obsolete comment. #24608 (@Mugen87)
- Remove legacy workaround for Adreno bug. #24611 (@WestLangley)
- Sphere
- Fix
expandByPoint()
with empty spheres. #24694 (@gkjohnson) - Fix
union()
with empty spheres. #24701 (@gkjohnson) - Clean up. #24704 (@WestLangley)
- Fix
- WebGLState
- Fix setting of
NeverDepth
. #24628 (@mrxz) - Minimize
gl.activeTexture()
calls. #24492 (@snagy)
- Fix setting of
- WebGLTextures
- Store source version in properties object. #24599 (@Mugen87)
- Force linear encoding for WebXR render targets. #24698, bcdc5c5432dd338ab2b3fe9951d614711ba4f449 (@cabanier, @mrdoob)
- WebGLUniforms
- Cache texture unit values when setting texture array uniforms. #24637 (@snagy)
Documentation
- Rename WebXR basics link to have perfect match name. #24601 (@AngyDev)
- Honor
blendMode
in animation pages. #24614 (@Mugen87) - Clarify
.dispose()
methods. #24654, #24667 (@WestLangley) - Improve
BufferGeometry
page. #24616 (@erasta) - Improve
CapsuleGeometry
page. #24626 (@mkeblx) - Improve
PointsMaterial
page. #24695 (@AngyDev) - Improve
SpotLight
page. #24606, #24615 (@V-R-Dighe, @WestLangley) - Improve French translation. #24598, #24651 (@AlexandreAllard)
- Improve Italian translation. #24592, #24619, #24640, #24687 (@AngyDev)
Examples
- Clean up. #24590, #24686 (@kintel, @Mugen87)
- Add license for
nurbs.fbx
. #24602 (@LouisBrunner) - Fix animation speed in
webgl_multiple_elements_text
example. #24596 (@CalebBabin) - Export helper classes from
ConvexHull
module. #24594 (@erasta) - Add new
webgl_animation_skinning_ik
example. #24652 (@abernier) - Move remaining controls to Pointer Events. #24693 (@Mugen87)
- Fixed
webxr_vr_layers
example. #24691 (@sigmaxipi) - Explicitly use
event
inonPointerUp()
. #24708 (@LukasSchmid97)
-
BufferGeometryUtils
- Fix
mergeVertices()
with normalized vertex attributes. #24577 (@donmccurdy)
- Fix
-
CSM
- Ensure
remove()
removes light targets, too. #24658 (@yoshikiohshima)
- Ensure
-
GLTFExporter
- Remove
truncateDrawRange
option. #24625 (@Mugen87)
- Remove
-
HTMLMesh
- Fix canvas cache usage. #24650 (@Degubi)
-
InteractiveGroup
- Use
getBoundingClientRect()
when computing pointer. #24586 (@werto165)
- Use
-
NodeEditor
- UX updates. #24573 (@sunag)
-
NodeMaterial
- Add
RemapNode
andBlendModeNode
. #24649 (@sunag) - Various updates and fixes. #24662 (@sunag)
- Add
three/nodes
export topackage.json
. #24660 (@LeviPesin) - Add
TangentNode
andBitangentNode
. #24672 (@sunag) - Add
frameId
toShaderNode
. #24680 (@sunag) - Add
luminance()
andlumaCoeffs
toShaderNode
. #24682 (@sunag) - Add MaterialX procedural functions and overloading support to
ShaderNode
. #24699 (@sunag)
- Add
-
OctreeHelper
- Add
update()
. #24641 (@erasta)
- Add
-
OutlinePass
- Fix shader compilation error. #24681 (@TobyGilbert)
-
TrackballControls
- Fix multi-touch in
onTouchEnd()
. #24631 (@Fly-in-Free)
- Fix multi-touch in
-
TransformControls
- Fix eye vector computation. #24583 (@Mugen87)
-
USDZLoader
- Support files created with
USDZExporter
. 73581817a19c75b0c68efe468a3888cbd20c380b (@mrdoob) - Added normals handling. f82bbc9c0d64e5fba89175cf58089c3891fb73b3 (@mrdoob)
- Added transforms support. 141011da4aa278babb9175999e7d619999ee69d1 (@mrdoob)
- Improved geometry and material parsing. b72144efe0d6ec083b17c5fe8c0d0582806c60d7 (@mrdoob)
- Handle mesh names. 8938d338bc3ff4fc38f466158a50040251c0b772 (@mrdoob)
- Improved texture support. d190283b1059c22b6f0bb61916cfcc7d8a0cf5c3 (@mrdoob)
- Clean up. 3ab8b6a0100aa2ea5b34f9c689fd9244999e50b6, 12b970fe21ea16bd97532317f59adcfb3f8b15dc (@mrdoob)
- Support files created with
-
VRMLLoader
- Process
Anchor
node as grouping node. #24645 (@Mugen87)
- Process
Editor
- Add secure headers and clean up. #24217 (@LeviPesin)