r71
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r70--r71
(419,938 KB, gzip: 100,395 KB)
Source
- Audio
- Added
autoplay
parameter. (@matthewtung) - Added
play()
,pause()
,stop()
andsetVolume()
. (@matthewtung)
- Added
- BufferGeometry
- BufferGeometryLoader
- Fixed data parsing. (@makc)
- Cache
- Global instead of per loader. (@mrdoob)
- Color
- Added
array
andoffset
parameters totoArray()
. (@Wandalen)
- Added
- DynamicBufferAttribute
- Added. (@benaadams)
- EdgesHelper
BufferGeometry
support. (@dubejf)
- Euler
- Added
array
andoffset
parameters totoArray()
. (@Wandalen)
- Added
- Geometry
- Simplified
genter()
. (@mrdoob)
- Simplified
- EdgesHelper
- Added
thresholdAngle
parameter. (@Lowfab)
- Added
- Loader
- Added
opacity
parsing. (@yomotsu)
- Added
- Line
- Return
index
inraycast()
. (@genrich)
- Return
- Material
- Math
- Added
nextPowerOfTwo()
. (@mrdoob)
- Added
- MeshNormalMaterial
- Removed
shading
. (@mrdoob)
- Removed
- Object3D
- ObjectLoader
- PointLight
- Added
decay
. (@bhouston)
- Added
- SpotLight
- Added
decay
. (@bhouston)
- Added
- Texture
- Added
sourceFile
. (@mrdoob)
- Added
- Vector2
- Added
lerpVectors()
. (@WestLangley) - Added
subScalar()
. (@mrdoob)
- Added
- Vector3
- Added
lerpVectors()
. (@WestLangley) - Added
subScalar()
. (@vonWolfehaus)
- Added
- Vector4
- Added
lerpVectors()
. (@WestLangley) - Added
subScalar()
. (@mrdoob)
- Added
- WebGLRenderer
- Refactoring and clean up. (@mrdoob, @WestLangley, @brason)
- Added
readRenderTargetPixels()
. (@kurzemnieks) - Premultiply
clearColor
ifrenderer.premultipliedAlpha
istrue
. (@WestLangley) - Added support for
decay
in lights. (@bhouston) - Added
gammaFactor
. (@bhouston) - Simplified
gamma
code. (@bhouston) - Added
common.glsl
toShaderChunk
. (@bhouston) - Added
OES_texture_half_float
andOES_texture_half_float_linear
support. (@tsone) - Moved relevant code to new class
WebGLState
. (@mrdoob) - Added
glColorMask
support toWebGLState
. (@Lowfab) - Derivatives based
FlatShading
. (@mrdoob) - Refactored light calculation shaders. (@bhouston, @WestLangley)
Documentation
- Improvements to
Object3D
page. (@caseygrun) - Improvements to
Raycaster
page. (@caseygrun) - Improvements to
Line
page. (@caseygrun) - Improvements to
Mesh
page. (@caseygrun) - Improvements to
PointCloud
page. (@caseygrun) - Improvements to
ArrowHelper
page. (@caseygrun, @mrdoob, @WestLangley) - Improvements to
BoundingBoxHelper
page. (@caseygrun) - Added
BoxHelper
page. (@caseygrun) - Improvements to
DirectionalLightHelper
page. (@caseygrun) - Improvements to
EdgesHelper
page. (@caseygrun) - Improvements to
FaceNormalsHelper
page. (@caseygrun) - Improvements to
GridHelper
page. (@caseygrun) - Improvements to
PointLightHelper
page. (@caseygrun) - Improvements to
VertexNormalsHelper
page. (@caseygrun) - Improvements to
VertexTangentsHelper
page. (@caseygrun) - Improvements to
WireframeHelper
page. (@caseygrun) - Improvements to
DirectionalLight
page. (@erich666) - Improvements to
SpotLight
page. (@erich666) - Improvements to
Vector2
page. (@WestLangley, @Wandalen) - Improvements to
Vector3
page. (@WestLangley, @Wandalen) - Improvements to
Vector4
page. (@WestLangley, @Wandalen) - Improvements to
ColladaLoader
page. (@TatumCreative) - Improvements to
MeshLambertMaterial
page. (@koralcem) - Improvements to
Color
page. (@Wandalen) - Improvements to
Euler
page. (@Wandalen) - Improvements to
Quaternion
page. (@Wandalen) - Improvements to
SpriteMaterial
page. (@alkama) - Improvements to
CylinderGeometry
page. (@mrca, @alexan0308) - Improvements to
constants/CustomBlendingEquations
page. (@Sedushi) - Improvements to
constants/Textures
page. (@Sedushi) - Added some ASCII art in the console :) (@TatumCreative, @mrdoob)
- Improvements to
DirectionalLightHelper
page. (@gero3) - Improvements to
CameraHelper
page. (@gero3) - Improvements to
HemisphereLightHelper
page. (@gero3) - Improvements to
Matrix4
page. (@mrdoob)
Examples
- Improvements to pixelRatio handling in
EffectComposer
. (@greggman) - Improvements to
Mirror
. (@Densaugeo) - Replaced
PlaneGeometry
withPlaneBufferGeometry
inTransformControls
. (@arodic) - Improvements to
OrthographicTrackballControls
. (@msmolens) - Removed
OculusControls
andOculusRihtEffect
. (@mrdoob) - Added
ShadowMapViewer
util andwebgl_shadowmapviewer
example. (@arya-s) - Created
VR
sub-category. (@mrdoob) - Added
map_bump
andbump
support toMTLLoader
. (@tsone) - Deprecated
SceneLoader
. (@mrdoob) - Added
failCallback
toColladaLoader
. (@danschumann) - Added
ShadowMesh
class andwebgl_shadowmesh
example. (@erichlof) - Replaced rotation code in
TrackballControls
. (@daron1337) - Added
OrthographicCamera
zooming support inOrbitControls
. (@WestLangley) - Dispatch
complete
event inRaytracingRenderer
. (@chuckfairy) - Improved
OBJLoader
. (@arose) - Improved
PLYLoader
. (@arose) - Improved
webgl_decals
example. (@redsolarmoon) - Added
vr_video
example. (@mrdoob)
Editor
- Added Arkanoid example. (@mrdoob)
- Fixed
EditorControls
being off after clearing. (@mrdoob) - Added touch events to APP. (@mrdoob)
- Added
setClearColor()
to APP. (@mrdoob) - Added actions (reset position/rotation/scale) to
Object3D
panel. (@mrdoob) - Improvements to
EditorControls
. (@arodic) - Renamed
Renderer
panel toProject
. (@mrdoob) - Added basic
VR
support. (@mrdoob) - Added
decay
support. (@bhouston) - User friendly saving. (@QW0101)
- Implemented sortable in outliner. (@mrdoob)
- Published project now listen to window resize. (@mrdoob)
- Added
center
action to Geometry panel. (@mrdoob)
Exporters
- Blender
- Fixed
opacity
. (@yomotsu) - Updated bl_info author, version, and blender metadata. (@repsac)
- Fixed menu label to read "Three.js". (@repsac)
- Reimplemented the "Frame index as time" option. (@repsac)
- Animation data is an array of all actions in the scene. (@repsac)
- Reimplemented the latest skeletal animation logic that had previously been missed. (@repsac)
- When copying textures destination files will be removed first. (@repsac)
- Return values of several mush functions were not consistent and causing errors. (@repsac)
- Restored original scene logic and structure. (@repsac)
- Added simple popups for error/info/warning dialogs. (@repsac)
- Add logging handlers only once. (@rkusa)
- Normalized quaternion for skeletal animation exports. (@repsac)
- Fix for meshes visible on multiple layers. (@rkusa)
- Export Hierarchy and transformation matrices. (@rkusa)
- Improved the logic for float precision handling. (@repsac)
- Improved the JSON serialization by using the "%g" formatter. (@repsac)
- Added Preset Dropdown. (@repsac)
- Added button to save settings to .blend file. (@rkusa)
- Fixed