r134
版本发布时间: 2021-10-28 23:18:36
mrdoob/three.js最新发布版本:r170(2024-10-31 15:07:49)
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r133--r134 https://github.com/mrdoob/three.js/milestone/47?closed=1
- FileLoader
- Use
fetch
API. #22510 (@DefinitelyMaybe, @gkjohnson)
- Use
- ImageLoader
- Clean up. #22666 (@linbingquan)
- LoaderUtils
- Add
resolveURL()
. #22707 (@robertlong)
- Add
- MeshPhysicalMaterial
- Added sheen textures. #22687 (@Mugen87)
- Renamed
*Tint
to*Color
. #22748 (@mrdoob)
- PMREMGenerator
- Fixed using compressed cubemaps. #22699 (@Mugen87)
- Texture
- Add
userData
property. #22698 (@Mugen87)
- Add
- WebGLRenderer
- Remove support for
ImmediateRenderObject
. #22643 (@Mugen87) - Lighter
getProgramCacheKey()
when usingRawShaderMaterial
. #22650 (@dbuck)
- Remove support for
- WebGLShadowMap
- Make VSM samples a GLSL define. #22708 (@Mugen87)
Documentation
- Clean up. #22672 (@raghav-wd)
- Improved Curve page. #22747 (@Mugen87)
- Improved
InstancedMesh
page. #22639 (@Mugen87) - Improved
WebGLRenderer
page. #22706 (@Mugen87) - Fix redirect condition for
*BufferGeometry
. #22680 (@inokawa) - Improved Chinese translation. #22746 (@obf1313)
Examples
- Clean up. #22617, #22629, #22739 (@linbingquan, @Mugen87)
- Improved
webgl_geometry_spline_editor
example. #22616 (@linbingquan) - Add possibility to pass in the HTML container of CSS renderers. #22635 (@pimdewit)
- Use loop unroll in
webgl_shadowmap_pcss
example. #22646 (@Mugen87) - Removed
DeviceOrientationControls
. #22654 (@Mugen87) - Fix tile glitch in
webgl_geometry_minecraft
example. #22657 (@Mugen87) - Fix clipping in
webgl2_materials_texture3d
example. #22649 (@rlschuller) - Added
webgpu_skinning_points
example. #22695 (@sunag) - Use phong material in
webxr_ar_lighting
example. #22724 (@Mugen87) - Simplified
webgl_marchingcubes
example. 296e07f2d367549a62efcd189da4d3384135534b (@mrdoob)
-
3MFLoader
- Fixed multiple build items referring to the same object. #22663 (@soaresrl)
-
ArcballControls
- Rename
_tbCenter
property totarget
. #22678 (@Mugen87) - Add
getRaycaster()
. #22719 (@Tirzono) - Derive from
EventDispatcher
. #22737 (@Mugen87) - Allow setting the gizmos radius factor. #22721 (@Tirzono)
- Rename
-
ColladaLoader
- Re-added normal map parsing. #22647, 418d19b82b4c235edba22b8cffb285a0a87661c2 (@jbaicoianu, @mrdoob)
- Set material opacity when
transparent.opaque
isnull
orundefined
. #22679 (@BSpolantis)
-
FBXLoader
- Don’t fail when no pose nodes found for a node. #22744 (@kovacsv)
-
GLTFLoader
- Add basic
KHR_materials_sheen
support and example. #22677 (@Mugen87)
- Add basic
-
KTX2Loader
- Warn when multiple instances in use. #22621 (@donmccurdy)
-
LineMaterial
- Refactor GLSL. #22726 (@Mugen87)
-
MarchingCubes
- Migrate to Mesh. #22642 (@Mugen87)
-
NodeMaterial
- Refactor usage of
ShaderNode
. #22612 (@sunag) - Enhance
ShaderNode
. #22644 (@sunag) - Introduce
NodeParser
andGLSLNodeParser
. #22641 (@sunag) - Refactor
SkinningNode
and introduceArrayElementNode
. #22662 (@sunag)
- Refactor usage of
-
OrbitControls
- Disallow zoom via mouse wheel while rotating. #22660 (@Mugen87)
-
RoughnessMipmapper
- Fix export with
USDZExporter
. #22741 (@elalish)
- Fix export with
-
TDSLoader
- Refactor
readString()
method. #22651 (@tomsoftware)
- Refactor
-
TrackballControls
- Fix pinch to zoom with ortho cams. #22709 (@Mugen87)
-
USDZExporter
- Add support for interleaved data. #22633 (@Mugen87)
-
WebGPURenderer
- Add support for skinned meshes. #22610 (@sunag, @Mugen87)
- Introduce WGSL. #22653, #22688 (@sunag)
- Use attributes location defined by node material. #22665 (@sunag)
- Fix
stencilLoadValue
inWebGPUBackground
. #22668 (@takahirox) - WGSL
FunctionNode support
. #22715 (@sunag)