three.js - r142


https://github.com/mrdoob/three.js/wiki/Migration-Guide#r141--r142
https://github.com/mrdoob/three.js/milestone/55?closed=1

  • Global
  • Improve tree shaking. #24207, #24209, #24210, #24218, #24221, #24094 (@pschroen, @marcofugaro)
  • Make vector and matrix .is* property non-enumerable. #24219 (@marcofugaro)
  • CameraHelper
  • Add .setColors(). #24235 (@Mugen87)
  • InterleavedBufferAttribute
  • Fix typos. #24195 (@Dannie226)
  • Material
  • Remove deprecated vertexTangents. #24136 (@LeviPesin)
  • WebGLRenderer
  • Support more texture types in initTexture(). #24245 (@action-script)
  • WebGLShadowMap
  • Fix enabling VSM. #24223 (@Mugen87)
  • Make test for clipping planes more robust. #24144 (@lumebot)
  • WebXRManager
  • Disable sRGBA format for projection layer. #24222 (@cabanier)
  • Fix input sources being sent to wrong controllers (touch AR). #23188 (@marwie)
  • Fix wrong ray space for Vive OpenXR Runtime. #24056 (@saitonakamura)
  • Remove input source on XR session end. #24269 (@marwie)

Documentation

  • Improve AmbientLight page. #24273 (@hanisko)
  • Improve BufferGeometry page. #24254, #24256 (@Mugen87, @WestLangley)
  • Improve How to update things guide. #24192 (@Mugen87)
  • Improve Matrix4 page. #24279 (@hanisko)
  • Improve Path page. #24224 (@dummyx)
  • Improve WebGLRenderer page. #24161 (@Strepto)
  • Improve WebGLRenderTarget page. #24230 (@TomHsiao1260)
  • Improve Chinese translation. #24166, #24244, #24282 (@jovey-zheng, @linbingquan, @luoxuhai)
  • Improve map description of materials. #24134 (@ggPeti)

Manual

  • Fix โ€œmorph targets with colorsโ€ demo. #24255 (@Mugen87)
  • Improve Setup page. #24266 (@gh0sstt)

Examples

  • Clean up. #24181, #24190, #24270 (@LeviPesin)
  • Fix webgl2_multiple_rendertargets example for iOS. #24141 (@RenaudRohlinger)
  • Fix URL in webgl_loader_gltf_iridescence example. #24138 (@cx20)
  • Improve molecule demos. #24153 (@Mugen87)
  • Improve webgl_raycast_texture example. #24157 (@Mugen87)
  • Remove CameraControls. #24185, #24232 (@Mugen87)
  • Add webgpu_cubemap_adjustments example. #24206 (@sunag)
  • Add webgpu_particles example. #24247, #24275 (@sunag)
  • Add webgl_raycaster_bvh example. #23907 (@gkjohnson)
  • Renamed some raycaster examples. #24280 (@mrdoob)
  • Added external tag. #24281 (@mrdoob)


  • ArcballControls
  • Use dispose() in makeGizmos(). #24241 (@Mugen87, @Vlad-Apostolov)

  • GLTFExporter

  • Fixed buildMetalRoughTexture() #24197 (@mrdoob)
  • Convert sRGB to Linear in buildMetalRoughTexture(). #24198, 64ac0a2e24a0c02d25ce973611808f9f59ca0e37 (@mrdoob)

  • KTX2Loader

  • Support loading uncompressed DataTexture and Data3DTexture. #24129, #24260, #24260 (@donmccurdy)

  • LDrawLoader

  • Fix two bugs and add seven improvements. #24257 (@yomboprime)

  • MaterialLoader

  • Update static function using ES6 style. #24238 (@sunag)

  • MMDToonShader

  • Add /* glsl */ annotations. #24274 (@ycw)

  • NodeMaterial

  • Add .scaleNode property and support to sprite.center for SpriteNodeMaterial. #24158 (@sunag)
  • Fix unnecessary swizzle in SplitNode. #24170 (@sunag)
  • Fix native renderer.toneMapping usage in WebGLNodeBuilder. #24211 (@sunag)
  • Add RangeNode. #24240 (@sunag)
    -Fix and improve ReflectVectorNode. #24265 (@sunag)

  • OBJLoader

  • Refactor line parsing. #24175 (@Degubi)

  • OculusHandPointerModel

  • Fix pointer duplication issue. #24142 (@dmliao)

  • OutlinePass

  • Correct gaussian probability density function input. #24262 (@ingun37)

  • PCDLoader

  • Get the byte length of the field correctly. #24278 (@luoxuhai)

  • PLYLoader

  • Fix for line splitting on universal newlines. #24264 (@05gash)

  • ShadowMesh

  • Prevent shadow overlap. #24180 (@N8python)

  • SimplifyModifier

  • Add check if face is not undefined. #24169 (@Suprhimp)

  • SVGLoader

  • Honor styles in svg tag. #24263 (@Mugen87)

  • TransformControls

  • Improve gizmo rendering with orthographic cameras. #24242 (@Mugen87, @WestLangley)

  • USDZExporter

  • Log warning when material.side === THREE.DoubleSide. #24214 (@mrdoob)

  • WebGPURenderer

  • Fix wrong auto dimension on MacOS while generate MipMaps #24135 (@sunag)
  • Update to latest API. #24186, #24233 (@Mugen87, @sunag)
  • Add support for .backgroundNode. #24213 (@sunag)

Details

date
June 29, 2022, 8:37 a.m.
name
r142
type
Major
๐Ÿ‘‡
Register or login to:
  • ๐Ÿ”View and search all three.js releases.
  • ๐Ÿ› ๏ธCreate and share lists to track your tools.
  • ๐ŸšจSetup notifications for major, security, feature or patch updates.
  • ๐Ÿš€Much more coming soon!
Continue with GitHub
Continue with Google
or