Releases: mrdoob/three.js
r80
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r79--r80
(478,468 KB, gzip: 124,020 KB)
Thanks to @Rich-Harris, the library now uses ES6 Modules! 🎉 #9310
Source
- Animation/PropertyBinding
- Support for Japanese characters. #9330 #9362 (@takahirox)
- BufferGeometry
- ExtrudeGeometry
- Changed the bevel so that it is elliptical instead of sinusoidal. #9409 (@flagstone78)
- Fog
- Added
toJSON()
. #9369 (@GGAlanSmithee)
- Added
- FogExp2
- Added
toJSON()
. #9369 (@GGAlanSmithee)
- Added
- ImageLoader
- Added
setWithCredentials()
. #9391 (@karimbeyrouti)
- Added
- Light
- LightShadow
- Material
- MaterialLoader
- ObjectLoader
- Added
LineSegments
support. #9334 (@Benjamin-Dobell) - Added
Object3D.quaternion
support. #9335 (@Benjamin-Dobell) - Added
Fog
andFogExp2
support. #9369 (@GGAlanSmithee) - Added
light.shadow
support. #9416 (@satori99) - Report image load errors to
LoadingManager
. #9474 (@satori99)
- Added
- TextureLoader
- Added
setWithCredentials()
. #9391 (@karimbeyrouti)
- Added
- WebGLRenderer
- Fixed shader crash when using
Points
withreceiveShadow
. #9355 (@kschzt) - Add support for combined Depth + Stencil Texture. #9368 (@AtiX)
- Recompile shaders when
Scene.fog
changes. #9384 (@mrdoob) - Fixed
readRenderTargetPixels()
breakage in Chrome 52+. (#9516 (@jwhitfieldseed) - Fixed shader crash when using
CubeUVReflectionMapping
withMeshPhongMaterial
. #9550 (@mrdoob)
- Fixed shader crash when using
- WebGLRenderer/WebGLState
- XHRLoader
Documentation
- Improved
Ray
page. #9412 (@lejeunerenard) - Improved
BufferGeometry
page. #9413 (@lejeunerenard) - Improved
Color
page. #9413 (@lejeunerenard) - Improved
Frustum
page. #9413 (@lejeunerenard) - Improved
Line3
page. #9413 (@lejeunerenard) - Improved
Matrix4
page. #9413 (@lejeunerenard) - Improved
Plane
page. #9413 (@lejeunerenard) - Improved
Quaternion
page. #9413 (@lejeunerenard) - Improved
Sphere
page. #9413 (@lejeunerenard) - Improved
Vector2
page. #9413 (@lejeunerenard) - Improved
Vector3
page. #9413 (@lejeunerenard) - Improved
Curve
page. #9413 (@lejeunerenard) - Improved
Material
page. #9535 #9534 (@NickPowers43) - Improved
ConeGeometry
page. #9531 (@nicky-lenaers) - Improved
Points
page. (@mrdoob) - Improved
PointsMaterial
page. (@mrdoob)
Examples
- MTLLoader: DRYer texture creation for different map types. #9336 (@dhritzkiv)
- Added Unreal Engine inspired BloomPass. #9351 (@spidersharma03)
- Added OutlinePass. #9407 (@spidersharma03)
- STLLoader: Improved performance when loading large ASCII STL files. #9449 (@Tatx)
- Fixed grammar in Cloth.js. #9453 (@paulmasson)
- Added
setEyeSeparation()
toStereoEffect
. #9432 (@mkeblx) - Added new
Ammo.js
example. #9493 (@yomboprime) - OBJLoader: Change
Line
withLineSegments
. #9533 (@fernandojsg) - VideController: Added
getGamepad()
. (@mrdoob) - Mousewheel clean up across all controls and examples. #9526 (@KentJames, @mrdoob)
- MMDLoader: Outline rendering of MMD #9472 (@takahirox)
Editor
- Fixed fog. #9227 (@mrdoob)
- Added background settings. (@mrdoob)
- Fixed texture load issues. #9487 (@tschw)
Exporters
- Blender Exporter
- Fixed
camera.fov
export. #9482 (@charlesfleche)
- Fixed
- Maya Exporter
- Support for "Export All" and "Export Selected". #9431 (@ascloutier)
- Changed default extension to .json. #9431 (@ascloutier)
- Improved output. #9431 #9485 (@ascloutier)
- FBX Converter
- Fixed
TriangulateInPlace
to work with latest FBX Python SDK 2015.1. #9379 (@asyncanup)
- Fixed
r79
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r78--r79
(510,888 KB, gzip: 120,561 KB)
Source
- BufferGeometry
- Color
- GridHelper
- ImageLoader
- InterleavedBufferAttribute
- Light
- Path
- TextureLoader
- Vector2
- Added
distanceToManhattan()
. #9206 (@WestLangley)
- Added
- Vector3
- Added
distanceToManhattan()
. #9206 (@WestLangley)
- Added
- WebGLRenderer
- Sort objects by program. #9164 (@brianchirls)
- Fixed shadows when rendering
BufferGeometry
withmorphAttributes
. #9184 (@Astrak) - Added clear coat energy conservation to
MeshPhysicalMaterial
. #9238 (@WestLangley) - Handle
Sprite
materialvisible
. #9257 (@mrdoob) - Simplified
cube
andequirect
shaders. #9235 (@mrdoob) - Clamp
WebGLShadowMap
'smapSize
tomaxTextureSize
. #9289 (@mrdoob)
Documentation
- Added search query to docs system. #9157 (@spite)
- Improved
Geometry
page. #9144 (@juniorrojas) - Improved
Vector3
page. #9183 #9268 (@tqn, @lejeunerenard) - Improved
BufferGeometry
page. #9236 (@mrdoob) - Implemented nicer workaround for iOS iframe resizing. #9196 #9280 #9297 (@paulmasson)
- Improved
Line3
page. #9274 (@iefreer) - Improved
Vector4
page. #9274 (@iefreer) - Improved
Material
page. #9322 (@Wilt) - Improved
Raycaster
page. #9329 (@mkeblx)
Examples
- Added search query to examples system. #9157 (@spite)
- Fixed
webgl_gpgpu_water
for retina displays. #9138 (@spite) - Added
webgl_physics_terrain
,webgl_physics_rope
,webgl_physics_cloth
andwebgl_physics_volume
. #9153 (@yomboprime) - Added renderToScreen option to MSAA unbiased example. #9155 (@bhouston)
- Simplified
CombineCamera
. #9151 (@aardgoose) - Added
clearColor
andclearAlpha
parameters toClearPass
. #9154 (@bhouston) - Removed vive controller ngons, added textures. #9141 (@davidlyons)
- Fixed skin+morph and timeScale in
SEA3DLoader
. #9156 (@sunag) - Added
SimplifyModifier
andwebgl_modifier_simplification
. #9159 (@zz85) - Improved
webvr_rollercoaster
example. #9165 (@tentone, @makc) - Added
webgl_postprocessing_backgrounds
. #9158 (@bhouston) - Fixed
StandardNode
. (@sunag) - Fixed
SEA3DLoader
material blending. #9181 (@sunag) - Updated signature of
VREffect.render()
to matchWebGLRenderer.render()
. #9173 (@wizgrav) - Fixed
ImprovedNoise
. https://twitter.com/3dflashlo/status/745255516033662976 (@mrdoob) - Added
BVHLoader
. #9188 (@herzig) - Preserve part names in
AMFLoader
. #9215 (@enric-sinh) - Removed UV generation from
ConvexGeometry
. #9220 (@WestLangley) - Added
Uint32Array
support toGLTFLoader
. #9205 (@mrdoob) - Fixed
MTLLoader
'signoreZeroRGBs
. #9207 (@kilida) - Added
webgl_buffergeometry_points_interleaved
example. #9190 (@Dvad) - Use flat vertex normals in
ConvexGeometry
. #9221 (@WestLangley) - Improved
webgl_geometry_convex
example. #9223 (@WestLangley) - Added
webkit-playsinline
to video examples. (@mrdoob) - Added view-source links back. #9225 (@verteAzur)
- Added basic material/textures support to
GLTFLoader
. (@mrdoob) - Use
VRDisplays
'srequestAnimationFrame
if VR headset connected inVREffect
. #9252 (@mkeblx) - Added
getVRDisplay()
andgetVRDisplays
toVRControls
andVREffect
. #9133 #9252 (@mrdoob) - Remove mouseout handlers from
OrbitControls
. #8832 (@unconed) - Implemented nicer workaround for iOS iframe resizing. #9196 (@mrdoob)
- Framerate independent animating for
WebVR
examples. #9292 (@mkeblx) - Support
WebVR
's layer bounds inVREffect
. #9290 (@brianchirls) - Added
map_Ks
support toMTLLoader
. #9308 (@daveo1001) - Added texture parameters support to
MTLLoader
. #9311 (@JanHammerschmidt) - Added
cancelAnimationFrame()
,submitFrame()
andRenderTarget
support toVREffect
#9198 (@wizgrav)
Editor
- Added
WebVR
support. (@mrdoob) - Added
gamma
options. #9231 (@thmasn) - Object rotation in degrees. (@mrdoob)
- Added VR mode (WIP). (@mrdoob)
Exporters
- Blender
- Export bone scale. #9272 (@verteAzur)
- Export FOV-angle instead of focal length. #9328 (@BenCidPerez)
r78
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r77--r78
(510,802 KB, gzip: 120,508 KB)
Source
- Global
- Animation/PropertyBinding
- Fixed weak property test. #9064 (@anthonybriand)
- Audio
- Set
isPlaying
tofalse
instop()
. #9072 (@smatthews1999)
- Set
- BoxHelper
- Pass color in constructor. #8971 (@Brunni132)
- BufferGeometry
- CameraHelper
- Support cameras with no
updateProjectionMatrix()
. #9125 (@jeromeetienne)
- Support cameras with no
- ImageLoader
- Use
XHRLoader
internally soonProgress
works. (@mrdoob)
- Use
- Loader
- Material
- MaterialLoader
- Fixed weak
reflectivity
check. #8995 (@sandromartis) - Fixed weak
roughness
andmetalness
check. (@mrdoob)
- Fixed weak
- MeshPhysicalMaterial
- OrthographicCamera
- PolyhedronGeometry
- Reverted
materialIndex
per face. #9112 (@WestLangley)
- Reverted
- Raycaster
- Correct ray origin in
setFromCamera()
when usingOrthographicCamera
. #9098 (@WestLangley)
- Correct ray origin in
- Scene
- Added
background
. (@mrdoob)
- Added
- Skeleton
- Fixed bug in
pose()
. #8976 (@takahirox)
- Fixed bug in
- SkinnedMesh
- Fixed
useVertexTexture
reference inclone()
. #9082 (@takahirox)
- Fixed
- Vector3
- WebGLRenderer
- Moved textures code to
WebGLTextures
. (@mrdoob) - Fixed empty texture handling. (@mrdoob)
- Modularised normals code to
normal_flip.glsl
. (@mrdoob) WebGLState
null textures are nowgl.RGBA
. #9107 (@dphil)- Added support for custom defines in
RawShaderMaterial
. #9120 (@WestLangley) - Added support for
scene.background
. - Clear
opaque
andtransparent
arrays indispose()
. #8987 (@olivierchatry)
- Moved textures code to
Documentation
- Improved
ConeGeometry
page. #9055 (@mkeblx) - Improved
Object3D
page. #9030 #9090 (@simonThiele, @aardgoose) - Improved
OBJLoader
page. #9128 (@HetongWang) - Improved
Bone
,LOD
,LensFlare
,Line
,LineSegments
,Mesh
,Points
,Skeleton
,SkinnedMesh
andSprite
pages. #9030 (@aardgoose)
Examples
- Moved
webgl_buffergeometry_instancing_billboards
CPU code to the GPU. #8965 (@BrianCraig) - Added
GPUComputationRenderer
and new GPGPU demos. #9043 (@yomboprime) - Removed (no longer needed) uniform types from all examples. (@mrdoob)
- Removed
MaskPass
dependency inEffectComposer
. #9042 (@mrdoob) - Added
webgl_panorama_cube
example. (@mrdoob) - Removed unneeded method
resetPose()
fromMMDHelper
. #9085 (@takahirox) - Started new
GLTFLoader
(glTF-Embedded only so far). (@mrdoob) - Refactored
PLYLoader
. (@mrdoob) - Fixed
touchend
bug inTransformControls
. (@mrdoob) - Support texture coordinates in
PLYLoader
#9121 (@makc) - Workaround for
SkyShader
in Galaxy S6. #8614 (@brianchirls) - Added
THREE.ViveController
. Used inwebvr_vive
. (@mrdoob) - Added
clearColor
/clearAlpha
toManualMSAARenderPass
. #9124 (@bhouston) - Implemented
Exit VR
inWebVR.js
. #8565 (@mrdoob) - Replaced custom skyboxes from examples with
scene.background
. (@mrdoob)
Editor
r77
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r76--r77
(507,498 KB, gzip: 119,482 KB)
Source
- Global
- AudioAnalyser
- Renamed
getData()
togetFrequencyData()
. (@mrdoob)
- Renamed
- AnimationMixer
- ArrowHelper
- Ported to
BufferGeometry
. (@mrdoob)
- Ported to
- BoxBufferGeometry
- Color
- ConeBufferGeometry
- Added. #8818 (@abelnation)
- CylinderBufferGeometry
- DirectionalLightHelper
- Ported to
BufferGeometry
. (@mrdoob)
- Ported to
- FontLoader
- GridHelper
- Ported to
BufferGeometry
. (@mrdoob)
- Ported to
- Matrix3
- Speed up
getInverse()
. #8938 (@Corey-Maler)
- Speed up
- Matrix4
- Speed up
getInverse()
. #8938 (@Corey-Maler)
- Speed up
- Object3D
- Removed unused
rotationAutoUpdate
. #8935 (@aardgoose)
- Removed unused
- Quaternion
- Added
premultiply()
. #8797 (@WestLangley)
- Added
- ShadowMaterial
- Promoted to core. (@mrdoob)
- Sprite
- Removed internal geometry. (@mrdoob)
- WebGLRenderer
- Allow zero values for x, y in
readRenderTargetPixels()
. #8734 (@Mugen87) - Improved precision of RGBA fixpoint packing. #8745 (@tschw)
- No longer trear
WebGLRenderTarget
asTexture
. #8658 #8787 (@vanruesc) - Fixed "no texture bound to the unit 1" warning. (@mrdoob)
- Moved clipping code to its own
WebGLClipping
class. #8853 (@tschw) - Fixed
WebGLShadowMap
breaking if passed light has no shadow. (@mrdoob) - Enhanced
WebGLState
masking API. #8852 (@Mugen87)
- Allow zero values for x, y in
Documentation
- Improved
Geometry
page. #8740 (@aardgoose) - Improved
WebGLRenderer
page. #8742 #8988 (@yjcxy12, @aardgoose) - Improved
Clock
andRaycaster
pages. #8744 (@aardgoose) - Improved
MeshPhongMaterial
page. #8764 (@weiserhei) - Improved
JSONLoader
page. #8761 (@Mugen87) - Improved
Object3D
page. #8769 #8932 (@Mugen87, @aardgoose) - Improved
CanvasRenderer
page. #8772 (@Mugen87) - Improved
Math
page. #8927 (@aardgoose) - Improved
GridHelper
page. #8946 (@weiserhei) - Clean up. #8994 (@aardgoose)
Examples
- Added alpha support to
SoftwareRenderer
. #8678 #8686 (@ecivic) - Added multi-material and geometry group support in
OBJLoader
. #8689 #8691 (@jonnenauha) - Fixed
OrbitControls
'getPolarAngle()
andgetAzimuthalAngle()
. #8702 (@mlknz) - Fixed
VREffect
'setSize()
. #8706 (@scottgarner) - Improved
VREffect
fullscreen handling. #8748 #8788 #8796 (@brianchirls, @cvan) - Simplified
webgl_interactive_draggablecubes
. #8758 (@NicolasRannou) - Support
MultiplyBlending
inCanvasRenderer
. #8777 (@makc) - Fixed
webgl_gpgpu_birds
example. #8836 #8841 (@tschw) - Updated
NodeMaterial
to r5. #8886 (@sunag) - Updated
SEAD3DLoader
to 18000. #8892 #8920 #8936 #8941 #8963 #8969 (@sunag) - Fixed
CTMLoader
worker support inloadParts()
. #8900 (@nidin) - Removed
CSS3DStereoRenderer
. (@mrdoob) - Added unbiased mode to
ManualMSAARenderPass
. #8930 (@bhouston) - Improved
ColladaLoader2
. #8945 (@glumb) - Moved
webgl_buffergeometry_instancing_billboards
animation code to the shader. #8965 (@BrianCraig) - Added pingponging to
webgl_materials_cubemap_dynamic2
example. (@mrdoob) - Improved to
OBJLoader
material handling. #9013 (@jonnenauha)
Editor
- Updated CodeMirror to 5.14.2. (@mrdoob)
- Primitives are now
BufferGeometry
based. (@mrdoob) - Script editor no longer compiles on load. (@mrdoob)
- Added
new/copy/paste
buttons toMaterial
. (@ThomasPahler) - Improved Outliner. (@mrdoob)
- Updated particles example. (@mrdoob)
- Added keyboard commands for changing transform mode. #8992 (@GGAlanSmithee)
- Fixed VR app publishing. #8997 (@Mugen87)
Exporters
- Blender
- Fixed issue when exporting mesh materials with
Face Materials
checkbox checked but there are no face materials to export. #8782 (@carlosanunes) - Fix rest export of individual skinned meshes. #8781 (@daniel-nth)
- Fixed issue when exporting mesh materials with
r76
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r75--r76
(507,856 KB, gzip: 118,642 KB)
Source
- AudioContext
- Added. (@mrdoob)
- AudioLoader
- Added. #8370 (@EvilPeanut)
- Box3
- Reverted to more accurate
setFromObject()
. #8433 (@WestLangley) - Avoid breakage when transforming an empty box. #8627 (@bhouston)
- Reverted to more accurate
- BoxHelper
- BufferAttribute
- Support for all typed arrays. #8398 #8618 (@huningxin, @rchadwic)
- BufferGeometry
- Copy material index of groups in
copy()
. #8531 (@dimarudol) - Fixed bad emptying code in
computeBoundingBox()
. #8674 (@mrdoob)
- Copy material index of groups in
- Clock
- CylinderBufferGeometry
- LightShadow, DirectionalShadow, SpotLightShadow
- Added. (@mrdoob)
- Math
- Matrix4
- Added
premultiply()
. #8504 (@WestLangley)
- Added
- MeshDepthMaterial
- Added
displacementMap
support. #8586 (@WestLangley) - Added
alphaTest
support. #8629 (@WestLangley)
- Added
- MeshPhysicalMaterial
- Added back. #8529 #8650 (@WestLangley, @bhouston)
- Object3D
- ObjectLoader
- PerspectiveCamera
- SpotLightHelper
- Nicer looking. (@mrdoob)
- Sprite
- Fixed
raycast()
. #8424 (@WestLangley)
- Fixed
- Triangle
- Uniform
- Removed
type
. (@mrdoob)
- Removed
- Vector2
- Vector3
- VideoTexture
- Use
HAVE_CURRENT_DATA
. #8506 (@JustinHoldstock)
- Use
- WebGLRenderer
- Fixed
WebGLShadowMap
not rendering in the first frame. (@mrdoob) - Refactored
LensFlarePlugin
. #8394 #8396 (@Mugen87) ShadowMap
automatically adjust toSpotLight
cone. (@mrdoob)- GLSL clean up and portability improvements. #8464 (@tschw)
- Use
MAX_VERTEX_ATTRIBS
inWebGLState
. #8486 (@spite) - PMREM bug fixes. #8503 (@bhouston)
- Unified all packing functions in
packing.glsl
. #8547 #8573 #8600 #8607 (@bhouston, @WestLangley) - Added Clipping Planes support. #8465 (@tschw)
- Added
WEBGL_depth_texture
support. #8577 (@mattdesl) - Refactored uniforms handling. Automatically figure out
type
. #8585 #8606 #8660 (@tschw) - Fixed
SpritePlugin
not supportingRenderTarget
textures. #8619 (@dimarudol) - Unified
rand()
functions incommon.glsl
. #8603 (@bhouston)
- Fixed
Documentation
- Improved
WebGLRenderer
page. #8377 (@BenJenkinson) - Improved
Sprite
page. #8171 (@Coder2012) - Improved
LensFlare
page. #8411 (@that-ben) - Improved
AmbientLight
page. #8526 (@Mugen87) - Improved
DirectionalLight
page. #8526 (@Mugen87) - Improved
DirectionalLightShadow
page. #8526 (@Mugen87) - Improved
HemisphereLight
page. #8526 (@Mugen87) - Improved
Light
page. #8526 (@Mugen87) - Improved
LightShadow
page. #8526 (@Mugen87) - Improved
PointLight
page. #8526 (@Mugen87) - Improved
SpotLight
page. #8526 (@Mugen87) - Improved
SpotLightShadow
page. #8526 (@Mugen87) - Improved
PerspectiveCamera
page. #8495 (@tschw) - Improved
ImageLoader
page. #8542 (@aardgoose) - Improved
TextureLoader
page. #8542 (@aardgoose) - Improved
PlaneGeometry
page. #8548 (@ezekeal) - Improved
ExtrudeGeometry
page. #8537 (@omgitsraven) - Improved
Frustum
page. #8557 (@aardgoose) - Improved
Shape
page. #8572 (@panlina) - Improved
Box2
page. #8575 (@panlina) - Improved
Box3
page. #8575 (@aardgoose) - Removed
GeometryUtils
page. #8583 (@aardgoose) - Improved
Geometry
page. #8584 (@aardgoose) - Removed
Gyroscope
page. #8655 (@aardgoose) - Improved
LOD
page. #8628 (@aardgoose)
Examples
- Improved examples page. #8392 (@spite)
- Removed
CardboardEffect
. #8400 (@mrdoob) - Clean up. #8401 #8413 #8450 #8415 #8467 #8475 #8488 #8541 #8546 #8589 #8604 #8638 (@Mugen87, @WestLangley, @bhouston)
- Added
resetPose()
toVRControls
. (@mrdoob) - Improved
webvr_cubes
. (@mrdoob) - Replace
JSONLoader
withObjectLoader
inBlendCharacter
. #8410 (@insominx) - Ported
OBJExporter
to useBufferGeometry
internally. #8427 (@Mugen87) - Added support for standing space coordinates to
VRControls
. #8442 (@toji) Line
support inOBJExporter
. #8444 (@Mugen87)- Improved
AnaglyphEffect
. #8456 #8476 (@tschw) - Improved
MMDLoader
. #8473 #8517 #8518 #8587 #8588 (@takahirox) OBJLoader
performance improvements. #8443 (@jonnenauha)- Added
webgl_vive
example. (@mrdoob) - Added
SpotLight
examples. #8485 (@MasterJames) - Improved resolution handling in
VREffect
. #8499 (@toji) - Correct
scale
handling inVREffect
. #8515 (@tschw) - Robustified
VREffect
enter/exit VR handling. #8613 (@mrdoob, @cvan) - Changed
TGALoader
so it returnsTexture
instead ofDataTexture
. #8523 (@takahirox) - Added base
Pass
class toEffectComposer
. #8534 #8544 (@Mugen87) - Added
webgl_materials_channels
example. #8549 #8560 #8580 (@bhouston, @WestLangley) - Improved
TransformControls
scale behaviour. #8582 (@elisee) - Updated
stats.js
tor16
. (@mrdoob) - Added alpha offset support to
DeviceOrientationControls
. #8538 (@serenayl) - Set
Face3
'smaterialIndex
inColladaLoader
. #8598 (@poof86) - Proper default texture wrapping in
ColladaLoader2
. #8608 (@poof86) - Fixed
ColladaLoader
failCallback()
handling. #8622 (@vitorabner) - Support zooming while rotating in
OrbitControls
. #8634 (@mcwillso) - Fixed
SceneLoader
. #8653 (@mannynotfound) - Added jump feature in
misc_fps
example. #8654 (@hujiulong) - Fixed
UCSCharacter
checkLoadComplete
handling. #8662 (@qinwenshi) - Added
BufferGeometry
basedSubdivisionModifier
. #8165 (@centerionware)
Editor
- Fixed
castShadow
being added to objects withundefined
castShadow
. (@mrdoob)
Exporters
- Blender
- Added smooth groups support. #8391 (@s9k)
- Improvements to skinned mesh export. #8412 #8647 (@phfatmonkey)
r75
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r74--r75
(496,830 KB, gzip: 115,563 KB)
Source
- BoxBufferGeometry
- Box3
- Handle empty children in
setFromObject()
. #8328 (@WestLangley)
- Handle empty children in
- CylinderBufferGeometry
- LatheBufferGeometry
- Material
- Matrix3
- RingBufferGeometry
- Spherical
- TorusBufferGeometry
- TorusKnotBufferGeometry
- Vector3
setFromMatrixColumn( index, m )
tosetFromMatrixColumn( m, index )
. (@mrdoob)
- WebGLRenderTarget
- WebGLRenderer
- Improved penumbra model for spotlight. #8141 (@WestLangley)
- Support indirect specular occlusion with
MeshStandardMaterial
. #8152 (@WestLangley) - Textures encoding/decoding in Linear,sRGB,RGBE,RGBM, etc #8117 #8217 #8227 (@bhouston)
- Output encoding. #8232 (@bhouston)
- Support
Material.premultipliedAlpha
. #8245 #8276 (@bhouston, @mrdoob) - Added ToneMapping support. #8250 (@bhouston)
- Fixed 0 maxInstancedCount. #8274 (@jfranc)
- Cleaned up uniforms handling. (@mrdoob)
- Added
getShaderPrecisionFormat()
polyfill. #8290 (@takahirox) - Added
physicallyCorrectLight
mode. #8260 #8347 (@bhouston)
- WebGLState
- WebGLShadowMap
- State changes optimisations. (@mrdoob)
Documentation
- Enhanced material pages. #8138 #8145 (@Mugen87)
- Changed exponent to penumbra in SpotLight. #8151 (@davidlyons)
- Documentation for BufferGeometry entities. #8225 (@Mugen87)
- Expanded documentation for api/object/LineSegments. #8285 (@JonLim)
Examples
Line
support inOBJExporter
. #8135 (@tpmccauley)- Added
ManualMSAARenderPass
. #8129 #8159 #8178 (@bhouston) - UV Support on
SubdivisionModifier
. #7907 (@centerionware) - Removed deprecated code. #8174 #8182 #8190 #8273 (@Mugen87, @razh, @jfranc)
- Added
TAARenderPass
. #8178 (@bhouston) - Improved example viewer. #8184 (@Mugen87)
- Improved
VRMLLoader
. #8188 (@makc) - Improved
webgl_materials_displacementmap
example. #8189 #8201 (@bhouston, @WestLangley) - Fixed
ShadowMaterial
. #8202 (@WestLangley) - Improved
ColladaLoader2
. #8197 (@kampfgnu) BufferGeometry
support inSTLBinaryExporter
. #8207 (@kintel)- Binary parser and triangle strip support in
VTKLoader
. #8208 #8209 (@stity) - Added HDR EnvMap example with high quality, flexible PMREM Generator. #8237 #8252 #8256 #8284 #8336 #8363 (@spidersharma03, @bhouston)
- Fixed
TrackballControls
event breakage. #8253 (@tschw) - Added webgl_panorama_dualfisheye (Ricoh Theta S) example. (@mrdoob)
- Updated
VRControls
andVREffect
to support WebVR v1. #8221 (@toji) - Added WebVR RollerCoaster example. (@mrdoob)
- Improved
OBJLoader
. #8301 (@andreykaipov) - Added VTP support in
VTKLoader
. #8199 (@dvenkatsagar) - Upgrade glTF Loader to v1.0. #8316 (@tparisi)
- Improved
OrbitControls
. #8343 (@WestLangley) - Finer grain timing in many examples. #8341 (@bhouston)
- Added
WebVR.js
utility. (@mrdoob) - Improved WebVR examples. (@mrdoob)
- Add PMREM/CubeUV envMaps to materials_standard example. #8360 (@bhouston)
- Added
NRRDLoader
. #8364 (@stity) - Fixed bug in
EffectComposer
reset method. #8369 (@Mugen87)
Exporters
r74
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r73--r74
(476,935 KB, gzip: 110,774 KB)
Source
- Global
- AmbientLight
- Animation
- ArrowHelper
- Audio
- Refactored. #7562 #7592 (@vincent-courtalon)
- Box2
- Renamed
empty()
toisEmpty()
. (@mrdoob)
- Renamed
- Box3
- BufferGeometry
- Added
toNonIndexed()
. (@mrdoob)
- Added
- CatmullRomCurve3
- Channels
- Renamed to
Layers
. (@mrdoob)
- Renamed to
- Color
- Added
setScalar()
. (@mrdoob)
- Added
- FontLoader
- Added. (@mrdoob)
- FontUtils
- Refactored into
Font
. (@mrdoob)
- Refactored into
- Geometry
- Compute area-weighted normals by default. #7848 (@WestLangley)
- ImageLoader
- Added
setPath()
. (@mrdoob)
- Added
- JSONLoader
- LatheGeometry
- Loader
- LoadingManager
- Material
- Mesh
- Added
drawMode
property. #7515 (@benaadams)
- Added
- MeshLambertMaterial
- Added support for
lightMap
,aoMap
andemissiveMap
. #7821 (@WestLangley) - Added
emissiveIntensity
. #7827 #7918 (@WestLangley)
- Added support for
- MeshPhongMaterial
- Removed
metal
property. (@mrdoob) - Added
emissiveIntensity
. #7827 #7918 (@WestLangley)
- Removed
- MeshStandardMaterial
- MultiMaterial
- ObjectLoader
- Plane
- Ray
- Scene
- ShaderLib
- Cleaned up lambert code. #7843 (@WestLangley)
- ShaderMaterial
- Added
extensions
object. #7428 (@liammagee)
- Added
- SkinnedMesh
- Support weight normalization for
BufferGeometry
. #7679 (@WestLangley)
- Support weight normalization for
- Sphere
- SpotLight
- Replaced
exponent
withpenumbra
. #5080 (@sgrif, @WestLangley, @mrdoob)
- Replaced
- StereoCamera
- TextGeometry
- Moved back to core. (@mrdoob)
- TextureLoader
- Added
setPath()
. (@mrdoob)
- Added
- Vector2
- Added
setScalar()
. (@mrdoob) - Added
angle()
. #7963 (@WestLangley)
- Added
- Vector3
- Added
setScalar()
. (@mrdoob)
- Added
- Vector4
- Added
setScalar()
. (@mrdoob)
- Added
- WebGLGeometries
- WebGLProgram
- Unroll internal shaders loops. (@mrdoob)
- WebGLRenderer
Sprite
frustum culling. #7371 (@mrdoob)- Fixed size attenuation calculation for points. #7436 (@omgitsraven)
- Refactored lights glsl code. #7324 #7447 #7476 #7421 #7518 #7523 #7556 #7625 (@bhouston, @tschw, @WestLangley. @sirxemic, @mrdoob)
- Update materials when light setup changes. #7484 (@mrdoob, @tschw)
- Fixed
InstancedBufferGeometry
. #7531 (@BAntDit) - Added dynamic uniforms support. #7048 (@arose)
- Improved shadows. (@mrdoob, @WestLangley)
- Support for instanced
Line
andPoints
. #7555 (@PWhiddy) - Support for shadows on viewports. #3532 (@mrdoob)
- Fixed RenderBuffer disposal. #7675 (@MiiBond)
- Remove wireframe
BufferGeometry
from properties. #7700 (@leitzler) - Made
properties
public. #7483 (@mrdoob) - Moved scissor/viewport code to
WebGLState
. #7732 (@mrdoob) setPixelRatio()
no longer needs to be called beforesetSize()
. (@mrdoob)- No longer overwrites
texture.image
when converting to POT. (@mrdoob) - Added ETC1 compressed texture support. #7911 (@chpatrick)
- Fixed statistics calculation for instanced geometry. #7987 (@BAntDit)
- Support
Sprite
'srenderOrder
. #8004 (@endel) - Improved shadow maps rendering. (@mrdoob)
- Workaround for Nexus 5/Adreno not supporting vec3 derivatives. (@mrdoob)
- WebGLRenderTarget
- WebGLShadowMap
- Added
Layers
support. (@mrdoob)
- Added
- WebGLState
- XHRLoader
Documentation
- Improved
SpriteCanvasMaterial
page. #7358 (@magnitudoOrg) - Improved
MeshPhongMaterial
page. #7496 (@pathogen-) - Improved
Matrix4
page. #7566 (@BSVino) - Improved
WebGLRenderer
page. #7682 #7938 (@delvarworld, @paulmasson) - Improved
Geometry
page. #7719 (@TatumCreative) - Improved
SpotLight
page. #8049 #8114 (@RunninglVlan, @Mugen87) - Improved
DirectionalLight
page. #8114 (@Mugen87)
Examples
- Added
BufferGeometry
selective drawing example. #7357 (@callumprentice) - Added Earcut example. #7370 (@felixpalmer)
- Added material variations examples. #7392 #7396 (@bhouston)
- Improvements to
TrackballControls
. #7406 #7409 #7422 #7492 (@shshaw, @tschw) - Added 3MF Loader. #7425 (@technohippy)
- Improvements to
OrbitControls
. #7434 #7540 #7544 #7584 #7601 #7692 (@mikaelgramont, @WestLangley, @satori99) - Added animation authoring example. #7477 #7498 #7623 (@tschw)
- Adapting
UTF8Loader
to useXHRLoader
. #7508 (@wavesoft) - Added
MMDLoader
and examples. #7509 #7585 #7687 #7770 #7857 #7895 #7919 #7939 (@takahirox) - Improved
OBJLoader
andMTLLoader
and madeOBJMTLLoader
obsolete. #7524 #7529 #8118 (@dhritzkiv, @mrdoob, @jeffal) - Added
PeppersGhostEffect
. #7527 (@tpowellmeto) - Added colors and normals support for
VTKLoader
. #7602 (@pletzer) - Many improvements to
ColladaLoader2
. (@mrdoob) - Added
CinematicCamera
. #7664 (@kaypiKun) - WebWorkers based
RaytracingRenderer
. #7671 (@zz85) - Fix uv and normal indexes in face values in
OBJExporter
. #7706 (@dhritzkiv) - Added masking example. #2448 #3870 (@mrdoob)
- Improved example viewer. #7737 #7793 #8103 (@jbaicoianu, @gero3, @Mugen87)
- Updated
SEA3DLoader
. #7743 (@sunag) - Improved
VREffect
. #7751 #8109 (@borismus) - Improved
SoftwareRenderer
. #7746 #7901 #8036 #8040 (@makc, @daoshengmu) - Added
NodeMaterial
. #7776 #7811 #7813 #7818 #7830 #7842 #7849 #7859 #7876 #7886 #7887 (@sunag) - Added Raymarching example. #7860 #7863 (@gam0022)
- Added
FBXLoader
. #7869 (@yamahigashi) - Added general purpose particle system example. #7841 #7927 (@mkkellogg)
- Improved
ColladaLoader
. #7897 (@makc) - Removed deprecated code. #7961 #7973 #7977 #7979 #7988 #7992 #7994 (@Mugen87)
- Added
webgl_multiple_elements_with_text
example. #7946 (@paulmasson) - Added
PCDLoader
. #8043 (@filipecaixeta) - Added
ShadowMaterial
. (@mrdoob) - Added
MeshStandardMaterial
example. (@mrdoob) - Improved
VRMLLoader
. #8083 (@makc) - Added stereo panorama example. #8047 (@rnixik)
- Add Subpixel Morphological Antialiasing (SMAA) example. #8090 (@mpk)
Editor
- Implementation of Undo/Redo functionality. #7337 #7400 (@lxxxvi)
- Added
MeshStandardMaterial
support. (@mrdoob) - Clean up un-used scripts. (@mrdoob)
- Added tabs. (@mrdoob)
- Added symbol when object has script. (@mrdoob)
- Added
LatheGeometry
support. (@rfm1201) - Switch to
ColladaLoader2
. (@mrdoob) - Fixed outliner. #7532 (@mrdoob)
- Added
editable
setting. (@mrdoob)
Exporters
- Blender
- Removed
colorAmbient
. #7374 (@yomotsu) MeshBasicMaterial
support. #7635 (@yomotsu)- Added second UV layer support. #8076 (@s9k)
- Fixed breakage when parent has animation and children doesn't. #8061 (@mhirsch)
- Export textures with correct clip/repeat mode. #8067 (@mhirsch)
- Added option to toggle compact separators. #8032 (@jorgenfb)
- Removed
Unit tests
- Added
Face3
unit test. #7649 (@simonThiele) - Added
Geometry
unit test. #7649 (@simonThiele) - Improved
InstancedBufferAttribute
unit test. #7649 (@simonThiele) - Improved
InstancedBufferGeometry
unit test. #7649 #7708 (@simonThiele) - Improved
InterleavedBuffer
unit test. #7649 (@simonThiele) - Added
Raycaster
unit test. #7649 (@simonThiele) - Improved
BufferGeometry
unit test. #7708 (@simonThiele) - Improved
ImageUtils
unit test. #7708 (@simonThiele) - Improved
BoxGeometry
unit test. #7708 (@simonThiele) - Improved
EdgesGeometry
unit test. #7708 #7723 (@simonThiele) - Improved
Euler
unit test. #7708 (@simonThiele) - Improved
Matrix4
unit test. #7708 (@simonThiele) - Improved
Quaternion
unit test. #7708 (@simonThiele)
r73
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r72--r73
(430,630 KB, gzip: 99,996 KB)
Source
- Global
- Modern Mixer-based Animation System #6934 (@bhouston, @dsarno and @amirebrahimi)
- Added
performance.now()
polyfill. (@mrdoob)
- BufferGeometry
- Fixed missing uvs in
updateFromObject()
#7179 (@mrdoob and @WestLangley)
- Fixed missing uvs in
- CircleBufferGeometry
- Fixed center normal #7242 (@WestLangley)
- Color
- Curve
- Moved
Utils
toCurveUtils
. (@mrdoob)
- Moved
- ExtrudeGeometry
- FontUtils
- Moved out of core. (@mrdoob)
- Geometry
- ImageLoader
- ImageUtils
- ImmediateRenderObject
- Added
material
property. (@mrdoob)
- Added
- Loader
- Use
MaterialLoader
increateMaterial()
. (@mrdoob)
- Use
- Light
- Refactored shadow API. (@mrdoob)
- Math
- Removed
clampBottom
. (@mrdoob)
- Removed
- Mesh
- Fix intersection uv for non-indexed
BufferGeometry
#7317 (@matias-capeletto) - Refactored
raycast()
. (@matias-capeletto)
- Fix intersection uv for non-indexed
- Object3D
- ObjectLoader
- Rescued lost data urls support. (@mrdoob)
- Shape
- Moved
Utils
toShapeUtils
. (@mrdoob)
- Moved
- SkinnedMesh
- SphereBufferGeometry
- TextGeometry
- Moved out of core. (@mrdoob)
- TubeGeometry
- Added missing
clone()
. (@AVGP)
- Added missing
- Vector2
- Added
clampLength()
#7326 (@Mugen87) - Added
rotateAround()
#7307 (@please-wait and @WestLangley)
- Added
- Vector3
- WebGLRenderer:
WebGLPrograms
clean up. (@tschw)- Moved
.info.memory.programs
to.info.programs
. (@tschw) - Improved
HemisphereLight
illumination model. (@WestLangley) - Fixed
logarithmicDepthBuffer
. (@mataron) - Combined
ImmediateRenderObject
and normal objects. (@mrdoob and @tschw) - Fixed indexed buffer and interleaved buffer #7218 (@tschw)
- Made
readRenderTargetPixels()
work with implementation defined formats #7226 (@nraynaud) - Fixed instancing reset #7230 (@benaadams)
- Shadow support for
PointLight
#7153 (@mkkellogg and @tschw) - Corrected calculation of world normal in environment maps #7251 (@WestLangley)
- Make
readRenderTargetPixels()
compatible with float extensions #7278 (@nraynaud) - Avoid 0 shininess #7252 (@mrdoob)
- Unified
drawRange
andgroup
ranges. (@mrdoob and @WestLangley) - Shadows no longer affect
AmbientLight
orHemisphereLight
#7321 (@mrdoob) - Automatically convert to power of 2 textures that require it. (@mrdoob)
- WebGLRenderTarget:
Documentation
- Improved
ShaderMaterial
page. (@squarefeet) - Improved
CanvasRenderer
page. (@alexconlin) - Improved
JSONLoader
page. (@leitzler) - Improved
Matrix4
page. (@danielphil) - Improved
Math
page. (@mrdoob)
Examples
- Added rotation snap support to
TransformControls
. (@elisee) MTLLoader
clean up. (@dhritzkiv)- Made
OrthographicTrackballControls
zoom behaviour consistent withTrackballControls
. (@NicolasRannou) - Added
AMFLoader
#7210 (@tamarintech) SVGLoader
robustness #7232 (@agnivade)- New version of
SEA3DLoader
#7253 (@sunag) ColladaLoader.parse()
now expects astring
instead ofxml
. (@mrdoob)- Started BufferGeometry based
ColladaLoader2
. (@mrdoob) - Added
KMZLoader
(Sketchup, Google Earth). (@mrdoob) - Fixed interactive examples on retina displays. (@leitzler)
CanvasRenderer
/SVGRenderer
removed brokenMeshDepthMaterial
. (@mrdoob)VRMLLoader
robustness #7328 (@makc)- Fixed
OrbitControls
scroll in Firefox #7331 (@fkammer)
Editor
- Fixed geometry and object export #7220 (@tschw and @mrdoob)
- Removed
object.parent
select box (too slow). (@mrdoob) - Fixed File/New when autosave disabled. (@mrdoob)
- Added basic shadow support. (@mrdoob)
- Export no-pretty json if browser can't prettify #7349 (@makc)
- Added version number. (@mrdoob)
Exporters
- Blender
Unit tests
- Improved
Camera
unit test. (@simonThiele) - Improved
OrthographicCamera
unit test. (@simonThiele) - Improved
PerspectiveCamera
unit test. (@simonThiele) - Added
BufferAttribute
unit test. (@simonThiele) - Added
BufferGeometry
unit test. (@simonThiele) - Added
Clock
unit test. (@simonThiele) - Added
EventDispatcher
unit test. (@simonThiele)
r72
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r71--r72
(423,927 KB, gzip: 99,461 KB)
Source
- Global
- Added
toJSON()
to all objects. (@kumavis) - Added
EdgesGeometry
andWireframeGeometry
. (@mrdoob) - Added
InstancedBufferAttribute
,InstancedBufferGeometry
,InstancedInterleavedBuffer
,InterleavedBuffer
andInterleavedBufferAttribute
. (@benaadams, @brason) - Added
DirectGeometry
(basically, whatGeometry
should have been). (@mrdoob) - Added npm support. (@bripkens)
- Added
CatmullRomCurve3
. (@zz85) - Added
CircleBufferGeometry
. (@benaadams, @brason) - Using
copy()
inclone()
to avoid duplicated code. (@dubejf, @mrdoob) - Added native AMD support. (@missingdays)
- Added
clone()
to all objects. (@dhritzkiv) - Added
CanvasTexture
object. (@mrdoob) - Removed
DynamicBufferAttribute
. (@mrdoob) - Removed
AreaLight
. (@mrdoob) - Removed
tangents
code. (@mrdoob, @tschw) - Removed
groups/drawcalls/offsets
code fromraycast()
mehotds. (@mrdoob) - Renamed
PointCloud
toPoints
. (@mrdoob)
- Added
- ArrowHelper
- Support arrows with zero-length tails. (@tinaun)
- AudioListener
- Removed calls to listener.setVelocity. (@mrdoob)
- Bone
- Added
clone()
. (@hena-3)
- Added
- BoxHelper
- BufferAttribute
- Added
count
property. (@benaadams, @WestLangley, @dubejf)
- Added
- BufferGeometry
- Added
copy()
. (@benaadams) - Added
rotateX()
. (@WestLangley) - Added
rotateY()
. (@WestLangley) - Added
rotateZ()
. (@WestLangley) - Added
translate()
. (@WestLangley) - Added
scale()
. (@WestLangley) - Added
lookAt()
. (@WestLangley) - Removed
drawcall.index
. (@mrdoob) - Removed
reorderBuffers()
. (@mrdoob) - Renamed
drawcalls
togroups
. (@mrdoob) - Removed
computeTangents()
. (@mrdoob) - Added
setIndex()
. (@mrdoob) - Added
setDrawRange()
. (@mrdoob)
- Added
- Cache
- Added
enabled
property (defaultfalse
). (@dubejf)
- Added
- Color
- Completed
setStyle
. (@dubejf)
- Completed
- CubeCamera
- Restore the default framebuffer in
updateCubeMap()
. (@WestLangley)
- Restore the default framebuffer in
- CubeTexture
flipY
is nowfalse
by default. (@fordacious)
- DataTexture
- EllipseCurve
- Added
aRotation
parameter. (@neko1235)
- Added
- Geometry
- Added
normalize()
. (@xizhonghua) - Added
rotateX()
. (@WestLangley) - Added
rotateY()
. (@WestLangley) - Added
rotateZ()
. (@WestLangley) - Added
translate()
. (@WestLangley) - Added
scale()
. (@WestLangley) - Added
lookAt()
. (@WestLangley) - Removed
computeTangents()
. (@mrdoob)
- Added
- Group
- Added
clone()
. (@hena-3)
- Added
- Gyroscope
- Moved to examples folder. (@mrdoob)
- LensFlare
- Added
clone()
. (@hena-3)
- Added
- Line
LinePieces
mode is now aLineSegments
class. (@mrdoob, @WestLangley)
- LineSegments
- Added
clone()
. (@hena-3)
- Added
- Loader
- Removed
showStatus
. (@mrdoob)
- Removed
- LoadingManager
- Added
onStart
. (@mrdoob)
- Added
- LOD
- Renamed
objects
tolevels
. (@mrdoob) - Added
toJSON()
. (@qwertzui11)
- Renamed
- Material
- Added
depthFunc
property. (@benaadams) - Warn user when property doesn't exist. (@mrdoob)
- Added
- MaterialLoader
- Support
alphaTest
. (@satori99)
- Support
- Matrix4
- Only create internal vectors when needed. (@coballast)
- Mesh
- MeshBasicMaterial
- Removed
lightMap
. (@WestLangley) - Added
aoMap
. (@WestLangley)
- Removed
- MeshLambertMaterial
- Removed
wrapAround
andwrapRGB
. (@WestLangley) - Removed
lightMap
. (@WestLangley) - Removed
shading
. (@mrdoob)
- Removed
- MeshPhongMaterial
- Added
lightMapIntensity
. (@bhouston) - Added
aoMap
andaoMapIntensity
. (@bhouston, @WestLangley) - Removed
wrapAround
andwrapRGB
. (@WestLangley) - Added
emissiveMap
. (@WestLangley) - Added
displacementMap
. (@mrdoob, @WestLangley)
- Added
- MorphBlendMesh
- Improvements to
update()
. (@torMOZok)
- Improvements to
- Line
- Return
raycast()
intersection distance in world space. (@jee7)
- Return
- Object3D
- Clone
renderOrder
. (@mrdoob) parent
is nownull
by default. (@mrdoob)- Added
DefaultMatrixAutoUpdate
static property. (@nhalloran)
- Clone
- ObjectLoader
- Support
castShadow
andreceiveShadow
. (@IDWMaster) - Fixed
bumpScale
parsing. (@bhouston) - Support for
TextGeometry
. (@fraguada) - Moved relevant code to
MaterialLoader
. (@mrdoob)
- Support
- Path
- Added
aRotation
parameter. (@neko1235)
- Added
- RawShaderMaterial
- Fixed
clone()
. (@mrdoob)
- Fixed
- Ray
- Added
distanceSqToPoint()
. (@dubejf)
- Added
- Raycaster
- Support cameras with transformed parents in
setFromCamera()
. (@WestLangley) - Removed
precision
. (@WestLangley) - Ignore invisible objects. (@mrdoob, @tschw)
- Support cameras with transformed parents in
- ShaderMaterial
- Removed
attributes
. (@mrdoob)
- Removed
- Skeleton
- Added
clone()
. (@hena-3)
- Added
- SkinnedMesh
- Call
calculateInverses()
inbind()
directly. (@TatumCreative)
- Call
- Texture
- Added
toJSON()
. (@elephantatwork, @mrdoob, @tschw) - Support
<canvas>
intoJSON()
. (@mrdoob)
- Added
- Vector2
- Added
lengthManhattan()
. (@saromanov) - Added
addScaledVector()
. (@gero3)
- Added
- Vector3
- Added
addScaledVector()
. (@gero3)
- Added
- Vector4
- Added
addScaledVector()
. (@gero3)
- Added
- WebGLRenderer
- Refactoring and clean up. (@mrdoob, @benaadams, @CodingFabian, @tschw)
- Expose more shader errors in
WebGLShader
. (@delvarworld) - Added
extensions
property. (@mrdoob) - Added
getSize()
. (@mrdoob) - Moved relevant code to new
WebGLBuffers
,WebGLObjects
andWebGLGeometries
classes. (@mrdoob, @dubejf, @gero3) - Renamed
ShadowMapPlugin
toWebGLShadowMap
. (@mrdoob) - Moved
shadowMap*
properties toWebGLShadowMap
. (@mrdoob) - Fixed mipmaps being generate even with
generateMipmaps
set tofalse
. (@shapespark) - Added instancing support via
ANGLE_instanced_arrays
. (@benaadams) - Removed
Geometry
render path. Now everything gets converted toBufferGeometry
. (@mrdoob, @WestLangley, @benaadams, @Lowfab, @brason, @echevil, @ikerr, @box) - Cleaner glsl generation. (@benaadams, @tschw)
- Cleaned up Lambert shader. (@WestLangley)
- Added
activeTexture()
andbindTexture()
toWebGLState
. (@benaadams) - Reduced redundant texture binds. (@benaadams)
- Fixed
Sprite
s not being affected byFogExp2
. (@mstrater) - Moved #extension directive before precision. (@mrdoob)
- Replaced
uniforms
andattributes
withgetUniforms()
andgetAttributes()
inWebGLProgram
. (@tschw) - Added SHADER_NAME define to shaders. (@mrdoob)
- Added
WebGLProperties
to allow same scene to be rendered in multiple renderers. (@fordacious, @mrdoob) - Cleaned up programs deallocation code. (@tschw)
- Added
version
to relevant objects to allow multi rendering. (@dubejf, @mrdoob) - Added
getContextAttributes()
. (@mrdoob) - Removed (long-time broken) Cascaded ShadowMaps code. (@mrdoob)
- Added
dispose()
. (@dubejf) - Deprecated
supportsFloatTextures()
,supportsHalfFloatTextures()
,supportsStandardDerivatives()
,supportsCompressedTextureS3TC()
,supportsCompressedTexturePVRTC()
andsupportsBlendMinMax()
. (@mrdoob) - Added
material.wireframe
support toWebGLShadowMap
. - Reworked wireframe computing code. (@mrdoob, @arose)
- Optimised per-pixel lighting calculations. (@tschw)
- Deprecated
supportsInstancedArray()
andsupportsVertexTextures()
. (@mrdoob) - Allowing anisotropy for floating point textures. (@box)
- Moved relevant code to new
WebGLCapabilities
andWebglPrograms
. (@gero3, @tschw)
- WebGLRenderTarget
- Fixed
setSize
. (@benaadams)
- Fixed
Documentation
- Fixed
MeshNormalMaterial
viewer. (@yomotsu) - Added geometry browser. (@TatumCreative)
- Improvements to
SceneUtils
page. (@gero3) - Improvements to
TextGeometry
page. (@johanhelsing) - Improvements to
Matrix transformations
page. (@nakhleh) - Improvements to
CubeCamera
page. (@TatumCreative, @sukhwant) - Improvements to
ImageUtils
page. (@TatumCreative) - Improvements to
Animation
page. (@TatumCreative) - Removed
AnimationMorphTarget
page. (@TatumCreative) - Improvements to
KeyFrameAnimation
page. (@TatumCreative) - Improvements to
Curve
page. (@TatumCreative) - Improvements to
CurvePath
page. (@TatumCreative) - Improvements to
Path
page. (@TatumCreative) - Improvements to
CubeTexture
page. (@TatumCreative) - Improvements to
Gyroscope
page. (@TatumCreative) - Improvements to
Shape
page. (@TatumCreative) - Improvements to
PointLightHelper
page. (@TatumCreative) - Improvements to
SpotLightHelper
page. (@TatumCreative) - Improvements to
MorphBlendMesh
page. (@TatumCreative) - Improvements to
SpotLight
page. (@TatumCreative) - Improvements to
Bone
page. (@TatumCreative) - Improvements to
LOD
page. (@TatumCreative) - Improvements to
LensFlare
page. (@TatumCreative) - Improvements to
Mesh
page. (@TatumCreative) - Improvements to
MorphAnimMesh
page. (@TatumCreative) - Improvements to
WebGLShader
page. (@TatumCreative) - Improvements to
ShapeGeometry
page. (@motleytech) - Improvements to
EventDispatcher
page. (@aha66) - Improvements to
BoxGeometry
page. (@abritinthebay) - Improvements to
Camera
page. (@sukhwant) - Improvements to
OrthographicCamera
page. (@sukhwant) - Improvements to
PerspectiveCamera
page. (@sukhwant) - Improvements to
CombinedCamera
page. (@sukhwant) - Improvements to
AmbientLight
page. (@sukhwant) - Improvements to
AreaLight
page. (@sukhwant) - Improvements to
DirectionalLight
page. (@sukhwant) - Improvements to `HemisphereLigh...
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