r143
版本发布时间: 2022-07-28 18:41:54
mrdoob/three.js最新发布版本:r172(2024-12-31 17:54:06)
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r142--r143 https://github.com/mrdoob/three.js/milestone/56?closed=1
- Global
- Remove deprecated code. #24286, #24307, #24292 (@Mugen87)
- Improve tree-shaking. #24337, #24336 (@pschroen)
- FileLoader
- Add response to error object. #24296 (@JacobMuchow)
- LatheGeometry
- Fix normals of default shape. #24308 (@Mugen87)
- PlaneHelper
- Simplify implementation. #24378 (@WestLangley)
- WebGLRenderer
- Clean up. #24392 (@WestLangley)
- Add support for Uniform Buffer Objects. #21558 (@Mugen87)
- Rename
linearToRelativeLuminance()
function. #24347 (@WestLangley) - Remove workaround for Adreno GLSL bug. #24390 (@WestLangley)
Documentation
- Improve
EffectComposer
page. #24288 (@iuriiiurevich) - Improve Installation page. #24334, #24353 (@Mugen87, @FelipeCortez)
Examples
- Fix crossfade bug in
webgl_animation_skinning_additive_blending
example. #24287 (@mudroljub) - Fix title of
webgl_modifier_simplifier
example. #24324 (@stevinz) - Dispose of render targets in
webgl_shaders_ocean
example. #24327 (@Mugen87) - Remove
webgl_instancing_modified
example. #24335 (@Mugen87) - Remove remaining usage of
*BufferGeometry
geometry generator names. #24349 (@WestLangley) - Add support for ground projected environment maps. #24311, #24367, #24368, #24372, 384e5d6ef5b4d819ae985cccdac44c2fba4c6889, b23ae34c02284b3defe6e6566c4ebc809f17649c (@FarazzShaikh, @Mugen87, @mrdoob)
- Clean up node material examples. #24394 (@mrdoob)
-
ColladaLoader
- Add warning when converting up axis. #24338 (@Mugen87)
-
GLTFLoader
- Don't force
matrixAutoUpdate
totrue
for animated nodes. #24284 (@snagy)
- Don't force
-
NodeMaterial
- Add
.onInit()
method toComputeNode
. #24363 (@sunag) - Add
MeshPhysicalNodeMaterial
. #24385, #24389 (@sunag) - Rename
NodeVary*
toNodeVarying*
. #24388 (@sunag)
- Add
-
OrbitControls
- Remove duplicate code. #24333 (@shawn0326)
-
PCDLoader
- Always use white as default color. #24339 (@Mugen87)
- Parse
intensity
field. #24350 (@Mugen87) - Parse
label
field. #24381 (@Mugen87)
-
SelectionHelper
- Improve
display
style settings of DOM element. #24322 (@linbingquan)
- Improve
-
SVGLoader
- Fix float precision in round join computation. #24314 (@slecorne)
- Make
createShapes()
usable for other modules. #24293 (@Mugen87)
-
USDZExporter
- Fix import. #24366 (@Mugen87)
-
WebGPURenderer
- Fix render pipeline selection. #24373 (@Mugen87)
- Introduce
WebGPUUtils
. #24379 (@Mugen87) - Fix computation of the camera frustum planes. #24383 (@WestLangley)
Editor
- Improve "compute vertex normals" button. #24309 (@Mugen87)
- Improve
Chinese
translation. #24313, #24323 (@linbingquan) - Enable centering geometries. #24315 (@Mugen87)