three.js - r164


https://github.com/mrdoob/three.js/wiki/Migration-Guide#r163--r164
https://github.com/mrdoob/three.js/milestone/77?closed=1

  • Global
  • Replace unpkg with jsdelivr as CDN. #28006 (@0b5vr)
  • Remove deprecated code. #28068 (@Mugen87)
  • BatchedMesh
  • Add getInstanceCount()/setInstanceCount() methods for instanced multi-draw. #28103 (@CodyJasonBennett)
  • FileLoader
  • Evaluate X-File-Size header before Content-Length. #28169 (@Mugen87)
  • Line
  • Honor last segment of LineLoop in raycast(). #28114 (@zoeeer)
  • MeshPhysicalMaterial
  • Add dispersion. #28051, #28057, #28058 (@Mugen87)
  • PMREMGenerator
  • Make blur order consistent. #28166 (@elalish)
  • RenderTarget
  • Add resolveStencilBuffer. #28096 (@Mugen87)
  • Add resolveDepthBuffer. #28170 (@Mugen87)
  • WebGLBackground
  • Split adding to render list and clearing of buffers. #28118 (@mrxz)
  • WebGLCapabilities
  • Add textureTypeReadable() and textureFormatReadable(). #28087 (@sguimmara)
  • WebGLRenderer
  • Use ETC2 for ETC1 textures. #28021 (@Mugen87)
  • Clean up tone mapping shaders. #28084 (@WestLangley)
  • Let transmissionRenderTarget size match relevant viewport size. #28088 (@mrxz)
  • Prerender transmission pass(es). #28097 (@mrxz, @cabanier)
  • Fix global clipping planes with nested render calls. #28120 (@Mugen87)
  • Discard depth after rendering to transmissionRenderTarget. #28132 (@mrxz)
  • copyTextureToTexture3D() depth fix and exclusive approach. #28154 (@RenaudRohlinger)
  • Simplify getContext(). #28186 (@vitch)
  • Don't support double-sided, transmissive objects with WEBGL_multisampled_render_to_texture. #28196 (@Mugen87)
  • WebGLShadowMap
  • Clean up. #28194 (@linbingquan)
  • WebGLTextures
  • Fix gl.invalidateFramebuffer() call. #28139 (@Mugen87)
  • Simplify updateMultisampleRenderTarget(). #28141 (@Mugen87)

Documentation

  • Improve Libraries and Plugins guide. #28077, #28085 (@atul-mourya, @Mugen87)
  • Improve Post-Processing guide. #28168 (@atul-mourya)
  • Improve Object3D page. #28145 (@Mugen87)
  • Improve Plane page. #28153 (@Mugen87)
  • Improve WebGLRendererTarget page. #28112 (@Mugen87)
  • Improve Chinese translation. #28040, #28159 (@moshuying, @lreebom)
  • Improve Korean translation. #28090, #28123 (@eunjios, @kdby-io)
  • Remove THREE prefix from several addon uses. #28105 (@0b5vr)

Manual

  • Improve Chinese translation. #28076 (@HonorableLeon)

Examples

  • Clean up. #28121, #28213 (@linbingquan)
  • Remove lensflares from VR sandbox demo. #28110 (@Mugen87)
  • Added Jolt physics example. #28023, 0adce30dfd94227d33d95b445a1cd8ec137bd1d8 (@mrdoob)
  • Use FullScreenQuad for webgl_postprocessing_crossfade example. #28171 (@linbingquan)
  • Add resize event listener for webgl_postprocessing_crossfade example. #28172 (@linbingquan)
  • Fix monaco-editor. #28201 (@sunag)
  • Fix webgpu_loader_materialx example. 7c449d803bbdf9f6255d1321f6168711394c6641 (@mrdoob)
  • Add webgpu_multiple_rendertargets_readback example. #28211 (@Spiri0, @sunag)


  • CCDIKSolver
  • Allow specifying sphere size in createHelper(). #28147 (@Psychpsyo)

  • EXRLoader

  • Implement single tiled-image support. #28033 (@sciecode)

  • GLTFExporter

  • Fix missing clearcoat normal map scale. #28099 (@Mugen87)

  • KTX2Loader

  • Remove RGB_S3TC_DXT1_Format usage. #28069 (@Mugen87)

  • Line2NodeMaterial

  • Simplify extension. #28160 (@aardgoose)

  • LWOLoader

  • Fix coordinate system conversion. #28029 (@WORMSS)

  • MeshGouraudMaterial

  • Remove unused lightmap_fragment chunk. #28056 (@pailhead)

  • NodeMaterial

  • Clean up. #28185 (@linbingquan)
  • Remove WebGLNodeBuilder. #28167, #28173 (@sunag, @aardgoose)

  • Octree

  • Add layers property for filtering objects. #28116 (@RemusMar)

  • OculusHandModel

  • Pass onLoad callback constructors. #28074 (@ferminLR)

  • RenderTransitionPass

  • Add new class for transition effects. #28174, #28207 (@linbingquan)

  • SceneUtils

  • Add generator-based traversal methods. #28053 (@HoloTheDrunk)

  • TSL

  • Introduce .onReference(). #28104 (@sunag)

  • USDZExporter

  • Rename parse() to parseAsync(). #28049 (@mjurczyk)

  • VRMLLoader

  • Make sure rotation axis is normalized. #28162 (@vorth)

  • WebGPURenderer

  • Add batch texture to cacheKey. #28039 (@RenaudRohlinger)
  • Add missing Z axis to viewportCoordinate. #28041 (@RenaudRohlinger)
  • Forward depthNode to shadows. #28042 (@RenaudRohlinger)
  • Apply setupDepth even if fragmentNode isn't null. #28043 (@RenaudRohlinger)
  • Fix viewZToPerspectiveDepth. #28045 (@RenaudRohlinger)
  • Add textureGrad support. #28048 (@RenaudRohlinger)
  • Add support for multisampling in copyFramebufferToTexture(). #28054 (@sunag)
  • Add aoNode to NodeMaterial. #28061 (@RenaudRohlinger)
  • Fix faceDirection in WebGLBackend if used BackSide. #28064 (@sunag)
  • Introduce compute geometry. #28072 (@sunag)
  • Transmission - Backdrop 3/3. #27880 (@sunag)
  • Fix specularF90 of MeshStandardMaterial. #28138 (@sunag)
  • Fix receiveShadow and introduce shadowPositionNode. #28146 (@RenaudRohlinger)
  • Fix calculation of array buffer size copying texture to buffer. #28161 (@aardgoose)
  • Fix group draw range. #28163 (@sunag)
  • Added lightMap support #28164 (@sunag)
  • Use textureGrad for PMREMs. #28181 (@sunag)
  • Support specularColorMap. #28155 (@susiwen8)
  • Allows the device to be created externally. #28192 (@chirsz-ever)
  • Fix D_BlinnPhong. #28199 (@susiwen8)
  • Add ShadowMaterial support. #28200 (@sunag)
  • Allow specifying texture index for MRT in readRenderTargetPixelsAsync(). #28197 (@Spiri0)
  • Remove unnecessary use of GPUAdapter. #28217 (@sunag, @chirsz-ever)
  • Wait for device initialization in hasFeatureAsync(). #28218 (@sunag)

  • XRHandModelFactory

  • Pass onLoad callback constructors. #28074 (@ferminLR)

Node Editor

  • Clean up. #28095 (@sunag)
  • Fix animation loop reference. #28093 (@sunag)
  • Fix NodePrototypes being available across load/save-cycles. #28030 (@abc013)
  • Revision mat/bool color and json matrix types. #28094 (@sunag)
  • Implement a split screen. #27784 (@abc013)
  • Use devicePixelRatio. 5cfc5dba4f8b26bce30f42310d5b9289e40b011e (@mrdoob)

Editor

  • Clean up. #28183 (@linbingquan)
  • Make IOR configurable. #28028 (@Mugen87)
  • Remove IFC support. #28108 (@harryhjsh)
  • Clean up grid code and improve colors. cd385372374f5513f5815d693dc264140788e574 (@mrdoob)
  • Use importmap in app/index.html. #28195 (@linbingquan)
  • Fix glTF assets with external KTX2 textures. #28206 (@Mugen87)

Details

date
April 25, 2024, 3:42 p.m.
name
r164
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