r131
版本发布时间: 2021-08-05 03:17:51
mrdoob/three.js最新发布版本:r170(2024-10-31 15:07:49)
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r130--r131 https://github.com/mrdoob/three.js/milestone/44?closed=1
- EdgesGeometry
- Remove rounding from hash computation. #22099 (@Mugen87)
- InstancedMesh
- Fix
color
attribute initialization. #22171 (@FoolHen)
- Fix
- Material
- Remove
morphTargets
andmorphNormals
properties. #22169, #22244 (@Mugen87)
- Remove
- MeshBasicMaterial
- Clean up vertex shader. #22053 (@WestLangley)
- MeshMatcapMaterial
- Add support for vertex tangents. #22248 (@WestLangley)
- MeshPhysicalMaterial
- Ensure
thicknessMap
is correctly used in the shader. #22116 (@takahirox) - Fix refraction shader code. #22224 (@takahirox)
- Fixed overblown color in
transmission_fragment
. #22125 (@mrdoob) - Add
specular
support andKHR_materials_specular
support toGLTFLoader
. #22156 (@takahirox) - Renamed
attenuationColor
toattenuationTint
. #22206, #22211 (@mrdoob)
- Ensure
- MeshStandardMaterial
- Remove
vertexTangents
property. #22146, #22182, #22189, b421217222f3b3fd550a91d43054f3e50174eabc, 0304b4b2ad924e37b1d7b63bde6a4d560385434d (@donmccurdy, @mrdoob, @Mugen87)
- Remove
- SphereGeometry
- Increased default
widthSegments
to 32 andheightSegment
to 16. #22141 (@mrdoob)
- Increased default
- WebGLRenderer
- Rearrange logic in
renderObjects()
to reduce CPU-side draw cost for multi-camera setups. #22123 (@davehill00) - Integrate PMREM. #22178, #22199 (@Mugen87)
- Fix render state management in
compile()
. #22220 (@Mugen87)
- Rearrange logic in
- WebXRManager
- Use classic
WebGLLayer
to support anti-aliased output for layers. #22127 (@cabanier) - Add support for foveation. #22162 (@cabanier)
- Use classic
- WireframeGeometry
- Prevent duplicate edges. #22097 (@Mugen87)
Documentation
- Improve
AnimationUtils
page. #22213 (@Mugen87) - Improve
InstancedBufferGeometry
page. #22152 (@Mugen87) - Improve
Libraries and Plugins
page. #22200 (@gkjohnson) - Improve
Lut
page. #22148 (@Mugen87) - Improve
Material Constants
page. #22136 (@gkjohnson) - Improve
OrbitControls
page. #22101 (@vsh) - Improve
SphereGeometry
page. #22142, #22193 (@Mugen87) - Prevent HTML markup in filter result. #22108 (@Mugen87)
- Remove browser support page. #22140 (@Mugen87)
- Fix redirect for geometry generators. #22153, 35bdc42a8115c7404997b9ef9b9e7fdb832a5099, ec5fb63a0b557474844f458065e5b26a22667e4e (@Mugen87, @mrdoob)
- Improve Chinese translation. #22155, #22184 (@moshuying, @puxiao)
- Add
BufferAttribute
usage constants page. #22173 (@gkjohnson)
Examples
- Clean up. #22221, #22222, b5014ca71d3f1b3bf771d1b8a93813578b250b93 (@WestLangley, @mrdoob)
- Use
ImageLoader
inwebgl_panorama_cube
example. #22065 (@puxiao) - Enhance GUI of
webgl_materials_physical_transmission
example. #22111 (@takahirox) - Make use of
setPointerCapture()
in controls. #22118 (@Mugen87) - Fix
webaudio_sandbox
example in Safari. #22149 (@brianpeiris) - Simplify
webgl_morphtargets_sphere
example. bb484d616955e2bf1c3329383c3c0cc3543ccf71 (@mrdoob) - Simplify
webgl_loader_ldraw
example. 2f09982f44bd613a9478ab3bb1ff210db27d92d2, 00d65845df4fef6d1ebb476ada18158c118b24cb (@mrdoob) - Increase the scale limit in
webgl_materials_parallaxmap
example. #22112 (@Calinou) - Improve lighting in
webgl_loader_ldraw
example. #22188 #22191 (@mrdoob, @gkjohnson) - Enhance
webxr_vr_layers
example. #22144 (@sigmaxipi)
-
ColladaExporter
- Enable configuration of
up
axis. #22143 (@Oletus)
- Enable configuration of
-
CSSRenderers
- Prevent selection and dragging of CSS objects. #22106 (@Mugen87)
-
FBXLoader
- Check
null
textures before assignment. #22114 (@camnewnham) - Increase sampling for nurbs geometries. #22202 (@Mugen87, @WestLangley)
- Check
-
GLTFExporter
- Added
KHR_materials_transmission
andKHR_materials_volume
support. #22214 (@mrdoob)
- Added
-
GLTFLoader
- Add
KHR_materials_volume
andKHR_materials_ior
extensions support. #22117 (@takahirox)
- Add
-
HTMLMesh
- Reuse
<canvas>
instance. #22098 (@mrdoob)
- Reuse
-
IFCLoader
- Update to latest
IFC.js
. #22113 (@agviegas)
- Update to latest
-
LDrawLoader
- Wrap conditonal line material, remove
canHaveEnvMap
field. #22183 (@gkjohnson) - Fix slanted normals. #22181 (@gkjohnson)
- Wrap conditonal line material, remove
-
LineMaterial
- Fixed alpha-to-coverage bug. #22135 (@WestLangley)
-
OrbitControls
- Add
getDistance()
. #22126 (@marcofugaro)
- Add
-
RGBELoader
- Use
HalfFloatType
as default texture type. #22190, #22265 (@Mugen87)
- Use
-
SVGLoader
- Fix round rects when only
rx
orry
is specified. #22124 (@nkrkv) - Improve round rect corners approximation. #22132 (@nkrkv)
- Fix round rects when only
-
TrackballControls
- Fix scale finished rotate on mobile. #22100 (@leoshenhh)
-
TransformControls
- Expose raycaster. #22070 (@Experiment5X)
-
USDZExporter
- Only include metalnessMap/roughnessMap when metalness/roughness is 1. #22201 (@mrdoob)
-
WebGPURenderer
- Fix broken resize. #22128 (@Mugen87)
- Replace outdated context type argument. #22210 (@Mugen87)
Editor
- Add support for PLY point clouds. #22138 (@Mugen87)
- Turn off autocomplete of input elements. #22157 (@Mugen87)
- Add manual link. #22175 (@Mugen87)
- Make only visible objects Viewport selectable. 4c99322347be26e2449b35f6e4fe690d06f22cbd (@mrdoob)
- Fix equirectangular getting lost when changing antialias. #22186 (@mrdoob)
- Store equirectangular environment. #22187 (@mrdoob)
- Refactored
SidebarMaterial
. #22194 (@mrdoob) - Added
attenuationTint
,attenuationDistance
andthickness
toSidebarMaterial
. #22208 (@mrdoob) - Improve Chinese translation. #22219 (@linbingquan)
Tests
- Remove installation checking for E2E. #22168 (@munrocket)