r162
版本发布时间: 2024-02-29 16:57:10
mrdoob/three.js最新发布版本:r170(2024-10-31 15:07:49)
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r161--r162 https://github.com/mrdoob/three.js/milestone/75?closed=1
- Global
- Remove deprecated code. #27656 (@Mugen87)
- BufferGeometry
- Remove outdated advice from error message. #27824 (@Mugen87)
- Use dedicated
BufferAttribute
API incomputeTangents()
. #27825 (@Mugen87)
- EllipseCurve
- Use ES6 default parameters in
getPoint()
. #27677 (@linbingquan)
- Use ES6 default parameters in
- Float64BufferAttribute
- Remove class. #27807 (@Mugen87)
- InstancedMesh
- Add support for morph targets. #27669, #27704 (@wizgrav)
- Material
- Fix
emissiveIntensity
not persisting. #27769 (@connorgmeehan)
- Fix
- Object3D
- Add
childadded
andchildremoved
events. #16934, #27754 (@gkjohnson)
- Add
- PMREMGenerator
- Clarify image size limitations. #27764 (@WestLangley)
- Quaternion
- Correct
random()
. #27724 (@WestLangley)
- Correct
- Raycaster
- Added
setFromXRController()
. #27801 (@mrdoob) - Improve readability. 71c1f51e365c2804f9017dcf6590475a9bf2cb64 (@mrdoob)
- Added
- RenderTarget
- Add
count
option for MRT. DeprecateWebGLMultipleRenderTargets
. #26427 (@CodyJasonBennett)
- Add
- ShaderChunk
- Clean up. #27671 (@CodyJasonBennett)
- SpotLightHelper
- Fix offset when adjusting the scene / parent position. #27487 (@gkjohnson)
- Vector3
- Correct
randomDirection()
. #27725 (@WestLangley)
- Correct
- WebGLRenderer
- Remove unnecessary
__hasExternalTextures
check. #27684 (@susiwen8) - Change scissor, viewport functions to use
round()
instead offloor()
. #27703 (@gkjohnson) - Add support for Khronos Neutral Tone Mapping. #27668, #27717 (@elalish, @Mugen87)
- Fixed compressed partial update on
texture3D
. #27771 (@RenaudRohlinger) - Add support for rotating env maps. #27758, #27785, #27787 (@Mugen87, @WestLangley)
- Remove unnecessary
- WebGLState
- Check
WEBGL_draw_buffers
extension before callingdrawBuffersWEBGL()
. #27693 (@susiwen8)
- Check
- WebGLTextures
- Ensure
RGIntegerFormat
is supported ingetInternalFormat()
. #27688 (@Aloalo) - More flexible image dimensions computation. #27810 (@Mugen87)
- Ensure
Documentation
- Improve
GLTFLoader
page. #27676, #27678 (@aardvarkk, @Mugen87) - Improve
GridHelper
page. #27817, #27830 (@trusktr, @Mugen87) - Improve
Matrix Transformations
guide. #27714 (@jo-chemla) - Improve
MeshPhysicalMaterial
page. #27740 (@Mugen87) - Improve
Object3D
page. #27755 (@Mugen87) - Improve Chinese translations. #27657, #27813 (@puxiao)
- Better explain bounding volumes. #27744 (@Mugen87, @WestLangley)
Manual
- Improve Chinese translation. #27675, #27685 (@nmsn)
Examples
- Clean up. #27711, #27795 (@Mugen87, @Methuselah96)
- Remove unnecessary
clear()
inwebgl_camera
example. #27665 (@WestLangley) - Update
tween.js
. #27670 (@Methuselah96) - Fix spot light distance in
webgl_lights_spotlight
example. #27721 (@Mugen87) - Update import map dependency versions. #27800 (@gkjohnson)
- Add eye rotation to
webgl_morphtargets_webcam
example. #27781 (@vis-prime) - Add
webxr_xr_controls_transform
example. #27845 (@mrdoob)
-
3DMLoader
- Updating
rhino3dm
to 8.4.0. #27833 (@fraguada)
- Updating
-
BlendModeNode
- Add layout and fix if used with textures. #27738 (@sunag)
-
CondNode
- Fix duplicate conditional. #27828 (@sunag)
-
DragControls
- Add
rotate
mode. #27689 (@lewibs) - Add support for multiple groups. #27791, #27822 (@narenjoriona, @Mugen87)
- Add
-
GLTFExporter
- Better error handling when using invalid image data. #27700 (@Mugen87)
-
InteractiveGroup
- Refactor API. 791ed5afd5172f2566d915772d7686a34d7172e5 (@mrdoob)
-
MorphNode
- Fix loop performance #27707 (@sunag)
-
Node
- Add
increaseUsage()
. #27672 (@sunag) - Fix
tangentView
and moveTBNViewMatrix
toAccessorsUtils
. #27696 (@sunag) - Remove
ArrayUniformNode
. #27705 (@sunag)
- Add
-
OrbitControls
- Add missing epsilon to change check. #27620 (@jteppinette)
- Handle duplicated
pointerId
. #27748 (@sciecode) - Ensure
interceptControlDown()
listener is removed indispose()
. #27778 (@IvanLi-CN) - Fix zoom-changed detection. #27834 (@sciecode)
-
ProgressiveLightMap
- Fix uv regression. #27692 (@Mugen87)
-
SkeletonUtils
- Fix
retargetClip()
duration and last frame handling. #27653 (@AlaricBaraou)
- Fix
-
StorageArrayElementNode
- Add new class. #27673 (@sunag)
-
StorageInstancedBufferAttribute
- Clean up. #27736 (@sunag)
-
TSL
- Add
uniforms
syntax. #27706 (@sunag) -
return
,Continue
,Break
- Part 1. #27726 (@sunag) - Add
parallaxUV
syntax. #27739 (@sunag) - Support for split assignment. #27796, #27797 (@sunag)
- Fix duplicate assignments. #27798 (@sunag)
- Add
all
,any
andequals
syntax. #27821 (@sunag) - Fix
tslFn
generate in isolated cache. #27844 (@sunag)
- Add
-
VOXLoader
- Improve version error message. #27812 (@Mugen87)
-
VRMLLoader
- Fix transparency settings for lines and points. #27841 (@Mugen87)
-
WebGPURenderer
- Support reading external elements in the WebGL Backend. #27661 (@RenaudRohlinger)
- Fix
vec2
andvec3
forstorageObject
inStorageBufferNode
. #27697 (@RenaudRohlinger) - Fix attribute data getting reset when using
vec3
in WebGPU. #27708 (@RenaudRohlinger) - Support clipping. #27691 (@aardgoose)
- Add support for non-instanced meshes to
StorageBuffer
. #27712 (@RenaudRohlinger) - Fix
isStorageInstancedBufferAttribute
usage. #27737 (@sunag) - Fix update attribute in WebGL Backend. #27751 (@RenaudRohlinger)
- Better skinning performance. #27753 (@sunag)
- Fix flipY
Data*Texture
. #27815 (@sunag) -
getTextureLevel()
of background should multiplymaxMipLevel
. #27820 (@susiwen8) - Fix call
clear()
before rendering. #27835 (@sunag) - Define
setAnimationLoop()
as default in examples. #27839 (@sunag) - Added sync
render()
/clear()
. #27840 (@sunag)
-
WebXR
- Don't request
hand-tracking
feature by default. #27699, #27715 (@Mugen87)
- Don't request
-
WGLSLNodeBuilder
- Fix
equals()
. #27826 (@sunag)
- Fix
-
XRControllerModelFactory
- Add
setPath()
.#27816 (@ferminLR)
- Add
Node Editor
- Fix
Car
WebGL example. #27757 (@abc013) - Add more hotkeys. #27762 (@abc013)
Editor
- Clean up. ec25730053a0cccad977acfd0307e50d969d4250, f9339507c5443d8e3257998ae02ebaf33dafc04f, 7847e6b476eab86c3f149acd4dadbc5d78ff7d04 (@mrdoob)
- Fully migrate
EditorControls
to Pointer Events. #27745, #27749 (@Mugen87) - Remove VR code from
App.js
. #27772 (@mrdoob) - Use WebXR's
offerSession()
. when available. #27773 (@mrdoob) - Unify app Config/Play/Publish into a single panel in SideBar. #27775 (@mrdoob)
- Render video in a popup. #27776 (@mrdoob)
-
signals.transformModeChanged
callsrender()
now. #27777 (@linbingquan) - Update realistic viewport packages. #27780 (@gkjohnson)
- Add background rotation support. #27790 (@mrdoob)
- Improve XR mode. #27802, 0bf3908b73b2cf73d7361cce17cfc8b816cb2a00, 6b50ba4a4559277ed8da98baec7c56c35180a752 (@mrdoob)
- Add cache to
UITexture
. 74d7dc8a5fb92e40758ec6b8fd08502c5ca019b3 (@mrdoob) - Move
menubar/edit/clear_history
tosidebar/history/clear
. 8a321b5194e5b793c477b4a933819b2cfa241380 (@mrdoob) - Move export Geometry/Object/Scene to Sidebar. 109c87fbefa8c1ab391d1d7c53abf5b983ab9944 (@mrdoob)
- Increase sidebar panel width from 300px to 350px. ba3e2fc146f9cfd002aa856d4eb5f6e0ea97636e (@mrdoob)
- Improve video render UX on mobile. 2315ae8cbf45b22ec956b976e1ef91baf7dc6784 (@mrdoob)
- Improve
UINumber
andUIInteger
behavior. f9a97ef7814a67bf84048cfc42a78c21a77281ed (@mrdoob) - Add menubar workaround for VisionOS. 88f5aaaf321db4ed9f1e1c5a3be2cf1c4e9e6ca8 (@mrdoob)
- Improve
Viewport.Info
. 4654223c3ebe6e21b9c14986d5dddb6accc14ca7 (@mrdoob)