r147
版本发布时间: 2022-11-30 16:09:27
mrdoob/three.js最新发布版本:r171(2024-11-29 19:21:30)
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r146--r147 https://github.com/mrdoob/three.js/milestone/60?closed=1
- Color
- Update the default color space settings. #24965 (@WestLangley)
- CubeCamera
- Orient cameras right-side-up. #24921 (@WestLangley)
- FileLoader
- Add
X-File-Size
header support. #24971 (@mxsxs2)
- Add
- Helpers
- Add missing
type
definitions. #24159 (@Heaust-ops) - Ensure light helpers are not frame-late. #21427 (@Mugen87)
- Add missing
- InstancedBufferGeometry
- Remove unused argument from
super.toJSON()
. #24948 (@ycw) - Remove redundant
clone()
code. b58ecfd1701f29b1bac486f36c2d624cda3ef79a (@mrdoob)
- Remove unused argument from
- Lights
- Change default
decay
to2
. #23897, #24941, #24942 (@mrdoob, @Mugen87)
- Change default
- LOD
- Add
hysteresis
option. #14566 (@donmccurdy)
- Add
- Matrix3
- Added 2D transform methods. #24985 (@WestLangley)
- ObjectLoader
- Call
onError()
if no metadata found in JSON. #24891 (@frading)
- Call
- Scene
- Add
backgroundIntensity
. #24876 (@WestLangley)
- Add
- Shaders
- Remove outdated code. #24977 (@WestLangley)
- Texture
- Add
DEFAULT_ANISOTROPY
. #25015 (@WestLangley)
- Add
- WebGLAttributes
- Call
onUploadCallback()
again after updating a buffer. #24912 (@luisfonsivevo)
- Call
- WebGLLights
- Remove outdated comment. #24966 (@WestLangley)
- WebGLRenderer
- Remove deprecated code. #24867 (@Mugen87)
- Enable rendering without vertex data. #24179 (@filonik)
- Consider
.outputEncoding
for background, clear color, and fog. #23937 (@donmccurdy)
- WebGLShadowMap
- Support
material.map
withalphaTest
. #25000 (@WestLangley)
- Support
- WebGLState
- Assign boolean to
currentPremultipledAlpha
. #24955 (@ycw)
- Assign boolean to
- WebGLUtils
- Move
RedFormat
to WebGL 2 section. #24945 (@LeviPesin)
- Move
- WebXRManager
- Add AR plane detection. #24855 (@richardanaya)
- Fix hand joints not being initialized when hand connected. #24827 (@DevPika)
Documentation
- Clean up. #24911, #24953, #24954, #24994, 25036 (@Mugen87, @bergden-resonai)
- Improve
BufferGeometryUtils
page. #24874, #24875 (@Mugen87) - Improve
Material
page. #24931 (@WestLangley) - Improve
MeshPhysicalMaterial
page. #24917 (@WestLangley) - Improve
OrbitControls
page. #24951 (@Draichi) - Improve
PointLightShadow
page. #24927 (@Mugen87) - Improve
WebGLProgram
page. #24889 (@Mugen87) - Improve
Color Management
guide. #24929 (@donmccurdy) - Improve
Installation
guide. #24579, #24887 (@LeviPesin, @Mugen87) - Improve
Libraries and Plugins
guide. #24947 (@mallsoft) - Improved French translation. #24928 (@xMael-Kehl)
- Improve Italian translation. #24882, #24885, #24905 (@AngyDev)
- Started Russian translation. #24896 (@bad4iz)
Manual
- Clean up. #24901 (@nmattia)
- Improve Chinese translation. #24884, #24907 (@mk965)
- Improved French translation. #24913 (@Lecrapouille)
- Change
examples
toaddons
. #24888 (@LeviPesin) - Fix code error in
load-gltf.html
. #24976 (@thelostword)
Examples
- Clean up. #24869, #24881, #24880, #25018 (@Mugen87, @linbingquan, @WestLangley)
- Improve GUI of pathtracer demo. #24862 (@Mugen87)
- Add new pixelization effect. #24873 (@KodyJKing, @Mugen87)
- Fix raycasting in
webgl_lines_fat_raycasting
example. #23690 (@gkjohnson) - Add WebGPU flag tip message for Chrome. #24892 (@sunag)
- Simplify calls to
lookAt()
. #24909 (@WestLangley) - Updated external subdivision demo. #24930 (@stevinz)
- Update WebGPU examples to honor new
decay
value. #24981 (@sunag) - Allow passing
GLTFLoader
intoOculusHandModel
/XRHandMeshModel
. #25013, 8422f325cabf2afb6b327a172b7e73fae1989c52 (@hybridherbst, @Mugen87)
-
CCDIKSolver
- Make
.createHelper()
compatible with genericSkinnedMesh
. #24988 (@abernier)
- Make
-
ColladaLoader
- Fix line rendering with incompatible materials. #25017 (@Mugen87)
-
FBXLoader
- Add warning about unsupported polygons. #25030, #25035 (@Mugen87)
-
GLTFExporter
- Remove
KHR_materials_pbrSpecularGlossiness
support. #24950 (@donmccurdy)
- Remove
-
GLTFLoader
- Honor
extras
in light definitions. #24897 (@Mugen87) - Support accessors with no
bufferView
. #24904 (@Mugen87) - Add
getDependency( type, index )
implementation. #24252 (@hybridherbst) - Remove
KHR_materials_pbrSpecularGlossiness
support. #24950 (@donmccurdy) - Make
navigator
access more robust. #24989 (@Hoodgail) - Clean up
loadSkin()
. #25007 (@takahirox) - Fix exception when a texture can't be fetched/created. #25014 (@hybridherbst)
- Update comment. #25034 (@takahirox)
- Honor
-
LDrawLoader
- Include building step count in model. #24868 (@sbgib)
-
LineSegments2
- Fix raytracing when the mesh has a transformation applied. #24405 (@MixMasterMitch)
-
NodeMaterial
- Fix
WebGPUNodeBuilder.repeatWrapping()
. #24922 (@sunag) - Add
ViewportNode
. #24934 (@sunag) - Add audio processing using
ShaderNode
. #24918 (@sunag) - Fix
OperatorNode
. #24970 (@LeviPesin) - Fix
ConvertType
. #24967 (@LeviPesin) - Move
ShaderNode
internals to aNode
class. #24961 (@LeviPesin) - Add support to
material.vertexColors
. #25002 (@sunag) - Fix
_listeners
warning. #25003 (@sunag)
- Fix
-
OrbitControls
- Enable keyboard rotation with modifier keys. #24974 (@nikolas)
-
PCDLoader
- Remove unnecessary escape character. #24960 (@puxiao)
-
PLYLoader
- Allow custom attributes. #25001 (@alankalb)
-
SVGLoader
- Use new 2D
Matrix3
transform methods. #24987 (@WestLangley)
- Use new 2D
-
USDZExporter
- Add anchoring support. #22854, #24865 (@aleneum, @Mugen87)
- Fix default plane anchoring orientation and add precision specifiers. #25012 (@hybridherbst)
-
USDZLoader
- Fix loading files exported with
USDZExporter
. #25023 (@hybridherbst)
- Fix loading files exported with
-
WebGPURenderer
- Add textured background support. #24986 (@sunag)
Tests
- Implement
Object3D
inheritance tests. #25009 (@ANFADEV)