release notes
release notes
release notes
Published 9/30/2020
Contains breaking changeshttps://github.com/mrdoob/three.js/wiki/Migration-Guide#r120--r121 https://github.com/mrdoob/three.js/milestone/34?closed=1
(646,271 KB, gzip: 157,542 KB)
Source
/*@__PURE__*/ to module scope variable assignments. #20236 (@ianpurvis)setIndex() method. #20413 (@takahirox)BufferGeometry. #20327 (@gkjohnson).setWithCredentials(). #20355, #20364, #20374 (@amosbyon1224, @Mugen87).ior property. #20322 (@WestLangley).focus property. #20218 (@WestLangley)Documentation
WebGLProgram page. #20293 (@Adjective-Object)blendDst, blendEquation, and blendSrc when null. #20344 (@gkjohnson)Vector2s. #20406 (@TiraO)InstancedBufferAttribute.meshPerAttribute. #20408 (@Mugen87)undefined as Material.defines type. #20356 (@ycw)Object3D page. #20386 (@mjurczyk)TypeScript
CondNode constructor's type. #20232 (@martinRenou)CondNode. #20231 (@martinRenou)Vector3.fromBufferAttribute() type definition. #20235 (@Mike-Dax)InstancedMesh.setColorAt() definition. #20250 (@ben-voss)ArrowHelper's color parameter more permissive. #20282 (@deerob4)mode from LineSegments ctor. #20295 (@ycw)*IdCount. #20341 (@ycw)WebXRManager. #20352 (@Mugen87)load() in CompressedTextureLoader. #20373 (@linbingquan)setScaleSnap type definition to TransformControls. #20423 (@YoshihiroIto)color property type on LineBasicMaterial. #20429 (@Methuselah96)ExpressionNode contructor's type definition. #20213 (@martinRenou)Examples
Scene.background. #20189 (@Mugen87)webgl_materials_matcap example. #20261 (@WestLangley)webgl_materials_matcap example. #20279 (@WestLangley)webgl_materials_envmaps_parallax example. #20278 (@WestLangley)RectAreaLightHelper in webgl_lights_rectarealight example. #20277 (@WestLangley)webgl_geometry_spline_editor example. #20312 (@Mugen87)misc_controls_pointerlock example. #20334 (@arodic)pointerType is pen. #20336 (@arodic)misc_animation_authoring example. #20363 (@Mugen87)webgl_multiple_scenes_comparison example. 65494f3b0973b39d851dc18859745b708451df65, a72e73d74e2f71f3ac05e6a73870acfd5f28ffc5 (@mrdoob)GridHelper in black backgrounds. c39ede5f47da0df061fb206db3a4940688cd5aa9 (@mrdoob)webgl_lod. c9b5020cbf0b3ed4dc4da098e7ea8cb4b79966f2 (@mrdoob)TypedGeometryExporter. #20404 (@Mugen87)webgl2_volume_cloud example. #20222, b44e670887c84bbd85296e108024c22682702dd0 (@DavidPeicho, @mrdoob)misc_legacy example. d2f0e5c4b8fab0ca2737768c7a5f003c93f0f713 (@mrdoob)3DMLoader
BasicNodeMaterial
DRACOLoader
GetArray methods. #20399 (@donmccurdy)GLTFLoader
glTF spec. #20226 (@WestLangley)GLTFMeshStandardSGMaterial #20242 (@WestLangley)colorType=3,4. #20376 (@donmccurdy)Line2
LineSegements2
threshold raycaster parameter. #20375 (@gkjohnson)RoughnessMipmapper
roughnessMap is undefined. ad7b74752873ca78806652bccadbad0235641606 (@mrdoob)SVGLoader
defs and use nodes. #20209 (@yomboprime)TransformControls
VTKLoader
WebGPURenderer
Editor
emissiveIntensity configurable. #20227 (@Mugen87)Resizer.js. b215c369fccf85a82fa80c8bfe3e19bc50a6694c, 70f000115fe6d21370244f2f16fea1ec82d7a80d (@mrdoob)VTK import. #20397 (@Mugen87)release notes
Published 9/30/2020
Contains breaking changeshttps://github.com/mrdoob/three.js/wiki/Migration-Guide#r120--r121 https://github.com/mrdoob/three.js/milestone/34?closed=1
(646,271 KB, gzip: 157,542 KB)
Source
/*@__PURE__*/ to module scope variable assignments. #20236 (@ianpurvis)setIndex() method. #20413 (@takahirox)BufferGeometry. #20327 (@gkjohnson).setWithCredentials(). #20355, #20364, #20374 (@amosbyon1224, @Mugen87).ior property. #20322 (@WestLangley).focus property. #20218 (@WestLangley)Documentation
WebGLProgram page. #20293 (@Adjective-Object)blendDst, blendEquation, and blendSrc when null. #20344 (@gkjohnson)Vector2s. #20406 (@TiraO)InstancedBufferAttribute.meshPerAttribute. #20408 (@Mugen87)undefined as Material.defines type. #20356 (@ycw)Object3D page. #20386 (@mjurczyk)TypeScript
CondNode constructor's type. #20232 (@martinRenou)CondNode. #20231 (@martinRenou)Vector3.fromBufferAttribute() type definition. #20235 (@Mike-Dax)InstancedMesh.setColorAt() definition. #20250 (@ben-voss)ArrowHelper's color parameter more permissive. #20282 (@deerob4)mode from LineSegments ctor. #20295 (@ycw)*IdCount. #20341 (@ycw)WebXRManager. #20352 (@Mugen87)load() in CompressedTextureLoader. #20373 (@linbingquan)setScaleSnap type definition to TransformControls. #20423 (@YoshihiroIto)color property type on LineBasicMaterial. #20429 (@Methuselah96)ExpressionNode contructor's type definition. #20213 (@martinRenou)Examples
Scene.background. #20189 (@Mugen87)webgl_materials_matcap example. #20261 (@WestLangley)webgl_materials_matcap example. #20279 (@WestLangley)webgl_materials_envmaps_parallax example. #20278 (@WestLangley)RectAreaLightHelper in webgl_lights_rectarealight example. #20277 (@WestLangley)webgl_geometry_spline_editor example. #20312 (@Mugen87)misc_controls_pointerlock example. #20334 (@arodic)pointerType is pen. #20336 (@arodic)misc_animation_authoring example. #20363 (@Mugen87)webgl_multiple_scenes_comparison example. 65494f3b0973b39d851dc18859745b708451df65, a72e73d74e2f71f3ac05e6a73870acfd5f28ffc5 (@mrdoob)GridHelper in black backgrounds. c39ede5f47da0df061fb206db3a4940688cd5aa9 (@mrdoob)webgl_lod. c9b5020cbf0b3ed4dc4da098e7ea8cb4b79966f2 (@mrdoob)TypedGeometryExporter. #20404 (@Mugen87)webgl2_volume_cloud example. #20222, b44e670887c84bbd85296e108024c22682702dd0 (@DavidPeicho, @mrdoob)misc_legacy example. d2f0e5c4b8fab0ca2737768c7a5f003c93f0f713 (@mrdoob)3DMLoader
BasicNodeMaterial
DRACOLoader
GetArray methods. #20399 (@donmccurdy)GLTFLoader
glTF spec. #20226 (@WestLangley)GLTFMeshStandardSGMaterial #20242 (@WestLangley)colorType=3,4. #20376 (@donmccurdy)Line2
LineSegements2
threshold raycaster parameter. #20375 (@gkjohnson)RoughnessMipmapper
roughnessMap is undefined. ad7b74752873ca78806652bccadbad0235641606 (@mrdoob)SVGLoader
defs and use nodes. #20209 (@yomboprime)TransformControls
VTKLoader
WebGPURenderer
Editor
emissiveIntensity configurable. #20227 (@Mugen87)Resizer.js. b215c369fccf85a82fa80c8bfe3e19bc50a6694c, 70f000115fe6d21370244f2f16fea1ec82d7a80d (@mrdoob)VTK import. #20397 (@Mugen87)