three.js - r95


https://github.com/mrdoob/three.js/wiki/Migration-Guide#r94--r95
https://github.com/mrdoob/three.js/milestone/8?closed=1

(545,746 KB, gzip: 137,260 KB)

Source

  • Global
  • Use un-minified three.js in fiddles. #14409 (@WestLangley)
  • Added link to the forum on CONTRIBUTING.md. #14480 (@looeee)
  • Do not validate/optimize animations by default. #14385 (@donmccurdy)
  • Added OffscreenCanvas to externs.js. 4561fa6458d13c25b4fab23d39362b83f18b5da8 (@mrdoob)
  • AnimationAction
  • Fix result of ._updateTime() for paused pingpong actions. #14509 (@Mugen87)
  • Audio
  • Fix setting of .isPlaying when stopping the audio source. #14591 (@Mugen87)
  • Frustum
  • Optimize .intersectsBox(). #14378 (@yaoyao-cn)
  • KeyframeTrack
  • Removed circular dependencies. f8965d4621517b0c6c5bf9828df15e4fe0f82732 (@mrdoob)
  • Line
  • Removed circular dependency. 9dfca126c4e974ecf495ff50164659fcfc254699 (@mrdoob)
  • Mesh
  • Fixed bugs in .raycast(). #14392 (@Mugen87)
  • Object3D
  • Avoid serialising geometry for Sprites. #14459 (@mrdoob)
  • Quaternion
  • Added .angleTo(). #14422, #14435 (@Mugen87)
  • Added .rotateTowards() and webgl_math_orientation_transform example. #14444 (@Mugen87)
  • ShaderChunk
  • Renamed lights_pars_maps to envmap_physical_pars_fragment. #14406 (@WestLangley)
  • SpriteMaterial
  • Add tonemapping and encoding support. #14428 (@WestLangley)
  • Triangle
  • Make .closestPointToPoint() faster. #14377 (@mquander)
  • Vector2
  • Added .cross(). #14567 (@yaoyao-cn)
  • WebGLGeometries
  • Remove redundant code. #13485 (@aardgoose)
  • Fixed undeclared variable. bac91d9d2a02dc1e06d28e7fcdef0667ba43518a (@mrdoob)
  • WebGLProgram
  • Added slash support in includes. #14348 (@mbredif)
  • WebGLRenderer
  • Clean up. #14431, #14474, 6ab73d8e96d84ddedec5462a932fdcd9285aa6d3, 7e392972ee5e5d1eedcf89d42f8a4f173aae51cd (@Mugen87, @mrdoob)
  • Moved material logic out of .renderBufferImmediate(). 7f8a2e922e2ab3dde06755f0d255608728019606, 76f530496a5697b1b0eb63c56f6d7b65c276fdbe (@mrdoob)
  • Use normalMatrix for front face determination. #14379 (@Korijn)
  • Removed WebGLSpriteRenderer (integrate sprite rendering into WebGLRenderer). #14411, #14432, 35eccde4c53376d0579107c8ba8c7156064d2eb0 (@Mugen87, @mrdoob)
  • Added WebGL 2.0 initial support with GLSL runtime conversion. #13717, #14546 (@takahirox)
  • Fixed processing of shader code altered via .onBeforeCompile(). #14442, 13c5850bb93e3a1011e8ea939ceaa705684d5c74 (@sunag, @mrdoob)
  • Render sprites along opaque and transparent objects. #14495 (@Mugen87)
  • Removed unnecessary string concatenations. #14568, #14588 (@oguzeroglu)
  • Improved currentGeometryProgram check. 4c300831b6222fea5d4bfbf05b83e9fb335497a6 (@mrdoob)
  • WebGLTextures
  • Avoid memory leaks when logging warnings. #14483 (@cherniavskii)
  • WebGLUniforms
  • Fix for samplers in struct uniforms. #12024 (@markusjohnsson)
  • WebVRManager
  • Fixed broken events with more than one controller. #14575 (@mrdoob)
  • WebXRManager
  • Fixed .setCompatibleXRDevice() of null. 35e240d9a6436c0de105ea76950f9e0096b603df (@mrdoob)

Documentation

  • Clean up. #14389, #14386, #14395, #14455, #14448, #14500, #14513, #14521, #14540, #14545, #14564, #14594, 6b0a67c06e81ca29aa090dc189d36a24426f121f, 40b9d174cf4d0d041bc7c03f85291a967de1196e (@paulmasson, @Mugen87, @Himenon, @mghini, @gpresland, @nikolas, @moraxy, @CarlVitasa, @mrdoob)
  • Improved Material page. #14539 (@pailhead)
  • Improved TextureLoader page. #14533 (@moraxy)
  • Updated text for linewidth limitation. #14528 (@greggman)
  • Prevent navigation if modifiers pressed. #14544 (@greggman)

Examples

  • Clean up. #14481, #14534, #14537, c21050599ecc97564502e931377000e9ef598512, d7fac3bb621992207a6753fe7da9f43f1f1d9b0c, e78b8cf2225fe419de0ffbe48de544b9cbe429f0, #14561, #14551, #14579, #14586, #14582, #14597 (@WestLangley, @mrdoob, @Mugen87, @oguzeroglu)
  • Make Water2 compatible with FOG_EXP2. #14404 (@blaze33)
  • Removed BufferSubdivisionModifier. #14397 (@Mugen87)
  • Improve scrolling in webgl_multiple_elements. #14426 (@greggman)
  • Handle rejection of .getVRDisplays() Promise in WebVR. #14425 (@SamiraAtMicrosoft)
  • Shaders: Remove unnecessary dependency on packing.glsl. #14437 (@WestLangley)
  • Added touch support to webgl_panorama_equirectangular. #14490 (@Mugen87)
  • Added webgl_raycast_sprite example. #14488 (@06wj)
  • Added ColladaExporter. #14403 (@gkjohnson)
  • Added TransformControls v2. #14170 (@arodic)
  • Added AfterimagePass and webgl_postprocessing_afterimage example. #13917 (@HypnosNova).
  • Improved WebVR examples. 40d189e8c0c188a37bb606d37ea7562c0fb8c4d7 (@mrdoob)
  • Clean up and improved performance of MarchingCubes. fcf6b61a74ee0ae2085d7133ff0907dcefa2b510 (@mrdoob)
  • Updated webvr_ballshooter example to use two controllers. e3eea3036d960ba45f37861ae0e0594f85732c72 (@mrdoob)


  • CanvasRenderer
  • Add support for BufferGeometry multi-materials. #14525 (@WestLangley)

  • ColladaLoader

  • Added material fallback. #13172, #14464 (@cnspaha, @Splizard)
  • Improved handling of duplicate node IDs. #14465 (@Splizard)
  • Added support for TGA textures. #14475 (@Mugen87)

  • DragControls

  • Keep the cursor as a pointer after dragging. #14487 (@govizlora)

  • FBXLoader

  • Added support for animated morph targets. #14396 (@looeee)
  • Added support ASCII files encoded with any type of line ending. #14502 (@sebular)
  • Added support for alternate Euler orders and post rotation. #14523 (@looeee)
  • Don't return top level double nested group. #14524 (@looeee)
  • Remove use of Uint8Array.indexOf(). #14562 (@looeee)
  • Reorganise code and create FBXTreeParser. #14519 (@looeee)
  • Create GeometryParser and AnimationParser. #14592 (@looeee)
  • Check for layered bumpmap. #14599 (@looeee)

  • GLTFLoader

  • Update KHR_lights_punctual and fix light has no color bug. #14451 (@06wj)
  • Fix lights list iterator. #14515 (@donmccurdy)
  • Ignore primitive type .extras. #14518 (@takahirox)
  • Remove deprecated texture format, internalFormat, and type. #14505, d5e98052ab29aef90268b912593340510e040fbe (@robertlong, @mrdoob)
  • No mesh clone if it is referenced only once. #14111 (@takahirox)

  • GLTFExporter

  • Skip single morph animation. #14218 (@takahirox)

  • HDRCubeTextureLoader

  • Fix usage of LoadingManager. #14553 (@sean041)

  • MapControls

  • Added ctrl-drag support. #14410 (@WestLangley)

  • NodeMaterial

  • Upgrade to R7. #14333, #14427 (@sunag)

  • OrbitControls

  • Support Ctrl-drag as right-drag alternative. #13972 (@rkirsling)

  • PLYExporter

  • Add onDone callback. #14573 (@gkjohnson)

  • STLLoader

  • Improve file classification as ASCII or binary. #14522 (@erasta)
  • Clean up. 009090e34d501a1c497f43f9c74c21124ee3518c (@mrdoob)

  • SVGLoader

  • Add transform node parse. #14418 (@yomboprime)

  • TGALoader:

  • Added .setPath(). #14473 (@Mugen87)

  • WebVR

  • Support exclusive and immersive WebXR sessions. #14498 (@mrdoob)
  • XR to VR. Handle white scenes. 266b13932cb61c210e64a932d03e406a80a25eea (@mrdoob)

Editor

  • Fixed animations not working in WebXR. b7d826fb4d5388c0916c2b6269811c9c6d53d3ef (@mrdoob)
  • Remove unnecessary instantiations. #14400 (@WestLangley)
  • Fixes examples scale. #14460 (@mrdoob)
  • Added File / Export DAE. #14595 (@mrdoob)
  • Updated Arkanoid. 9e9a025ec706a9fa5de3663bc08b17358fcc29bf (@mrdoob)
  • Only show toolbar when a object is selected. 3aa94656839277b0a8977319c50575becab39912 (@mrdoob)
  • Fixed new toolbar UI. d58e983b3d742a0be4a918bfb58a6c7f4b8328b9 (@mrdoob)

Utils

  • Create Node.js fbx2three converter. #13013 (@donmccurdy)

Details

date
July 31, 2018, 4:33 p.m.
name
r95
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