r163
版本发布时间: 2024-03-29 13:05:47
mrdoob/three.js最新发布版本:r170(2024-10-31 15:07:49)
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r162--r163 https://github.com/mrdoob/three.js/milestone/76?closed=1
- Global
- Replace the CDN
unpkg
withjsdelivr
. #28006 (@0b5vr)
- Replace the CDN
- AnimationClip
- Add remaining default constructor parameters. #27956 (@trusktr)
- BatchedMesh
- Make use of update ranges. #27981 (@marwie)
- Fix exception when using geometry with interleaved buffers. #27978 @marwie)
- Fix typo in comment. #28005 (@symphony2014)
- InstancedMesh
- Add clone and dispose support for
morphTexture
. #27952 (@RenaudRohlinger)
- Add clone and dispose support for
- Object3D
- Fix events in
attach()
. #27917 (@Mugen87, @ycw)
- Fix events in
- PMREMGenerator
- Fix usage in XR. #27924 (@Mugen87)
- PointLight
- Perform equivalent frustum test in
getPointShadow()
like ingetShadow()
. #27922 (@Mugen87)
- Perform equivalent frustum test in
- Scene
- Introduce
environmentIntensity
. #27903 (@WestLangley)
- Introduce
- ShaderLib
- Clean up. #27936 (@WestLangley)
- Spherical
- Move import, improve docs. #27848 (@davcri)
- Texture
- Introduce
pmremVersion
. #27963 (@sunag)
- Introduce
- UniformsUtils
- Check for XR render target in
getUnlitUniformColorSpace()
. #27869 (@mrxz)
- Check for XR render target in
- WebGLProgram
- Fix
sampler2DArray
precision qualifier. #27854 (@Mugen87)
- Fix
- WebGLRenderer
- Remove WebGL 1 support. #27836, #27853, #27855, #27969 (@Mugen87)
- Check for
EXT_color_buffer_float
for transmission. #27761 (@susiwen8) - Fix transmission with nested render calls. #27886 (@Mugen87)
- Set
stencil
tofalse
by default. #27900, #27908 (@Mugen87, @RenaudRohlinger) - Enable stencil with transmission. #27921 (@Mugen87)
- Update Neutral tone mapper. #27925 (@elalish)
- Add support for
WEBGL_render_shared_exponent
. #27992 (@Mugen87)
Documentation
- Improve
AnimationMixer
page. #27914 (@trusktr) - Improve
BatchedMesh
page. #28004 (@marwie) - Improve
InstancedMesh
page. #27946 (@seantai) - Improve
Material
page. #27923 (@atul-mourya) - Improve Chinese translation. #28003 (@moshuying)
Manual
- Fix GPU picking demo. #27866 (@Mugen87)
- Improve post processing page. #27884 (@SADYX)
- Fix links in Chinese translation. #27966, #27991 (@angelscat, @SADYX)
- Remove 3D LUT guide. #27977 (@Mugen87)
Examples
- Clean up. #27961, #27975, #27997 (@Mugen87, @Methuselah96)
- Remove WebGL 1 related code. #27856, #27858, #27860, #27941, #27974, #27983 (@Mugen87, @Methuselah96, @WestLangley)
- Correction to texture colorspace in
webgpu_parallax_uv
example. #27874 (@donmccurdy) - Update
fflate
. #27883 (@Methuselah96) - Fix translation snap unit in
misc_controls_transform
. #27959 (@Mugen87) - Some revision of WebGPU examples. #28011 (@sunag)
- Simplified
webgl_loader_texture_hdrjpg
example. 156cb35aa2b9bd75a638ba9aa188bf937ce4f278 (@mrdoob) - Improved
physics_rapier_instancing
example. 8416704d2eb2df5cfdbc0c473458f24632b2c12c (@mrdoob) - Fix warning in
webgpu_multiple_rendertargets
example. #28015 (@sunag)
-
3MFLoader
- Throw error on missing
rels
. #27955 (@nmattia)
- Throw error on missing
-
EXRLoader
- Implement line-order & mixed channel support. #27982 (@sciecode)
-
GLTFExporter
- Allow
OffscreenCanvas
as image source. #27872 (@strunkie30)
- Allow
-
GLTFLoader
- Compute world matrices before calling
onLoad()
. #27877 (@Mugen87)
- Compute world matrices before calling
-
HTMLMesh
- Do not render the
script
tag. #27953 (@Elettrotecnica)
- Do not render the
-
LUTPass
- Remove redundant precision qualifier. #27945 (@Mugen87)
-
Node
- Introduce
needsUpdate=true
. #27904 (@sunag) - Introduce
onUpdate
callbacks. #27964 (@sunag) - Rename
setReference()
toupdateReference()
and use reference in renderMap/frameMap. #28010 (@sunag)
- Introduce
-
NodeMaterial
- Force unsigned float in basic output. #27915 (@sunag)
-
Renderer
- Move await methods to
renderAsync()
. #27939 (@RenaudRohlinger)
- Move await methods to
-
RenderObject
- Ignore private properties in
getMaterialCacheKey()
.. #27995 (@sunag)
- Ignore private properties in
-
ShaderNode
- Fix
cacheMaps.int
tocacheMaps.ints
. #27911 (@susiwen8)
- Fix
-
TextGeometry
- Rename
height
todepth
. #27949 (@zz85)
- Rename
-
TextureNode
- Introduce
referenceNode
. #27986 (@sunag)
- Introduce
-
TextureUtils
- Fix typo
frustrum
tofrustum
. #27970 (@RenaudRohlinger)
- Fix typo
-
TransformControls
- Fix
updateMatrixWorld()
override. #27960 (@Mugen87)
- Fix
-
USDZExporter
- Add support for vertex colors. #27943 (@Bigguysahaj)
-
WebGPURenderer
- Add PMREM support. #27829, #27951 (@sunag, @RenaudRohlinger)
-
QuadMesh
extended fromMesh
. #27875 (@sunag) - Add Timestamp Queries WebGL fallback support. #27870 (@RenaudRohlinger)
- Add
copyTextureToTexture()
support. #27888 (@RenaudRohlinger) - Use
renderAsync()
as fallback. #27894 (@sunag) - Improve Infos logic. #27889, #27994 (@RenaudRohlinger)
- Apply fog before tonemapping and encoding. #27850 (@sunag)
- Support
Scene.backgroundIntensity
. #27918 (@susiwen8) - Supports instanced color and morph target via
InstancedMesh
. #27928 (@RenaudRohlinger) - Improve support int/uint textures. #27932 (@sunag)
- Support
BatchedMesh
. #27937 (@RenaudRohlinger) - Apply batching matrice before instancing and expand multiDraw support. #27950 (@RenaudRohlinger)
- Sync
Scene.environmentIntensity
. #27958 (@susiwen8) - Reuse meshes in
PMREMGenerator
andpmremVersion
logic. #27988 (@sunag) - Add (u)int16 Support. #28008, #28009 (@RenaudRohlinger, @sunag)
Node Editor
- Fix connection lengths and let them be based on node input/output types. #27891, #27998 (@abc013)
Editor
- Clean up. #27881 (@Mugen87)
- Update path tracer environment and background selectively. #27847 (@gkjohnson)
- Fixed pathtracer background blurriness. #27852 (@mrdoob)
- Geometry, material and object export json in
UTF-8
. #27938, c96c6bd091c6eab663130a7ac81d5529a5571fde (@ycw, @mrdoob) - Fix
center
command. #27940 (@Mugen87) - Use more
three/addons/*
alias. #27967 (@Kalinundefined) - Add Japanese translation. #27976 (@Hashory)