Three.js Versions Save

JavaScript 3D Library.

r144

1 year ago

https://github.com/mrdoob/three.js/wiki/Migration-Guide#r143--r144 https://github.com/mrdoob/three.js/milestone/57?closed=1

  • Global
    • Remove legacy code. #24400, #24426, #24424, #24431 (@LeviPesin, @gero3)
    • Deprecate legacy BufferGeometry nomenclature for built-in geometries. #24352 (@WestLangley)
  • AnimationAction
    • Ensure startAt() works with clampWhenFinished set to true. #24434 (@gero3)
  • BufferAttribute
    • Support (de)normalization in accessors. #22874, #24511, #24526 (@donmccurdy, @gkjohnson)
    • Remove type specific copy methods. #24550 (@Mugen87)
  • BufferGeometry
    • Remove merge(). #24454 (@Mugen87)
    • Account for PRIMITIVE_RESTART_FIXED_INDEX in .setIndex(). #24569 (@Mugen87, @donmccurdy)
  • Color
    • Support HSL(A) with decimal percentage values. #24461 (@Mugen87)
  • MaterialLoader
    • Add missing glslVersion field to parse(). #24402 (@Marco-Ct)
  • MeshLambertMaterial
    • Convert to per-fragment shading. #24452, #24482 (@WestLangley, @Mugen87)
  • MeshToonMaterial
    • Add antialiasing to shader. #24406 (@RenaudRohlinger)
  • Object3D
    • Move Scene.autoUpdate to Object3D.matrixWorldAutoUpdate. #24028, 7ca0bb679cc4b8d4f590af475cf4e550e07724fe, 757dadf2333b5a62f75b1263acf0007abe2bb5b3, c6e93866b79044690ed1ddf9279d9062dac2059d (@CodyJasonBennett, @mrdoob)
  • PolarGridHelper
    • Allow zero radials or zero circles. #24509, #24533 (@JeremieBourque1)
  • PropertyBinding
    • Allow map as target object. #24537 (@Mugen87)
  • ShapePath
    • Remove noHoles parameter. #24560 (@Mugen87)
  • SpotLight
    • Enable textured lighting. #21944, #24557, #24558, 599e0e280a6721ec14506b0792ea614e7781635c (@mbredif, @mrdoob)
  • WebGLPrograms
    • Fix broken fog check. #24439 (@Mugen87)
  • WebGLRenderer
    • Move transmission properties to Material struct. #24435 (@sunag)
    • Use prefix in cube_uv_reflection_fragment defines. #24470 (@CodyJasonBennett)
    • Fix flow accordance of roughness used in transmission. #24433 (@sunag)
    • Remove unnecessary shader chunks. #24475 (@WestLangley)
    • Avoid multiple map lookups. #24457, #24534, #24535 (@jhurliman, @Degubi)
    • Honor transparent, double-sided materials in .compile(). #22266 (@Mugen87)
  • WebXRManager
    • Set stencilBuffer property of WebGLRenderTarget. #24488 (@mrxz)
    • Fix local transform properties of XR camera. #22362 (@zalo)

Documentation

  • Clean up. #24458, #24494, #24508, #24553 (@Mugen87, @0xlain, @AlexandreAllard)
  • Improve BufferGeometry page. #24496 (@erasta)
  • Improve BufferGeometryUtils page. #24446 (@Mugen87)
  • Improve Creating a scene page. #24497 (@Abhiram-Gullapalli)
  • Improve Installation page. #24408 (@AngyDev)
  • Improve PCDLoader page. #24417 (@Mugen87)
  • Improve Useful links page. #24445 (@Mugen87)
  • Improve WebGLRenderer page. #24489 (@mrxz)
  • Add missing constants. #24422, #24423, #24428, #24430, #24427, #24419, #24447 (@gero3, @Mugen87)
  • Improve Chinese translation. #24513 (@JasonWu008)
  • Improve French translation. #24516, #24552 (@AlexandreAllard)
  • Improve Italian translation. #24455, #24483, #24544, #24561 (@AngyDev)
  • Improve Portuguese translation. #24380, #24514 (@geankaminski)

Manual

  • Improve Chinese translation. #24415 (@MongooseSong)
  • Fix zh side navigation. #24548 (@gausszhou)

Examples

  • Clean up. #24463, #24478, #24503 (@davidfitzgibbon, @gero3, @WestLangley)
  • Remove unused Collada file. #24490 (@Stonelinks)
  • Fix behavior of physics_ammo_instancing example with high FPS. #24425, 61907845df5b0881e7c690518c1454771313024e (@CalebBabin, @mrdoob)
  • Update meshopt_decoder module to latest. #24491 (@zeux)
  • Add note about WebP support in webgl_materials_matcap example. #24502 (@WestLangley)
  • Remove imageOrientation: “none” from webgl_loader_imagebitmap example. d0af538927212eb04c0ed9ce3d42a75ce3b5f523 (@mrdoob)
  • Add webgl_modifier_subdivision example. #24397 (@stevinz)
  • Change alias three-nodesthree/nodes. #24413 (@donmccurdy)
  • Add three/addons/* alias. #23406 (@marcofugaro)
  • Simplify webgl_decals example. #24555 (@Mugen87)

  • ColorConverter

    • Remove CMYK conversion formulas. #24495 (@WestLangley)
  • FBXLoader

    • Handle invalid material indices. #24436 (@Mugen87)
    • Fix euler parsing. #24542 (@Mugen87)
  • GLTFLoader

    • Update MeshoptDecoder support to support WebWorkers. #24460 (@zeux)
  • GPUComputationRenderer

    • Add dispose(). #24414 (@Mugen87)
    • Add WebXR compatibility. #24554 (@pigloo)
  • KTX2Loader

    • Support ZSTD-compressed DataTexture and DataTexture3D. #24398 (@donmccurdy)
    • Remove UMD version again, fix typo in denylist. #24540 (@donmccurdy)
  • MeshGouraudMaterial

    • Add new material class. #24467, c5ab44c468a8e861bb53cf97890bda10c083aaf0 (@WestLangley, @mrdoob)
  • MMDPhysics

    • Use CapsuleGeometry. #24448 (@Mugen87)
  • NodeMaterial

    • Remove workaround for Adreno GPUs in MathNode. #24399 (@sunag)
    • Add iridescence support. #24401 (@sunag)
    • Implement .getCacheKey(). #24442 (@sunag)
    • Fix atan2. #24464 (@miko3k)
    • New WebGLNodeBuilder and transmission support. #24453 (@sunag)
    • Add MaterialX noise functions lib. #24504, #24505 (@sunag)
  • OutlinePass

    • Add support for InstancedMesh. #24440 (@TobyGilbert)
  • PLYExporter

    • Add support for point clouds. #24487 (@Mugen87)
  • Reflector/Refractor

    • Change render target setups. #24386 (@Mugen87)
  • RoomEnvironment

    • Add .dispose() method. #24556 (@donmccurdy)
  • SVGLoader

    • Properly handle missing y-value in translate transform. #24395 (@nkrkv)
  • TIFFLoader

    • Add new loader for loading TIFF textures. #24420 (@Mugen87)
  • USDZLoader

    • New loader. #24568 (@mrdoob)

Editor

  • Do not call .update() for skeleton helpers. #24532 (@Mugen87)

r143

1 year ago

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

  • Global
    • Remove deprecated code. #24286, #24307, #24292 (@Mugen87)
    • Improve tree-shaking. #24337, #24336 (@pschroen)
  • FileLoader
    • Add response to error object. #24296 (@JacobMuchow)
  • LatheGeometry
    • Fix normals of default shape. #24308 (@Mugen87)
  • PlaneHelper
    • Simplify implementation. #24378 (@WestLangley)
  • WebGLRenderer
    • Clean up. #24392 (@WestLangley)
    • Add support for Uniform Buffer Objects. #21558 (@Mugen87)
    • Rename linearToRelativeLuminance() function. #24347 (@WestLangley)
    • Remove workaround for Adreno GLSL bug. #24390 (@WestLangley)

Documentation

  • Improve EffectComposer page. #24288 (@iuriiiurevich)
  • Improve Installation page. #24334, #24353 (@Mugen87, @FelipeCortez)

Examples

  • Fix crossfade bug in webgl_animation_skinning_additive_blending example. #24287 (@mudroljub)
  • Fix title of webgl_modifier_simplifier example. #24324 (@stevinz)
  • Dispose of render targets in webgl_shaders_ocean example. #24327 (@Mugen87)
  • Remove webgl_instancing_modified example. #24335 (@Mugen87)
  • Remove remaining usage of *BufferGeometry geometry generator names. #24349 (@WestLangley)
  • Add support for ground projected environment maps. #24311, #24367, #24368, #24372, 384e5d6ef5b4d819ae985cccdac44c2fba4c6889, b23ae34c02284b3defe6e6566c4ebc809f17649c (@FarazzShaikh, @Mugen87, @mrdoob)
  • Clean up node material examples. #24394 (@mrdoob)

  • ColladaLoader

    • Add warning when converting up axis. #24338 (@Mugen87)
  • GLTFLoader

    • Don't force matrixAutoUpdate to true for animated nodes. #24284 (@snagy)
  • NodeMaterial

    • Add .onInit() method to ComputeNode. #24363 (@sunag)
    • Add MeshPhysicalNodeMaterial. #24385, #24389 (@sunag)
    • Rename NodeVary* to NodeVarying*. #24388 (@sunag)
  • OrbitControls

    • Remove duplicate code. #24333 (@shawn0326)
  • PCDLoader

    • Always use white as default color. #24339 (@Mugen87)
    • Parse intensity field. #24350 (@Mugen87)
    • Parse label field. #24381 (@Mugen87)
  • SelectionHelper

    • Improve display style settings of DOM element. #24322 (@linbingquan)
  • SVGLoader

    • Fix float precision in round join computation. #24314 (@slecorne)
    • Make createShapes() usable for other modules. #24293 (@Mugen87)
  • USDZExporter

    • Fix import. #24366 (@Mugen87)
  • WebGPURenderer

    • Fix render pipeline selection. #24373 (@Mugen87)
    • Introduce WebGPUUtils. #24379 (@Mugen87)
    • Fix computation of the camera frustum planes. #24383 (@WestLangley)

Editor

  • Improve "compute vertex normals" button. #24309 (@Mugen87)
  • Improve Chinese translation. #24313, #24323 (@linbingquan)
  • Enable centering geometries. #24315 (@Mugen87)

r142

1 year ago

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)

r141

1 year ago

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

  • Global
    • Remove legacy code below r130. #24034 (@Mugen87)
    • Avoid unnecessary prototype access. #24036, #24060, #24069, #24061, #24047, #24092, #24105 (@marcofugaro, @Mugen87)
    • Move deprecated properties and methods to classes. #24040, #24044 (@Mugen87)
  • DepthTexture
    • Change default type to UnsignedIntType. #24019 (@wmcmurray)
  • ExtrudeGeometry
    • Fix .toJSON() when using extrudePath. #24013 (@Mugen87)
  • Interpolant
    • Remove beforeStart_() and afterEnd_() alias definitions. #24076 (@Mugen87)
  • MeshPhysicalMaterial
    • Support iridescence / thin-film materials. #23869, e60a8027463e04b0a6b060c3537798e599086c58 (@PascalSchoen, @mrdoob)
  • Object3D
    • Honor recursive parameter of copy() in subclasses. #24119 (@frading)
  • ObjectLoader
    • Check type of Source.data for loading images. #24067 (@fluxxu)
  • WebGLRenderer
    • Stop checking for FramebufferTexture in .copyFramebufferToTexture(). #23964 (@chubei-oppen)
    • Listen to webglcontextcreationerror event. #24091 (@mrdoob)
  • WebGLMultipleRenderTargets
    • Add multisampling support. #24001(@RenaudRohlinger)
  • WebGLProgram
    • Improve error logging.#24130, #24131 (@LeviPesin, @marcofugaro)
  • WebGLTextures
    • Avoid redundant calls of texStorage2D(). #24095 (@Mugen87)
  • WebXRManager
    • Add undefined check in onSessionEnd(). #23984, #24015 (@kalegd, @Mugen87)
    • Fix caching of baseReferenceFrame and teleport example. #24058 (@richardanaya)
    • Support more than two views. #23972 (@CodyJasonBennett)

Documentation

  • Add support for code highlighting. #24079 (@sunag)
  • Improve Chinese translation. #23985, #24070 (@linbingquan, @qq284590533)
  • Improve Texture page. #24041 (@dghez)
  • Improve WebGLRenderer page. #24008, #24054 (@Mugen87)
  • Improve Creating a scene guide. #24120, #24126 (@oskar1233, @Mugen87)
  • Improve How to run things locally guide. #24097 (@donmccurdy)
  • Improve FAQ. #24116 (@Mugen87, @looeee)

Manual

  • Improve Responsive page. #24023 (@exxnnonymous)
  • Improve Primitives page. #24026 (@taenykim)
  • Improve Chinese translation. #24000, #24012, #24063, #24132 (@writey, @MongooseSong)
  • Improve Korean translation. #23977 (@nerdchanii)

Examples

  • Clean up. #23993, #24121, #24118, b5ec27609676f3caac48434302d3fb296553572a (@jkristensen, @LeviPesin, @Mugen87, @mrdoob)
  • Added webgpu_cubemap_mix example. #24059 (@sunag)
  • Remove deprecated Geometry class and all legacy checks. #24009 (@Mugen87)
  • Added webgl_loader_gltf_iridescence example. c26896dfaececdd007c5f04b1b6de0275172b093 (@mrdoob)
  • Unified MRT examples. 764cf0fa5919e891bc259253e0464dc8033d5fcd (@mrdoob)

  • 3DMLoader

    • Remove usage of THREE namespace. #24075 (@Mugen87)
  • CSS2DRenderer

    • Remove position rounding for Safari. #24122 (@fanciful-marmot)
  • DDSLoader

    • Remove FourCC header check. #24124 (@LeviPesin)
  • EXRLoader

    • Enable long-name attribute flag. #24049 (@sciecode)
  • GLTFExporter

    • Remove embedImages option. #24003 (@Mugen87)
    • Fix export when using OffscreenCanvas. #24031 (@LeviPesin)
    • Fix handling of shared buffer attributes with morph data. #24090 (@Mugen87)
  • GPUStatsPanel

    • Prevent infinite loop when WebGL context is lost. #23990 (@wmcmurray)
  • HTMLMesh

    • Add some more input types and support rounded rectangles. #24030 (@AdaRoseCannon)
  • KTX2Exporter

    • Add new exporter. #24102 (@donmccurdy)
  • NodeMaterial

    • Add support for IBLs + PBR. #24038 (@sunag)
    • nodeType of AttributeNode is now optional. #24050 (@sunag)
    • Add .customProgramCacheKey(). #24096 (@sunag)
    • Fix dpdx and dpdy called from non-uniform control flow in NormalMapNode. #24062 (@sunag)
    • Add .construct() and some architectural changes. #24110 (@sunag)
    • Add sprites and support for InterleavedBufferAttribute. #24117 (@sunag)
  • RGBELoader

    • Simplify texture configuration. #24032 (@deepkolos)
  • SelectionHelper

    • Remove unused parameter from constructor. #24057 (@CarlBateman)
  • WebGPURenderer

    • Improve approach to generate mipmaps of a CubeMap. #23988 (@sunag)
    • Update to latest WebGPU API. #24021 (@sunag)
    • Setting an explicit size in configure() has been deprecated. #24098 (@sunag)

Editor

  • Clean up. f36dad49fbc5f8c38d1e9d4132c7863ea2d55c7e (@mrdoob)
  • Add basic support for showing morph targets. #24084 (@Mugen87)
  • Add PCDLoader. #24106 (@Mugen87)
  • Add Selector. #23902 909350e65984006757cf2ea6d851181be14dd644, 4e0930a3ca7c026ba9ff47473a0931197f6a9549 (@linbingquan, @mrdoob)
  • Ignore chrome-extension scheme in sw.js. (@mrdoob)

r140

2 years ago

https://github.com/mrdoob/three.js/wiki/Migration-Guide#r139--r140 https://github.com/mrdoob/three.js/milestone/53?closed=1

  • Global
    • Make Euler, Quaternion and Color iterable. #23796 (@Mugen87)
  • CubeCamera
    • Clean up. #23908, #23935 (@mrpink17, @Mugen87)
  • Material
    • Move fog property to materials which support it. #23939 (@Mugen87)
  • MeshDepthMaterial
    • Fix broken depthPacking. #23801 (@Mugen87)
  • PMREMGenerator
    • Add workaround for Pixel phones. #23841 (@elalish)
  • SkinnedMesh
    • Require floating point vertex textures. #23928 (@Mugen87)
  • WebGLBackground
    • Ensure textured backgrounds work with all layers. #23812 (@Mugen87)
  • WebGLBindingsStates
    • Avoid redundant updates when using InstancedMesh. #23653 (@snagy)
  • WebGLLights
    • Remove redundant computation. #23893 (@Mugen87, @WestLangley)
  • WebGLMultipleRenderTargets
    • Fix copy(). #23781 (@RenaudRohlinger)
  • WebGLProgram
    • Support logging errors with no line numbers. #23843 (@gkjohnson)
  • WebGLRenderer
    • Fix transmission render target type check. #23885 (@chubei-oppen)
    • Make context check more safe. #23969 (@soadzoor)
  • WebGLRenderTarget
    • Fix regression when cloning / copying after Source API addition. #23997 (@gkjohnson)
  • WebGLTextures
    • Ensure texStorage2D() is called when forceUpload is true. #23808 (@Mugen87)
    • Fix memory allocation of DepthTexture and FramebufferTexture. #23854, #23868 (@chubei-oppen)
  • WebGLUniforms
    • Remove unused function. #23911 (@RenaudRohlinger)
  • WebXRManager
    • Fix for hand controllers. #23830 (@cabanier)
    • Add .setReferenceSpace(). #20949, #23920 (@arodic, @Mugen87)

Documentation

  • Clean up. #23804 (@zeh)
  • Move Color management under Next steps. #23794 (@donmccurdy)
  • Improve BufferAttribute page. #23960 (@gsimone)
  • Improve CCDIKSolver page. #23449 (@abernier)
  • Improve DirectionalLightShadow page. #23952 (@kryzodoze)
  • Improve FontLoader page. #23899 (@jynxio)
  • Improve Installation guide. #23788 (@HossamAbdelNasser)
  • Improve Libraries and Plugins guide. #23876 (@gkjohnson)
  • Improve Matrix4 page. #23825 (@makc)
  • Improve MeshPhysicalMaterial page. #23831 (@Mugen87)
  • Improve PointsMaterial page. #23892 (@Mugen87)
  • Improve Useful links guide. #23839 (@Ahlecss)
  • Improve WebGLRenderer page. #23851 (@gkjohnson)
  • Improve WebGLRenderTarget page. #23844 (@OndrejSpanel)
  • Switch to gender neutral terms. #23816 (@inclusive-coding-bot)
  • Fix color values in material browser. #23948 (@Mugen87)
  • Mentioned the need for ImageBitmap.close(). #23959 (@Mugen87, @WestLangley)

Manual

  • Improve Chinese translation. #23811, #23850, #23878, #23938 (@MongooseSong, @BinarySky10)
  • Improve Korean translation. #23949 (@nerdchanii)
  • Improve Russian translation. #23942 (@Borodin)

Examples

  • Clean up. #23860, #23861 (@Mugen87, @sunag)
  • Add missing encodings fragment to default shader of Reflector and Refractor. #23863 (@Mugen87)
  • Expose virtual camera of Reflector and Refractor as a property. #23890 (@LR17)
  • Port webgpu_compute to use node classes. #23931 (@LeviPesin)

  • ArcballControls

    • Fix drifting when zooming with the mouse cursor. #23838, 9a836651e6ae8c7c4f7434cd8121e5b6fdc06274 (@Tirzono, @mrdoob)
  • BufferGeometryUtils

    • Rename and improve warnings for MikkTSpace tangents. #23815 (@donmccurdy)
    • Add deinterleaveAttribute(), deinterleaveGeometry() functions. #23814 (@gkjohnson)
    • Remove use of old Material.morphTargets property. #23955 (@willstott101)
  • FBXLoader

    • Fix uv translation being ignored. #23834 (@hybridherbst)
  • GLTFExporter

    • Add WebWorker support. #23857, 340d588ca21de2401f459e402310ec440720d686 (@robertlong, @mrdoob)
    • Check for document before creating OffscreenCanvas. #24035 (@robertlong, @CodyJasonBennett)
  • GLTFLoader

    • Support animation loading via extension. #23810 (@marwie)
    • Add KHR_materials_emissive_strength. #23867 (@hybridherbst)
    • Honor Firefox version when checking for ImageBitmap. #23909 (@Mugen87)
  • MarchingCubes

    • Add update(). #23934 (@gkjohnson)
  • MMDLoader

    • Handle shininess properly. #23889 (@takahirox)
  • NodeMaterial

    • Don't convert type of node if it is not needed. #23786 (@LeviPesin)
    • Rework build and make other updates. #23797 (@LeviPesin)
    • Fix uint usage in ShaderNodeUtils. #23817 (@sunag)
    • Cleanup ShaderNode. #23820 (@LeviPesin)
    • Fix cache. #23828 (@sunag)
    • Updates and revision. #23872 (@sunag)
    • Add missing InstanceNode to Nodes. #23880 (@LeviPesin)
    • Fix uniform function in ShaderNodeElements. #23879 (@LeviPesin)
    • Add ComputeNode. #23905, #23944 (@sunag)
    • Add more exports to ShaderNode. #23901 (@LeviPesin)
    • Add two sides support to NormalMapNode. #23971, #23982 (@sunag)
  • TTFLoader

    • Upgrade opentype.js. #23845 (@Mugen87)
  • UnrealBloomPass

    • Remove unused uniform. #23954 (@gsimone)
  • VRButton

    • Add workaround for WebXRViewer. #23805, 149069fe45acef5d392f9442e87c385dfc95131e (@hybridherbst, @mrdoob)
  • WebGPURenderer

    • Update to latest WebGPU API. #23826 (@sunag)
    • Set compositingAlphaMode to premultiplied. #23827 (@sunag)
    • Add instancing support. #23835 (@sunag)
    • Ensure clear color is alpha premultiplied. #23853 (@Mugen87)
    • Fix Material.side configurations. #23965 (@sunag)

Editor

  • Fix broken compute vertex normals button. #23865 (@Mugen87)
  • Add CapsuleGeometry. #23914 (@linbingquan)
  • Add support for Material.userData. #23967 (@Mugen87)- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

r139

2 years ago

https://github.com/mrdoob/three.js/wiki/Migration-Guide#r138--r139 https://github.com/mrdoob/three.js/milestone/52?closed=1

  • Global
    • Improve ESLint setup. #23603, #23763, #23767 (@gsimone, @CodyJasonBennett)
    • Fix inheritance in Three.Legacy.js. #23621 (@Mugen87)
    • More usage of fromBufferAttribute(). #23769 (@LeviPesin)
  • CapsuleGeometry
    • Add new geometry generator. #23586 (@gsimone)
  • Color
    • Clamp values in getHex(). #23582 (@mrdoob)
    • Add colorSpace argument for getters/setters. #23392 (@donmccurdy)
  • CubeCamera
    • Disable outputEncoding and tonemapping. #23581 (@mrdoob)
  • DataUtils
    • Added fromHalfFloat(), rewrite toHalfFloat(). #23596 (@Mugen87)
  • Material
    • Remove docstrings. #23651, #23661 (@deepansh96, @Mugen87)
  • MathUtils
    • Fix seededRandom(). #23590 (@Mugen87)
    • Make UUID RFC compliant. #23679, 8a97f905665c8ffb7a247be94410c93c30d1203b (@Mugen87, @mrdoob)
  • ​​MeshStandardMaterial
    • Remove CubeUVRefractionMapping and refractionRatio. #23682 (@Mugen87)
  • PMREMGenerator
    • Fix dispose(). #23697 (@Mugen87)
  • PositionalAudio
    • Disconnect panner in disconnect(). #23703 (@mrdoob)
  • Source
    • Expose class. #23619 (@Mugen87)
  • VideoTexture
    • Fix color space when using with Scene.background. #23782 (@Mugen87)
  • WebGLBindingStates
    • Force update after reset() call. #23691 (@boourns)
  • WebGLMaterials
    • Clean up. #23713 (@mrdoob)
  • WebGLMorphtargets
    • Fix normalized morph color attribute. #23654 (@donmccurdy)
    • Use texelFetch() to sample morph target texture. #23727 (@Mugen87)
  • WebGLProgram
    • Only log the lines around the error. 9d61e463ea09f71edb285857590cbd92f24e2ce2 (@mrdoob)
  • WebGLRenderer
    • Remove artist-friendly factor of PI from light map shader. #23613 (@WestLangley)
    • Use self instead of window. #23686 (@begmec)
    • Clean up. #23717, #23755 (@Mugen87, @alan-wu)
    • Remove call to checkFramebufferStatus(). #23770 (@greggman)
  • WebGLRenderTarget
    • Set texture.flipY to false. #23607 (@WestLangley)
    • Fix copy(). #23732 (@Mugen87)
  • WebGLShaderCache
    • Fix remove(). #23624 (@Mugen87)
  • WebGLTexture
    • Call invalidateFramebuffer() only in Oculus Browser. #23692 (@mrdoob)
  • WebGLUtils
    • Add WebGL constant fallback to convert(). #23813 (@Mugen87)

Documentation

  • Improve BufferAttribute page. #23620, #23772 (@Mugen87, @donmccurdy)
  • Improve BufferGeometry page. #23740 (@Mugen87)
  • Improve Clock page. #23739 (@Mugen87)
  • Improve DepthTexture page. #23626 (@stevinz)
  • Improve Quaternion.multiplyQuaternionsFlat(). #23577 (@Mugen87)
  • Improve TransformControls page. #23718 (@deepansh96)
  • Improve Chinese translation. #23623, #23643, #23709, #23749, #23778 (@towhare, @jovey-zheng, @1337816495)
  • Improve Creating text guide. #23584 (@r00ster91)
  • Improve Useful links guide. #23746 (@linbingquan)
  • New property description for is* flags. #23583 (@ycw)
  • Fix transparency in material browser. #23576 (@Mugen87)
  • Mentioned Import Maps in Installation guide. #23595 (@Mugen87)
  • Add OBJExporter page. #23674 (@Mugen87)
  • Fix typos. #23723, #23722, #23725 (@jasonsturges)
  • Add documentation for color management. #23430 (@donmccurdy)
  • Escape strings in regex search. #23729 (@Mugen87)

Manual

  • Improve Chinese translation. #23721, #23715 (@maslke)
  • Fix typos. #23726 (@jasonsturges)

Examples

  • Clean up. #23632 (@WestLangley)
  • Remove ​​webgl_postprocessing_ssrr example and SSRrPass. #23569 (@mrdoob)
  • Orient objects normal to hittest in webxr_ar_hittest. #23573 (@nosy-b)
  • Simplify some render target setups. #23669 (@Mugen87)
  • Fix opacity in copy and blend shaders. #23671 (@Mugen87)
  • Add webgpu_depth_texture example. #23665 (@sunag)
  • Add canvas font property order fix. #23685 (@mkeblx)

  • BloomPass

    • Use custom combine shader. #23667 (@Mugen87)
  • BufferGeometryUtils

    • Add MikkTSpace version of .computeTangents(). #23716, #23771, #23802 (@donmccurdy)
    • Add mergeGroups(). #23756 (@Mugen87)
  • CSM

    • Directional light without a shadow breaks shaders. #23631 (@OndrejSpanel)
  • FXAAShader

    • Simplify and add support for transparent backgrounds. #23768 (@bhouston, @DanielSturk)
  • GLTFExporter

    • Export same mimetype as import. #23592 (@elalish)
    • Only merge roughness and metalness maps. #23616 (@mrdoob)
  • GLTFLoader

    • Simplify loadImageSource(). #23633 (@donmccurdy)
    • Reorganize texture encoding assignment. #23645 (@donmccurdy)
    • Allow ImageBitmapLoader with Firefox. #23742 (@aardgoose)
    • Fix EXT_TEXTURE_WEBP extension. #23823 (@gernotziegler)
  • HtmlMesh

    • Properly handle comments. #23657 (@remmel)
  • LineSegments2

    • Add world units raycasting and webgl_lines_fat_raycasting example. (@bergden-resonai)
  • Lut

    • Fix color definition and sampling. #23589 (@Mugen87)
  • NodeEditor

    • Add FileURLEditor + MatcapUVEditor. #23705 (@sunag)
  • NodeMaterial

    • Various fixes and updates. #23600, #23647, #23648 (@sunag)
    • Add FogNode. #23606 (@sunag)
    • Add label and temp functions to ShaderNode. #23546 (@LeviPesin)
    • Unify type conversion functions in ShaderNode. #23601 (@LeviPesin)
    • Prevent ShaderNodeObjecting a ShaderNodeObject. #23629 (@LeviPesin)
    • Add BoolNode and UintNode. #23636 (@LeviPesin)
    • Refactor NodeBuilder.format(). #23638 (@LeviPesin)
    • Add buffer() function. #23656 (@LeviPesin)
    • Add ivec, uvec, bvec, imat, umat, and bmat. #23646 (@LeviPesin)
    • Fix properties shared across instances. #23706 (@wmcmurray)
    • Split InputNode into ConstNode and UniformNode. #23663 (@LeviPesin)
    • Fix support for extended classes. #23724 (@sunag)
    • Add CubeTexture for WebGPU and WebGL. #23743 (@sunag)
    • Update ConvertType. #23635 (@LeviPesin)
    • Remove unneeded constants from ShaderNode. #23765 (@LeviPesin)
    • Keywords support in FunctionNode. #23766 (@sunag)
  • PCDLoader

    • Fix ASCII RGB parsing. #23735 (@segments-tobias)
  • SceneUtils

    • Add .createMeshesFromMultiMaterialMesh(). #23762 (@Mugen87)
  • TrackballControls

    • Fix property access in onTouchEnd(). #23658 (@wasabia)
  • USDZExporter

    • Support opacity materials. #23588 (@yuta-hayashi)
  • ViewHelper

    • Fixed container is not defined. #23605 (@linbingquan)
  • VTKLoader

    • Fix parsing of VTP data with multiple components. #23684 (@eino)
    • Fix parsing VTP containing DataArrays of type Int32. #23699 (@eino)
    • Fix bit shift when parsing large buffers. #23720 (@eino)
  • WebGPURenderer

    • Add basic implementation of WebGPURenderStates. #23652 (@sunag)
    • Set compositingAlphaMode. #23776 (@sunag)

Editor

  • Clean up. #23618 (@linbingquan)
  • Fix deprecated error for matchMedia.addListener. #23610 (@linbingquan)
  • Fix getIntersects() for objects with invisible parents. #23617 (@mrdoob)
  • Refactor animations panel. #23714 (@mrdoob)
  • Add support for vtp files. f1336138f4703435c532d787975467f01a5c7a94 (@mrdoob)

r138

2 years ago

https://github.com/mrdoob/three.js/wiki/Migration-Guide#r137--r138 https://github.com/mrdoob/three.js/milestone/51?closed=1

  • Global
    • Remove DeepScan and LGTM alerts. #23341, #23343, #23346, #23351, #23380, #23397, #23410, #23411, #23440, #23442, #23446 (@mrdoob, @Mugen87)
    • Replace deprecated String.prototype.substr(). #23525 (@CommanderRoot)
  • FileLoader
    • Added workaround for Alipay browser's bug. #23548 (@neciszhang)
  • Material
    • Clean up toJSON(). #23438 (@linbingquan)
  • PMREMGenerator
    • Add support for variable size. #23322, #23428 (@elalish)
    • Use logical OR instead of nullish coalescing. #23488 (@Mugen87)
    • Fix anisotropic filtering. #23556, #23558, #23561, 28ce323f825a7f92587a84838c42d25beb2e7d10, 1db78b84b0152fcd561314140a6751109c894906 (@elalish, @mrdoob)
  • Texture
    • Added Source class. #22846, #23419, #23421 (@Mugen87)
    • Set needsUpdate to true in .copy(). #23637 (@Mugen87)
  • Vector3
    • Add setFromEuler(), remove Euler.toVector3(). #23494 (@WestLangley)
  • WebGLCubeRenderTarget
    • Use CubeTexture.image. #23433 (@Mugen87)
    • Simplify constructor. #23443 (@Mugen87)
  • WebGLMultipleRenderTargets
    • Add options to constructor. #22772 (@zalo)
  • WebGLRenderer
    • Enable blending when Material.blending is not set to NormalBlending. #23416 (@gkjohnson)
    • Refactor creation of transmission render target. #23450, #23452, #23460, #23465 (@Mugen87, @mrdoob, @haxiomic, @marcofugaro)
    • Remove WebGLMultisampleRenderTarget. #23455, #23611, #23644 (@Mugen87)
    • Fixed transmission rendering when using ArrayCamera. #23491 (@mrdoob)
    • Honor alpha definition in custom rendering context. #23504 (@Mugen87)
    • Add support for morphing vertex colors. #23523 (@Mugen87)
  • WebGLRenderTarget
    • Clone depthTexture in .copy(). #23462 (@mrdoob)
    • Add new render target types for 3D and array textures. #23498, #23515 (@Mugen87)
  • WebGLTextures
    • Fix for data texture mipmaps uploading to correct levels. #23492 (@MatejJan)
    • Remove render target texture fallback. #23470 (@Mugen87)

Documentation

  • Clean up. #23345, #23383, #23553, #23532, #23529, #23557 (@Mugen87, @bergden-resonai, @ycw)
  • Improve BoxGeometry page. #23530 (@Mugen87
  • Improve Color page. #23369 (@stevinz)
  • Improve CSS3DRenderer page. #23567 (@SadmanYasar)
  • Improve GLTFLoader page. #23417 (@takahirox)
  • Improve Raycaster page. #23500 (@linbingquan)
  • Improve RectAreaLight page. #23469 (@puxiao)
  • Improved SkinnedMesh page. #23423, #23422 (@makc)
  • Improve Useful-links page. #23396, 23409 (@PratikDev, @Mugen87)
  • Improve Vector* pages. #23437 (@Mugen87)
  • Improve Chinese translation. #23445, #23457, #23487, #23518, #23545 (@jovey-zheng)
  • Add missing Korean pages to list.json. #23391 (@Mugen87)
  • Add some missing API. #23510 (@Mugen87)
  • Use <p> for supporting paragraphs. #23522 (@ycw)
  • Add missing .is* flag. #23565 (@ycw)

Manual

  • Don't use GammaEncoding. #23364 (@Mugen87)
  • Remove outdated patterns in code examples. #23377, #23387, #23388, #23390 (@Mugen87)
  • Refactor import maps support in live editor. #23373 (@greggman)
  • Avoid usage of minimum pixel ratio. #23489 (@Mugen87)
  • Remove outdated OrbitControls.enableKeys. #23472 (@r00ster91)
  • Improve Chinese translation. #23501 (@ZacharyQin)

Examples

  • Clean up. #23395, #23426, #23485, #23503, #23535 (@Mugen87, @sunag, @WestLangley, @vHeemstra)
  • Add vertex colors to misc_exporter_ply example. #23375 (@gkjohnson)
  • Add vertex colors to misc_exporter_collada example. #23384 (@gkjohnson)
  • Allow tree-shaking for curves. #23402 (@marcofugaro)
  • Ensure CCDIKHelper is exported. #23404 (@abernier)
  • Rework UI of exporter examples. #23405 (@Mugen87)
  • Remove VRMLoader. #23414 (@mrdoob)
  • Remove old node material. #23418, #23454 (@Mugen87)
  • Properly set draw range in webgl_gpgpu_birds_gltf example. #23435 (@jure)
  • Fix style issue in flow. #23439 (@Mugen87)
  • Fix DOMException when trying to use XR inside an iframe. #23174 (@hybridherbst)
  • Add multisampling support to Reflector/Refractor. #23444 (@Mugen87)
  • Add OctreeHelper. #23481 (@carlssonk, @Mugen87)
  • Add EXRExporter. #23541 (@sciecode)
  • Fix GUI in wide line examples. #23540 (@bergden-resonai)
  • Move new node material to ./jsm/nodes/. #23560 (@sunag)
  • Improve webgl_cubemap_dynamic example. 944aeb1be3b6e86170d2707e315d7ce663c96dd9 (@mrdoob)

  • 3MFLoader

    • Assign names to the created groups and meshes. #23453 (@kovacsv)
  • ColladaExporter

    • Convert linear vertex and material colors to sRGB. #23400 (@gkjohnson)
  • ColladaLoader

    • Add sRGB support. #23401 (@gkjohnson)
  • CSS2DRenderer

    • Fix sorting regression. #23360, #23594 (@bergden-resonai, @Mugen87)
    • Add support for renderOrder. #23456 (@brucedjones)
  • GLTFExporter

    • Always use image/png as mime type. #23385 (@donmccurdy)
    • Fix buildORMTexture(). #23463 (@takahirox)
  • GLTFLoader

    • Allow textures which share the image source. #23420 (@takahirox)
    • Fix color space for certain texture types. #23630 (@Mugen87)
  • HTMLMesh

    • Render number input values. #23381 (@zz85)
    • Observe DOM mutation and support canvas elements. #23386 (@zz85)
  • NodeEditor

    • Support to file, textures and updates. #23376 (@sunag)
    • Minor improvement. #23425 (@fyoudine)
    • Add NormalMapEditor and some improvements. #23447 (@sunag)
    • Add preview. #23508 (@sunag)
  • NodeMaterial

    • Add support for serialization/deserialization. #23314 (@sunag)
    • Add analyze() to optimization and validation. #23475 (@sunag)
    • Add more functions to ShaderNode. #23539 (@LeviPesin)
    • Add type conversions to ShaderNode. #23544 (@LeviPesin)
  • OBJExporter

    • Convert vertex colors to sRGB. #23374 (@gkjohnson)
  • OBJLoader

    • Convert vertex colors to linear. #23340 (@gkjohnson)
  • PointerLockControls

    • Add .pointerSpeed. #23516 (@ChrisCrossCrash)
  • PLYExporter

    • Convert vertex colors to sRGB. #23399 (@gkjohnson)
  • PLYLoader

    • Convert vertex colors to linear. #23342 (@gkjohnson)
  • SVGLoader

    • Recognize style definitions inside defs tag. #23533 (@nkrkv)
  • WebGPURenderer

    • Remove deprecated WGSL syntax. #23393, #23394 (@webglzhang, @takahirox)
    • Fix Texture.image !== null in WebGPUTextures. #23436 (@sunag)
    • Update to latest WebGPU API. #23483 (@sunag)

Editor

  • Clean up. #23477 (@linbingquan)

Tests

  • Remove unit tests for example files. #23352 (@Mugen87)
  • Remove usage of Function.caller. #23412 (@Mugen87)
  • Update QUnit to solve Windows failure. #23505 (@Mugen87)

r137

2 years ago

https://github.com/mrdoob/three.js/wiki/Migration-Guide#r136--r137 https://github.com/mrdoob/three.js/milestone/50?closed=1

  • AnimationMixer
    • Fix wrong reference count in _bindAction(). #23102 (@walton007)
  • Box3
    • Supports computing minimal bounds for .setFromObject(). #20024 (@arikwex)
  • BufferGeometry
    • Faster setIndex(). #23290 (@neofuji)
  • FileLoader
    • text honors mimetype's charset as encoding. #23292 (@ycw)
  • LatheGeometry
    • Change index order. #23291 (@Chrissie-AI)
  • Material
    • Removed .format. #23166 #23361, dfca2bd4748b00245225c9e4d8ba0ef7374c9b36 (@donmccurdy, @mrdoob)
  • MeshMatcapMaterial
    • Update default matcap. #23126 (@WestLangley)
  • PMREMGenerator
    • Add flipEnvMap. #23158 (@Mugen87)
    • Reuse pingpong render target. #23203 (@Mugen87)
  • Quaternion
    • Fix return value of .slerpQuaternions(). #23114 (@OldStarchy)
  • ShaderLib
    • Clean up. #23119, #23122 (@ycw, @WestLangley)
    • Added OPAQUE snippet to meshnormal shader. #23362 (@mrdoob)
  • Texture
    • Remove RGBFormat. #23228, #23201, #23205, #23211, #23223, #23218, #23219, #23367 (@Mugen87)
    • Remove RGBIntegerFormat. #23252 (@Mugen87)
    • Remove UnsignedShort565Type. #23323 (@Mugen87)
  • WebGLCubeUVMaps
    • Add support for render targets. #23152 (@Mugen87)
  • WebGLMorphtargets
    • Dispose morph textures when corresponding geometry is disposed. #23104 (@0b5vr)
    • Allow negative morph influence values. #23264 (@willstott101)
  • WebGLRenderer
    • Auto-detect sRGB compressed texture formats. #23124 (@Mugen87)
    • Remove inline sRGB decode. #23129, #23192, #23271 (@Mugen87)
    • Simplify env map generation. #23150 (@Mugen87)
    • Implement draw buffers setup in WebGLState. #23194, #23200 (@Mugen87)
    • Create WebGL context with alpha: true. #23230, #23241, #23243, #23246 (@mrdoob, @Mugen87)
    • Only use sRGB shader encode for default framebuffer and WebXR. #23253, #23288, #23289 (@Mugen87)
  • WebGLRenderTarget
    • Refactor .copy(). #23237 (@Mugen87)
  • WebGLTextures
    • Support RG in getInternalFormat(). #23274 (@neofuji)
  • WebXRManager
    • Fixed support for multisampled rendering when render to texture is unsupported. #23145 (@cabanier)

Documentation

  • Refactor URL generation in geometry browser. #23087, #23161 (@gero3)
  • Improve Box3 page. #23320 (@skuteli)
  • Improved BufferAttribute page. #23249, #23263 (@garciadelcastillo, @Mugen87)
  • Improved CubeCamera page. #23179, #23193 (@oerol, @Mugen87)
  • Improved Installation page. #23277 (@fabiobarcelona)
  • Improved LoadingManager page. #23236 (@kryzodoze)
  • Improved MeshPhongMaterial page. #23338 (@AdaRoseCannon)
  • Improved MeshPhysicalMaterial page. #23261 (@chubei-oppen)
  • Improved Raycaster page. #23132 (@Mugen87)
  • Improved loader pages. #23180 (@mistic100)
  • Improved Chinese translation. #23084, #23209, #23239, #23262 (@521qq, @Torlinone, @moshuying, @Sooia)
  • Only load trusted iframe. #23245 (@r0hanSH)

Manual

  • Fix link highlighting in manual. #23113 (@greggman)
  • Improve style of modified code listings. #23142 (@Mugen87)

Examples

  • Clean up. #23092, #23091, #23105, #23133, #23151, #23162, #23222, #23175, #23276, #23294, #23301, #23365, e23cd92b13ca6884640a35b48150a92d47e2aa94, ab21bee59055fe1003f0c2d3e2eecb4cbed4a8c4, ea80c212e0047a547092904fcd19414dddd0da6c, 9d551a2640a438b1738d61e69997583e44c0ac27 (@linbingquan, @Mugen87, @WestLangley, @vojty, @marcofugaro, @TomHsiao1260, @mrdoob)
  • Demonstrate loading flat colors in webgl_loader_ldraw to match instruction booklet style. #23098 (@gkjohnson)
  • Upgrade lil-gui. #23130 (@georgealways)
  • Throw errors instead of strings. #23137 (@gero3)
  • Removed RoughnessMipmapper. #23143 (@mrdoob)
  • Added ImportMaps availability script. #23148 (@mrdoob)
  • Use import maps + polyfill. #23255, #23163, #23214, #23256, #23282, #23293, #23370 (@marcofugaro, @mrdoob, @sunag, @Mugen87)
  • Add 3dl asset to webgl_postprocessing_3dlut example. #23202 (@gkjohnson)
  • Simplify Reflector, Refractor and Water render targets. #23206 (@Mugen87)
  • Use PBR material in webxr_ar_lighting example again. #23171 (@Mugen87)
  • Optimize icon image. #23238 (@chuntington)
  • Use sRGB output in webgl_loader_svg example. #23280 (@gkjohnson)
  • Add Layers support to CSS renderers. #23316 (@thisGH)
  • Improve webxr_vr_haptics example. #23307 (@zz85)
  • Fixed duplicated ARKit button. 464a5f0381924cb7448f8f51cd8ffe1ee0dc243d (@mrdoob)
  • Simplified webgl_loader_obj_mtl example. d9a9066a3982f753cdc1f613507b7f7139f602b7 (@mrdoob)
  • Always use FloatType in GPGPU examples with WebGL 2. #23337 (@Mugen87)

  • BasisTextureLoader

    • Add deprecation warning. #23123 (@donmccurdy)
  • ConvexGeometry

    • Support clone(). #23177 (@Mugen87)
  • EXRLoader

    • Handle unsupported BigInt in Safari mobile. #23267 (@sciecode)
  • GlitchPass

    • Use RedFormat for height map. #23207 (@Mugen87)
  • GLTFExporter

    • Merge occlusion, roughness and metalness textures. #23229 (@mrdoob)
  • GLTFLoader

    • Fix regex for Safari detection. #23305 (@Diyou)
  • HTMLTexture

    • Don't overwrite .dispatchEvent(). #23326 (@Mugen87)
    • Introduce .dispose(). #23327 (@Mugen87)
  • LDrawLoader

    • Make normal smoothing condition more explicit. #23093 (@gkjohnson)
    • fileMap should exist when parsing. #23097 (@gero3)
    • Throw errors instead of strings #23135 (@gkjohnson)
    • Start removing stored derivative data during initial parse. #23139 (@gkjohnson)
    • Check if a face edge is a sub segment of a long edge when smoothing normals. #23077 (@gkjohnson)
    • Remove separateobjects flag. #23147 (@gkjohnson)
    • Refactor, cache pre-parsed file contents. #23157 (@gkjohnson)
    • Rename colour to color. #23168 (@gkjohnson)
    • Fix a corner case when smoothing normals. #23169 (@gkjohnson)
    • Add option to merge geometries after loading. #23173 (@yomboprime)
    • Cleanup and docs improvement. #23231, #23233 (@yomboprime, @gkjohnson)
    • Cache geometry versions of parts, reduce geometry redundancy, improve parse time. #23232 (@gkjohnson)
    • Convert to linear colors when parsing models. #23272 (@gkjohnson)
    • Fix getMainEdgeMaterial(). #23334 (@yomboprime)
  • LUT3dlLoader

    • Use RGBAFormat. #23208 (@gkjohnson)
  • MTLLoader

    • Label and convert textures and colors correctly. #23296 (@gkjohnson)
  • NodeEditor

    • Clean up and minor fixes. #23312, #23309, #23332 (@fyoudine, @sunag)
    • Node-based for native objects. #23165 (@sunag)
    • Add vertex position input. #23311 (@fyoudine)
    • Add missing position entries. #23310 (@fyoudine)
    • Add BasicMaterialEditor and PointsEditor. #23339 (@sunag)
  • NodeMaterial

    • Add missing CondNode in nodes.js. #23182 (@sunag)
    • Add all MathNode to ShaderNode alphabetically. #23215 (@sunag)
    • Fix .opacityNode with WebGPU. #23216, #23226 (@sunag)
    • Remove ColorSpaceNode.fromDecoding(). #23217 (@sunag)
    • Rename UVNode.value to UVNode.index. #23335 (@sunag)
  • PCDLoader

    • Fix RGB loading order for binary compressed files. #23286 (@LeoPapais)
  • SSAOPass

    • Make use of RedFormat and UnsignedInt248Type. #23210 (@Mugen87)
  • SVGLoader

    • Properly support multiple CSS classes. #23191 (@vojty)
    • Fix use.href in non-browser environments. #23297 (@nkrkv)
  • TextGeometry

    • Fix clone(). #23269 (@Mugen87)
  • VRButton

    • Add sessiongranted support to enable in-VR navigation. #23110 (@hybridherbst)
  • WebGPURenderer

    • Remove swapChain. #23213 (@Mugen87)

Editor

  • Clean up. #23275, c15bbe117b5a278d0642ff5a66e6eea5da782070 (@linbingquan, @mrdoob)
  • Upgrade signals.min.js #23044 (@linbingquan)
  • Compute precise AABB selection box. #23298 (@mrdoob)

Tests

  • Add isObject3D unit test. #23121 (@gero3)
  • Add three arguments test case for Matrix4.set(). #23227 (@linbingquan)
  • Fixed getTypedArray() unit test. #23258 (@takahirox)
  • Use ES modules. #23315, #23325 (@marcofugaro)

r136

2 years ago

https://github.com/mrdoob/three.js/wiki/Migration-Guide#r135--r136 https://github.com/mrdoob/three.js/milestone/49?closed=1

  • Global
    • Improved ESLint setup and clean up code. #22940 (@gero3)
    • Clean up. #22988 (@linbingquan)
    • Fix broken links. #23012, #23013, #23017, #23025, #23030, #23033, #23037 (@Mugen87, @gero3)
  • FileLoader
    • Fix incorrect error handling. #22925 (@leyiang)
    • Support environments without ReadableStream. #23032 (@gkjohnson)
  • LatheGeometry
    • Improve normal generation. #22927 (@Chrissie-AI)
  • MeshPhysicalMaterial
    • Added IBL sheen support. #23069, #23081, 820a605fdfd4967d2c2ce88af680e7f273886f2d (@elalish, @mrdoob)
  • MeshToonMaterial
    • Only sample the red channel of gradientMap. #22911 (@Mugen87)
  • PMREMGenerator
    • Use half float render targets. #22998 (@elalish)
  • Sphere
    • Fix edge case in .union(). #22981 (@Mugen87)
  • WebGLProgram
    • Add layout-qualifier to pc_fragColor. #22931 (@ligaofeng0901)
  • WebGLPrograms
    • Minor clean up for getProgramCacheKey(). #22945 (@gero3)
    • Optimize program cache key generation. #22960 (@gero3)
    • Add WebGLShaderCache. #23022 (@Mugen87, @gero3)
  • WebGLRenderer
    • Clean up. #22902 (@Mugen87)
    • Refactor usage of .copyFramebufferToTexture(). #22916, #22917, #22985, #22994 (@Mugen87, @elalish)
    • Enable usage of SRGB8_ALPHA8 again. #22952 (@Mugen87)
    • Remove RGBM7Encoding and RGBM16Encoding. #23046 (@Mugen87)
    • Remove RGBDEncoding. #23049 (@Mugen87)
    • Remove RGBEEncoding and RGBEFormat. #23060 (@Mugen87)
    • Remove .gammaFactor and GammaEncoding. #23080, #23082 (@Mugen87, @donmccurdy)
  • WebGLTextures
    • Introduce usage of gl.texStorage2D(). #22903, #22928, #22947, #22951 (@Mugen87)
  • WebXRManager
    • Fix default foveation value. #22915 (@cabanier)
    • Fixed dark renderings when WebXR is active. #22918, #22919, #22997 (@HexaField, @elalish)

Documentation

  • Clean up. #22906, #22904, #22941 (@1337816495, @GoodnessEzeh, @gero3)
  • Improved ArcballControls page. #22949 (@danielefornari)
  • Improved Creating a scene page. #22921 (@ayushmxn)
  • Improved Matrix4 page. #22969 (@webglzhang)
  • Improved Raycaster page. #22908 (@DolphinIQ)
  • Improved SkinnedMesh page. #23079 (@Mugen87)
  • Improved Texture page. #22986 (@Mugen87)
  • Make headers stand out in API reference. #22948 (@orta)
  • Add missing load() progress behaviour. #22990 (@dweremeichik)
  • Remove Polyfills page. #23036 (@Mugen87)

Manual

  • Add Korean translation for WebXR articles. #22893 (@greggman)
  • Add Chinese translation for multiple-scenes article. #22894 (@greggman)
  • Fix fullscreen mode. #22953 (@makc)
  • Fix exponential backtracking in lessons-helper.js. #23026 (@gero3)
  • Clean up. #22905 (@mjurczyk)

Examples

  • Clean up. #22910, #22942, #23001, #23002, #23029, 00906433c98bed002237636166ac4f6d19f94ca3, 5eedcdbe059f94dc15c16fa630f68dd92708885d (@Tirzono, @gero3, @Mugen87, @mrdoob)
  • Added webgpu_nodes_playground example. #22901 (@sunag)
  • Improve render order in webgl_loader_svg. #22912 (@tangobravo)
  • Added .dispose() method to Reflector and Refractor. #22932 (@LR17)
  • Improve webgl_loader_svg example. #23040 (@linbingquan)
  • Sort presets in ​webgl_materials_nodes example. #23041 (@gero3)
  • Use half float EXR textures in webgl_materials_matcap example. #23059 (@WestLangley)
  • Simplify webgl_animation_multiple example. #23066 (@Mugen87)
  • Improve webgl_instancing_raycast example. #23000 (@WestLangley)
  • Add a placeholder text to the example’s landing page. #23045, #23075 (@gero3, @WestLangley)
  • Simplified webgl_geometry_teapot example. 08b4975a2e60b48320abca88ed0408dbe48f9a35 (@mrdoob)
  • Improved webgl_loader_gltf_sheen example. 80afa23641d928704d3bb54f48a2687936e839a6, 0e53dfb2b55ebec26fa6a23185364fe251f0b124 (@mrdoob)

  • ArcballControls

    • Remove keydown event listener. #23028, 4ea1a19b081fc3a9d28077ab530c6876ec6209a6 (@Mugen87)
    • Remove more .clone() calls. #23027 (@gero3)
    • Remove .setTarget(). #23038 (@Mugen87)
  • ColladaLoader

    • Fix transparency handling. #22907 (@kovacsv)
  • EXRLoader

    • Support single channel luminance - RedFormat. #23007 (@sciecode)
    • Stop RGBE/UnsignedByteType support. #23039 (@Mugen87)
  • GLTFLoader

    • Avoid using ImageBitmap in Safari. #23086 (@mrdoob)
  • KTX2Loader

    • Don't select ETC1 for textures with alpha. #22974 (@donmccurdy)
    • Don't transcode to ETC1 in WebGL2. #22982 (@donmccurdy)
  • LDrawLoader

    • Fail gracefully if an object could not be loaded, improve file compatibility. #22957 (@gkjohnson)
    • Remove phong material use. #22973 (@gkjohnson)
    • Initialize parseScope.groupObject even when !LDRAW_ORG is not specified. #23076 (@gkjohnson)
  • NodeMaterial

    • Don't use importmap with WebGL 1. #22936 (@sunag)
    • Fix typo in MathNode.STEP. #23042 (@wmcmurray)
    • Adding fixes for WebGL 1. #23064 (@sunag)
  • NRRDLoader

    • Ensure that headerObject.vectors is an array of arrays. #22987 (@sonisourabh)
  • PLYLoader

    • Improved magic word regex. #23018 (@gero3)
  • SelectionBox

    • Honor transformation of InstancedMesh. #22962 (@chiguaboy)
  • SelectionHelper

    • Add .dispose(). #22977, #22979 (@chiguaboy, @Mugen87)
  • StandardMaterialEditor

    • Embed node values. #22954 (@sunag)
  • SVGLoader

    • Fix setting first path point after multiple moveTo commands. #22983 (@nkrkv)
  • TransformControls

    • Added .reset() method. #22972 (@vHeemstra)
    • Don't attempt to capture pointer if pointerlock is active. #23057 (@jbaicoianu)
  • VRMLLoader

    • Remove exponential backtracking in string regex. #23024 (@gero3)
    • Simplify regex to reduce exponential backtracking. #23047 (@gero3)
  • Water2

    • Remove encoding option. #22955 (@Mugen87)
  • WebGLNodeBuilder

    • Move sizeNode under positionNode. #23043 (@wmcmurray)
  • WebGPURenderer

    • Add various fixes. #23003, #23005 (@sunag)
    • Remove deprecated WGSL attribute: [[ block ]]. #23004 (@sunag)

Editor

  • Clean up. a759644abd87620e301e53b84d65b2fbb167b24a (@mrdoob)
  • Dispose DracoLoader after loading an asset. #22950 (@gero3)
  • Preview pure skeleton. #22858 (@gonnavis)
  • Add support for pic extension. 5340bf3e8b4314489c460a3e13f03927ea7d622e (@mrdoob)

Tests

  • Verify all variations of Layer.set(). #22895 (@Mugen87)
  • Add tests for WebGLExtensions. #22939 (@gero3)
  • Fix typos. #22961 (@gero3)
  • Upgrade actions/setup-node action and cache dependencies on CI. #22883 (@ddzz)
  • Added getTypedArray() unit test. #23051 (@gero3)
  • Improved code style. #23052 (@gero3)

r135

2 years ago

https://github.com/mrdoob/three.js/wiki/Migration-Guide#r134--r135 https://github.com/mrdoob/three.js/milestone/48?closed=1

  • Layers
    • Add isEnabled(). #22825 (@felixmariotto, @Mugen87)
    • Fix internal mask when using .set(). #22867 (@1337816495)
  • MathUtils
    • Revert crypto.randomUUID() usage in generateUUID(). #22805 (@larsmoa)
  • MeshPhysicalMaterial
    • Use 0 as thickness default. #22762 (@Mugen87)
    • Fix clearcoat shader computation. #22839 (@WestLangley)
  • StereoCamera
    • Avoid unnecessary call of .clone(). #22830 (@WestLangley)
  • WebGLProgram
    • Simplify and fix sheen evaluation. #22767 (@Mugen87)
  • WebGLRenderer
    • Remove __maxMipLevel. #22788 (@Mugen87)
    • Add data-engine="three.js r${REVISION}" to the canvas element. #22792 (@mrdoob)
    • Disable usage of SRGB8_ALPHA8. #22759 (@Mugen87)
    • Check if _canvas has setAttribute() before calling it. fe71b47232accbe26a5acc2e2c5bffe74219e551 (@mrdoob)
    • Remove LogLuv encoding from the shaders. #22876 (@WestLangley)
  • WebGLTexture
    • Basic support for gl.texStorage2D(). #22790, 3c2e417f704576613d8033bb1292a6b9d2e3cd9e (@Mugen87)
  • WebGLUniforms
    • Add setters for arrays of 3D textures and 2D texture arrays. #22847 (@jonaskordt)
  • WebXRManager
    • Reactor code by calling WebGLRenderer.setRenderTarget(). #22558 (@cabanier)

Documentation

  • Remove pages about internals. #22775 (@Mugen87)
  • Explain flatness of values parameter of keyframe tracks. #22766 (@jcamp0x2a)
  • Clarify Object3D.attach() limitations. #22821 (@WestLangley)
  • Improved Chinese translation. #22831 (@moshuying)
  • Fix typo in TransformControls page. #22840 (@tonybfox)

Manual

  • Merge Threejsfundamentals into three.js. #22807, 4519858cf301900773627ac1cafb2a7f41b0ace2 (@greggman, @mrdoob)

Examples

  • Clean up. #22763, #22768, #22798, #22832, #22829, #22835, #22834, #22880 (@linbingquan, @Mugen87, @moshuying, @WestLangley)
  • Rename CSM frustum class. #22752 (@Mugen87)
  • Replaced dat.gui with lil-gui. #22765 (@georgealways)
  • Use undefined instead of void or null. #22794, #22796, #22797 (@Mugen87)
  • Consistent documentation of return this. #22799 (@Mugen87)
  • Fix WebXR hand pointer examples. #22815 (@dmliao)
  • Add out of bounds check to games_fps example. #22877 (@Uueuuuuu)

  • 3DMLoader

    • Update rhino3dm and support texture mapping. #22860 (@fraguada)
  • 3MFLoader

    • Change default material color to white. #22808 (@kovacsv)
  • ArcballControls

    • Avoid some .clone() calls. #22856 (@Mugen87)
  • DragControls

    • Added .getRaycaster(). #22851, #22855, c547a74f901d1e608d546deaa3c0be20b6f7d868 (@draibolit, @Mugen87)
  • GLTFExporter

    • Add .parseAsync() #22755 (@marcofugaro)
    • Add KHR_materials_clearcoat support. #22761 (@Mugen87)
    • Add onError parameter to .parse(). #22774 (@marcofugaro)
  • GLTFLoader

    • Add .parseAsync(). #22754 (@marcofugaro)
    • Honor morph targets when using lines. #22771 (@mfernba)
  • Line2

    • Support raycasting with orthographic cameras. #22791 (@gkjohnson)
  • LineMaterial

    • Restore dashOffset. #22749 (@Mugen87)
  • LogLuvLoader

    • Added new loader. #22857, #22879 (@Mugen87)
  • LWOLoader

    • Update material setup to match LW native materials. #22776 (@onthez)
  • NodeMaterial

    • Add minimal version visual node editor. #22833, #22868 (@sunag)
    • Revision and updates. #22878 (@sunag)
  • OrbitControls

    • Add "sticky controls patch" back. #22862 (@Mugen87)
  • PLYLoader

    • Honor different attribute names. #22784 (@nh2, @Mugen87, @mrdoob)
  • SVGLoader

    • Make createShapes() retain curves. #22778 (@georgpukk)
  • USDZExporter

    • Added console warning when the material type is unsupported. 6e4f7a5fa7f1944e941019a655ae50868f2a883a (@mrdoob)
  • WebGPURenderer

    • Fix bgra constants. #22795 (@takahirox)
    • More efficient texture updates. #22869 (@Mugen87)

Editor

  • Fix envMap field. #22820 (@Mugen87)