three.js - r153


https://github.com/mrdoob/three.js/wiki/Migration-Guide#r152--r153
https://github.com/mrdoob/three.js/milestone/66?closed=1

  • Global
  • Fix sourcemaps in dev builds. #25901 (@donmccurdy)
  • Introduce coordinateSystem. #26140 (@sunag)
  • BufferAttribute
  • Add gpuType. #26084 (@CodyJasonBennett)
  • Color
  • Let set() accept RGB values. #25999 (@Mugen87)
  • CubeTextureLoader
  • Return sRGB textures by default. #26162, #26169 (@Mugen87)
  • DepthTexture
  • Support texture depth comparison. #25958 (@RenaudRohlinger)
  • FramebufferTexture
  • Remove format parameter. #26027 (@Mugen87)
  • InstancedMesh
  • Honor bounding volumes in copy(). #25973 (@Mugen87)
  • MathUtils
  • Add support for Uint32 and Int32 to normalize / denormalize functions. #25984 (@gkjohnson)
  • Matrix3
  • Constructor has now parameters. #26021 (@Mugen87)
  • Make makeTranslation() accept Vector2. #26054 (@chenyy101)
  • Matrix4
  • Constructor has now parameters. #26021 (@Mugen87)
  • Make makeTranslation() accept Vector3. #26044 (@makc)
  • Mesh
  • Add deprecation comment in checkGeometryIntersection(). #25971 (@LeviPesin)
  • MeshPhysicalMaterial
  • Add anisotropy support. #25580, #26125 (@elalish)
  • Fix support for texture transform for anisotropy map. #26069 (@zeux)
  • PositionalAudio
  • Implement missing connect() method. #26145 (@max-sym)
  • Shaders
  • Add name property. #26101 (@WestLangley)
  • SkinnedMesh
  • Add raycast() method back. #25957 (@Mugen87)
  • Honor bounding volumes in copy(). #25973 (@Mugen87)
  • Source
  • Add id property. e296032db56c2d238a19c3911e2fa0768b533b82 (@mrdoob)
  • WebGLGeometries
  • Fix leak of morph target attributes. #26040 (@0b5vr)
  • WebGLInfo
  • Decouple info.render.frame from info.autoReset. #25978 (@RenaudRohlinger)
  • WebGLProgram
  • Add define for MeshGouraudMaterial. #26075 (@WestLangley)
  • WebGLPrograms
  • Simplify getChannel(). #25972 (@LeviPesin)
  • WebGLRenderer
  • Use correct bounding volume for depth sorting. #25974 (@Mugen87)
  • Allow for clearing integer render targets. #22351 (@gkjohnson)
  • Deprecate WebGL 1 support. #25959 (@Mugen87)
  • Improve integer attribute support. #21606 (@Mugen87)
  • Improved transparent rendering. #25819, 79cc93ceb85530fc3b16f4e4da6b38d2f658554a (@elalish, @WestLangley, @mrdoob)
  • Fix alpha map rendering for points and sprites. #26128 (@Mugen87)
  • Revert to drawingbuffer sized transmissionRenderTarget. #26138 (@mrdoob)
  • Ensure tone mapped value is in-range. #26130 (@WestLangley)
  • WebXRManager
  • Remove getCamera() and add setUserCamera(). #26041, c4befe1e2f54179dcef2ce80592e74729faec9ac (@mrdoob)
  • Refactored planes code. #26098 (@mrdoob)

Documentation

  • Improve BoxGeometry page. #26156 (@afilahkle)
  • Improve MeshSurfaceSampler page. #26031 (@makc)
  • Improve PerspectiveCamera page. #26105, #26117 (@afilahkle)
  • Improve ShaderMaterial page. #26116 (@ycw)
  • Improve Vector4 page. #26151 (@afilahkle)
  • Improve WebGLRenderer page. #26002 (@ycw)
  • Accept multiline callargs in page.js. #26030 (@ycw)
  • Fix redirect exception in Firefox. #26033 (@ycw)
  • Improve light pages. #26064 (@Mugen87)
  • Improved Arabic translation. #26088, #26100, #26123, #26132, #26141, #26149, #26155, #26174 (@afilahkle)
  • Improve Chinese translation. #26077, #26074, #26081, #26073, #26083, #26086, #26089, #26093 (@appache163, @l123wx, @LJNaN)

Manual

  • Improved Chinese translation. #26059 (@LJNaN)

Examples

  • More usage of sRGB and color management. #25986, #25988, #25991, #25994, #26018, #26070, #26082, #26085, #26090, #26092, #26094, #26097, #26111, #26119, #26120, #26121, #26135, #26144, #26150 (@Mugen87)
  • ​​Fix broken GPU picking demo. #25952 (@Mugen87)
  • Update GPU picking to use integer Ids, render target. #25983, #26001 (@gkjohnson)
  • Remove webgl_skinning_simple. #25992 (@Mugen87)
  • Improve webgl2_multisampled_renderbuffers example. #26005 (@WestLangley)
  • Replaced custom physics code with Rapier in webxr_xr_ballshooter. #26032 (@mrdoob)
  • Improved webgl_loader_gltf_anisotropy example. #26051, #26058 (@sunag, @mrdoob)
  • Added mediapipe face landmark detection example. #26080, 1f75a58371d7c34449224ca7e92e08d7564236f3 (@mrdoob)
  • Define renderOrder in webgl_loader_svg. #26114 (@ycw)
  • Fix webxr_xr_sculpt example. a55e5a37a26a279ae4cea46394352d6c9ca24704 (@mrdoob)
  • Improve webgl_materials_car. d4116b5ad2c3e8ed3d6e638b7e6496412ce3a9c7 (@mrdoob)
  • Removed obsolete/outdated examples. 8d527423202fe6bd8f35cb360fccff793599ffd0, d13f49c42050bd8d7caa9563227fd19c81b71938, 37f90dd12a659d8998a60aa37de915905325e49b, f355d37c79d6d48df052a7156964b98aebb5e656, 502183211c29dc89c9b024a8705a9cf204fb8e2e, e289dcecc04e5499405110b93a96cab9781ad49a, 0db73837f2849c17056497c6c6eb8f4f9ee10b02,
    d666ff8903d701a514afba786f11bb8796b3152e, 5a408a8915e682e7ae711357d6bc89161b598029, dc630b09c1c175fd610a070eb30d670a3c9df8b4, bf1da65052b0a8dec2a2750b81a344fec4e138af, 973d751be77019406e3e30ae424f0855bb0ada04, 45ef934fb952f3c9188c319babca2f316523b118, dd8a722e1f5b3aaaee91222f458a77690d2fb586 (@mrdoob)
  • Introduce ExposureShader. #26136 (@WestLangley)
  • Added webgpu_cubemap_dynamic example. #26152 (@sunag)


  • CSM
  • Remove default value of data ctor parameter. #25968 (@Mugen87)

  • DracoLoader

  • Normalize color attributes by default. #26036 (@Gmadges)

  • EffectComposer

  • Use HalfFloatType as default. #26099 (@Mugen87)
  • Introduce OutputPass. #26102 (@Mugen87)

  • GLTFExporter

  • Export from compressed texture data. #23321 (@hybridherbst)

  • GLTFLoader

  • Optimize GLTFParser.createUniqueName(). #25969 (@benwest)
  • Fix cache conflict for geometry sharing attributes but not morph targets. #25976 (@donmccurdy)
  • Preserve unknown gltf mesh extensions. #25948 (@cstegel)

  • KTX2Loader

  • Return LODs through DataTexture's mipmaps field. #25871 (@emmanueljl)
  • Support compressed cubemaps. #25909 (@donmccurdy)
  • Fix regression in mipmap chain upload. #26095 (@donmccurdy)

  • MeshGouraudMaterial

  • Add LEGACY_LIGHTS define. #26075 (@WestLangley)

  • MeshSurfaceSampler

  • Add sampleFaceIndex() function. #25970 (@gkjohnson)

  • MMDLoader

  • Catch parser exceptions. #25966 (@YusakuNo1)

  • NodeMaterial

  • Rework ConvertType(). #26025 (@LeviPesin)
  • Fix circular dependency. #26163 (@sunag)

  • OrbitControls

  • Added target distance check in change condition. #26063, 0a97813fd293f77b7c2b5a5432a9224acd06926c (@mrdoob)

  • PLYLoader

  • Add support for files with face color definitions. #26014 (@SindreYang)

  • RapierPhysics

  • Clean up. #26042 (@LeviPesin)

  • TSL

  • Add loop(). #25967 (@sunag)

  • USDZExporter

  • Add Texture.channel support. #25996 (@mrdoob)
  • Add MaterialBindingAPI schema, fix primvars:st data type, add colorspace for normal map. #26009 (@hybridherbst)
  • Add basic Texture.colorSpace support. #26011 (@mrdoob)
  • Support Texture.wrapS and Texture.wrapT. #26012 (@mrdoob)
  • Add Texture.rotation support. #26013 (@mrdoob)
  • Remove redundant Texture.format check. #26017 (@mrdoob)
  • Use scale input to tint the texture. #26019, cea7a35b3559f0a9e1932916899dcec006a23d2e (@mrdoob)
  • Improve UsdTransform2d. #26023 (@hybridherbst)
  • Clean up. 44ab823157bcae95b01d857e55a1ce685709448b (@mrdoob)

  • ViewHelper

  • Fix computation of pointer coordinates. #26067 (@alitan)

  • WebGPURenderer

  • Prevent duplicated init requests. #25964 (@takahirox)
  • Fix skinning bone multiplication order. #25987 (@sunag)
  • Static adapter for hasFeature(). #26006 (@sunag)
  • Added BufferAttributeNode. #26016, #26022 (@sunag)
  • Fix clear(). #26046 (@sunag)
  • Universal renderer and WebGPUBackend. #26079 (@sunag)
  • Move TextureRenderer to RenderTarget approach. #26142 (@sunag)
  • CubeRenderTarget and CubeCamera. #26152 (@sunag)

  • XRHandPrimitiveModel

  • Disable frustum culling. 77c27896d36e4f9633ab44a6fe153be45b986fda (@mrdoob)

Editor

  • Removed unused TeapotGeometry code. d6fe1558c1682307d9882cb12ddd9dc4a548d0a0 (@mrdoob)

Details

date
May 31, 2023, 3:25 p.m.
name
r153
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