r133
版本发布时间: 2021-10-05 00:35:33
mrdoob/three.js最新发布版本:r171(2024-11-29 19:21:30)
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r132--r133 https://github.com/mrdoob/three.js/milestone/46?closed=1
- Global
- Create
createElementNS()
helper inutils.js
. #22488 (@linbingquan) - Move
TextGeometry
,FontLoader
andFont
to examples. #22560 (@Mugen87) - Introduce generators to make vector classes iterable. #22548 (@B3epBo0p)
- Create
- BufferGeometry
- Fix
clone()
. #22566, #22571 (@Mugen87)
- Fix
- Curve
- Remove unneeded
.normalize()
. #22503 (@ycw)
- Remove unneeded
- CurvePath
-
getPoint()
honorsoptionalTarget
now. #22533 (@ycw)
-
- DataUtils
- Clamp parameter of
toHalfFloat()
. #22444 (@Mugen87)
- Clamp parameter of
- ExtrudeGeometry
- Make all parameters optional. #22536 (@Mugen87)
- Frustum
- Fix wrong test in
split()
. #22496 (@OndrejSpanel)
- Fix wrong test in
- LatheGeometry
- Make all parameters optional. #22499 (@Mugen87)
- MathUtils
- Use
crypto.randomUUID()
when available. #22556 (@mrdoob)
- Use
- Mesh
- Prevent infinite loop in
raycast()
. #22068 (@artificial-jon)
- Prevent infinite loop in
- MeshPhysicalMaterial
- Refactored sheen BRDF. #22455 (@WestLangley)
- Use roughness-squared in sheen BRDF #22456 (@WestLangley)
- Added
sheenRoughness
property. #22457 (@WestLangley) - Implement sheen as a layer on top of the base later. #22463 (@WestLangley)
- Remove duplicate
transmission
property. #22464 (@WestLangley) - Added
sheen
property. #22466 (@WestLangley) - Modulate
transmission.a
withtransmissionFactor
. #22473 (@mrdoob)
- Object3D
- Clean up. #22602 (@linbingquan)
- ParametricGeometry
- Make all parameters optional. #22539 (@Mugen87)
- Remove from core. #22559 (@Mugen87)
- Quaternion
- Added
random()
. #22494 (@brianpeiris)
- Added
- Raycaster
- Set
recursive
default value totrue
. #22460, #22500 (@WestLangley)
- Set
- ShadowMaterial
- Add missing shader chunks. #22481 (@Mugen87)
- ShapeGeometry
- Make all parameters optional. #22513 (@Mugen87)
- SkinnedMesh
- Fix raycasting with morph targets.#22581 (@makc)
- Triangle
- Add
setFromAttributeAndIndices()
. #22404 (@Mugen87)
- Add
- TubeGeometry
- Make all parameters optional. #22540 (@Mugen87)
- Vector3
- Added
randomDirection()
. #22494 (@brianpeiris)
- Added
- WebGLRenderer
- Refactoring GLSL. #22471, #22475 (@WestLangley)
- Unified
glsl.js
files. #22493 (@mrdoob) - Support more than eight morph targets with WebGL 2. #22293, #22516, #22573, #22624 (@Mugen87)
- Add support for
SRGB8_ALPHA8
with WebGL 2. #22551 (@Mugen87) - Compute
vertexTangents
consistently. #22564 (@donmccurdy)
Documentation
- Clarify vector
equal()
methods. #22446 (@Mugen87) - Improve
HemisphereLight
page. #22450 (@Mugen87) - Improve
Material
page. #22459 (@Mugen87) - Improved
ShapeUtils
page. #22547 (@wolzenbug) - Retain filter when switching between docs and examples. #22507 (@octopoulos)
- Fixed broken links in Korean manual. #22587 (@gandis0713)
- Improved Chinese translation. #22599 (@peiyu7921)
Examples
- Clean up. #22521, #22526, #22570 (@Mugen87)
- Honor 16 bit limit in
webgpu_compute
. #22440 (@sunag) - Improved
games_fps
example. #22506 (@octopoulos) - Added
ArcballControls
andmisc_controls_arcball
example. #21989 (@danielefornari, @cignoni) - Added
webgl_materials_instance_uniform_nodes
example. #22504 (@sunag) - Added
webgl_morphtargets_face
example. #22514 (@looeee) - Fix broken
PackedPhongMaterial
. #22569 (@Mugen87)
-
GLTFLoader
- Allow multiple associations. #21737 (@takahirox)
- Fix missing associations. #22583 (@timmmeh)
- Clean up normalScale workaround. #22584 (@donmccurdy)
-
KTX2Loader
- Add
examples/js
build. #22485 (@donmccurdy) - Warn on missing call to
detectSupport()
. #22519 (@donmccurdy)
- Add
-
NodeBuilder
- Fix missing
LinearEncoding
#22439. (@sunag) - Adding new features to
WebGLNodeBuilder
. #22474 (@sunag)
- Fix missing
-
NodeMaterial
- Add support for arrays of uniforms. #22497 (@sunag)
- Add
Material.onBeforeRender()
. #22417 (@sunag) - Rename
SwitchNode
toSplitNode
#22509 (@sunag) - Introduce new material classes. #22518 (@sunag)
- Added classes to enable particle effects. #22538 (@sunag)
- Accessing modules from Node lib. #22554 (@sunag)
- Enhance
TimerNode
. #22567 (@sunag) - Rename
Node.type
toNode.nodeType
and introduceNode.type
with new semantics. #22572 (@sunag) - Fix
sRGBEncoding
map using WebGL2. #22585 (@sunag) - Static and dynamic output type for extended nodes. #22590 (@sunag)
- Add
CheckerNode
. #22592 (@sunag) - Add
ShaderNode
. #22603 (@sunag)
-
RGBELoader
- Clamp prior to converting to half float. #22451 (@WestLangley)
-
RGBMLoader
- Fix alerts in
UPNG.js
. #22578 (@Mugen87)
- Fix alerts in
-
SAOPass
- Fix
depthTexture
initialization. #22502 (@twastvedt)
- Fix
-
SVGLoader
- Honor
fill-rule
. #22597 (@qeeqez)
- Honor
-
TextureNode
- Support to sampler and texture property output. #22501 (@sunag)
-
TransformControls
- Remove snap on pointerdown. #22491 (@Mugen87)
-
USDZExporter
- Add support for
Material.alphaMap
. #22591 (@sunag) - Fix alpha output. #22596 (@sunag)
- Add support for
-
WebGPURenderer
- Add check for adapter creation failure. #22482 (@sunag)
- Add
WebGPUUniformBuffer
. #22486 (@sunag) - Remove unnecessary import in
WebGPUUniformsGroup
. #22487 (@sunag)
Editor
- Use pointer events for ViewHelper. #22480 (@Mugen87)
- Upgrade codemirror to
5.63.0
. #22568 (@linbingquan) - Optimize drag range for resizer. #22576 (@linbingquan)
- Support resizer for script/player panels. #22593 (@Mugen87)
- Limit the min-width style for .Panels and .Tabs #22600 (@linbingquan)
- Fix CRLF problem #22601 (@linbingquan)