Releases: mrdoob/three.js
r53
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r52--r53
(392,799 KB, gzip: 96,044 KB)
- Lots of improvements to editor. Including possibility to export geometry and scene. (@alteredq and @mrdoob)
Sprite
no longer gets its size from the texture. (@alteredq and @mrdoob)- Improved
CSS3DRenderer
. (@mrdoob and @alteredq) - Added support for vertex normals in
Ribbon
. (@alteredq) Object3D
's.clone()
is now recursive. (@mrdoob)- Added support for fog in
Sprite
. (@alteredq) - Scene format now supports nested lights, cameras and SkinnedMesh, OBJ, VTK, STL, UTF8 and Collada files. (@alteredq)
Object3D
's.lookAt()
now working when using quaternions. (@motin)- Added touch support to
TrackballControls
. (@mrdoob) - Object sorting in
WebGLRenderer
is now stable, regardless of browser implementation. (@alteredq) MeshPhongMaterial
'sperPixel
is nottrue
by default. (@alteredq)- Added
LineDashedMaterial
. (@alteredq) - Added
.setContextStyle
toColor
. (@GreyScales) - Corrected normal matrix calculations. (@WestLangley)
- Added
KaleidoShader
,MirrorShader
andRGBShiftShader
. (@felixturner) - Added area weighted vertex normals computation to
Geometry
. (@alteredq) - Moved geometry.materials to
MeshFaceMaterial
. (@gero3, @alteredq and @mrdoob) - Removed
materials
andsides
fromCubeGeometry
. (@mrdoob) - Move
GeometryUtils
's.clone()
toGeometry
. (@mrdoob)
r52
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r52--r53
(379,442 KB, gzip: 94,126 KB)
- New node.js build system. (@gero3)
- Proper edge handling in
SubdivisionModifier
. (@zz85) - Added
defines
parameter for adding preprocessor definitions toShaderMaterial
. (@alteredq) - Split
ShaderExtras
into single files (BasicShader
,BlendShader
,ConvolutionShader
, ... ). (@mrdoob) - Added
HueSaturationShader
andBrightnessContrastShader
. (@tapio) - Fixed
ColladaLoader
not loading sometimes. (@tapio) - Added
material.vertexColors = THREE.FaceColor
support toCanvasRenderer
andSVGRenderer
. (@mrdoob) - Added
Object3D.defaultEulerOrder
. (@mrdoob) - Replaced
SceneUtils.traverseHierarchy
andSceneUtils.showHierarchy
withobject.traverse
. (@mrdoob) - Added
PointerLockControls
. (@mrdoob) - Completed more documentation pages. (@sole)
- Split
SceneUtils.cloneObject
into*.clone()
. (@mrdoob) - Simplified
AxisHelper
. (@mrdoob) - Added
GeometryExporter
. (@mrdoob) - Improved
OrbitControls
. (@WestLangley) - Added
GeometryLibrary
,MaterialLibrary
,TextureLibrary
andObjectLibrary
(bear in mind that you can't rely on the GC now. Call*.deallocate()
for removing). (@mrdoob) - Moved
*Controls
out of the lib. (@mrdoob) - Fixed shadows getting animated when skinning / morphing was disabled. (@alteredq)
- Added
Manual
section to the documentation pages. (@oal) - Added
.angleTo()
toVector3
. (@Wilt) - Many improvements to the editor. (@mrdoob and @alteredq)
r51
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r50--r51
(405,491 KB, gzip: 99,389 KB)
- Added
STLLoader
. (@aleeper and @mrdoob) - Optimised
Ray
(2x faster). (@gero3) - Added
.getDescendants
method toObject3D
. (@gero3 and @mrdoob) SkinnedMesh
can now work withMorphAnimMesh
. (@apendua)- Changed
CameraHelper
. Now it matches the camera independently of where it's in the scene graph. (@mrdoob) - Removed the need for manually setting texture units with
ShaderMaterial
. (@alteredq) - Added
HemisphereLight
. (@alteredq) - Fixed
WebGLRenderer
handling of flip sided materials. (@WestLangley and @alteredq) - Added support to normals maps in
MeshPhongMaterial
. (@crobi and @alteredq) - Added handling of
BufferGeometry
forParticleSystems
. (@alteredq) - Added support for compressed textures and cube maps to
WebGLRenderer
. (@alteredq) - Outliner and Material panel improvements to the editor. (@mrdoob)
- Added material.emissive support to
CanvasRenderer
andSVGRenderer
. (@mrdoob) - Added handling of multiple UV layers and anisotropy to Blender exporter. (@alteredq)
- Handling bump and anisotropy in
Loader
andSceneLoader
. (@alteredq) - Added mousewheel support to
TrackballControls
. (@jherrm) - Added
MTLLoader
andOBJMTLLoader
. (@angelxuanchang) - Updated
UTF8Loader
to latest version. (@angelxuanchang and @alteredq) - Pluginized
SceneLoader
. (@alteredq) - Added support of
object.renderDepth
inProjector
. (@mrdoob) - Made build system more flexible. (@mrdoob)
- Many enhancements to
SceneLoader
. (@alteredq) - Experimenting with
CSS3DRenderer
. (@mrdoob) - Added
ShapeGeometry
. (@jonobr1) - Fixes to
Vector3
's.setEulerFromRotationMatrix
method.(@WestLangley)
r50
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r49--r50
(391,250 KB, gzip: 96,143 KB)
- Experimenting with SoftwareRenderer. (@mrdoob and @rygorous)
- Improved rotation conversion routines. (@WestLangley)
- Moved
DOMRenderer
andSVGRenderer
out of common build. (@mrdoob) - Improvements to Morph targets. (@alteredq and @gero3)
- Added
.deallocateMaterial
method toWebGLRenderer
. (@alteredq) - Added
.worldToLocal
and.localToWorld
methods toObject3D
. (@zz85 and @WestLangley) - Added
ConvexGeometry
. (@qiao) - Added node.js build system. (@gero3)
- Improvements to Blender exporter. (@timbot and @alteredq)
- Added uvs and vertex colors support to
ImmediateRenderObjects
. (@alteredq) - Started implementing
LoadingMonitor
andEventTarget
in loaders. (@mrdoob) - Added
Path.ellipse
. (@linzhp) - Added
near
andfar
properties toRay
. (@niklassa) - Added
OrbitControls
. (@qiao, @mrdoob and @alteredq) - Completed some more documentation pages. (@mrdoob, @phenomnomnominal, @FuzzYspo0N, @poeschko, @wwwtyro, @maximeq and @alteredq)
- Completed lots more documentation pages. (@sole)
- Started reworking GUI. (@mrdoob)
- Improved python build system. (@gero3)
- Made
VTKLoader
parsing more robust. (@mrdoob) - Added
recursive
flag toRay
. (@mrdoob) - Handling resizes properly in controls and examples. (@alteredq)
- Improvements to ColladaLoader. (@SpaceCookies)
- Unflipped V coordinate across the whole library. (@mrdoob and @alteredq)
- Refactored
BufferGeometry
. (@alteredq) - Improved GL extensions initialisation in
WebGLRenderer
. (@alteredq) - Rescued
SkinnedMesh
. (@N3tFr34K and @alteredq) - Made
OBJLoader
parsing more robust. (@Dahie) - Implemented skinning via floating point textures. (@alteredq)
- Improved documentation system. (@mrdoob and @alteredq)
- Added support for anisotropic texture filtering and standard derivatives in
WebGLRenderer
. (@alteredq) - Added support for
ParticleBasicMaterial
withoutmap
inCanvasRenderer
. (@mrdoob) SceneLoader
now supports nested scene graphs and per object custom properties. (@skfcz)Camera
doesn't need to be added to the scene anymore. (@mrdoob)Object3D
'sflipSided
anddoubleSided
properties are nowMaterial
'sside
property. (@alteredq and @mrdoob)- Added
.clone
method to*Material
. (@gero3, @mrdoob and @alteredq) - IEWEBGL support. (@iewebgl and @mrdoob)
- Added
CircleGeometry
. (@hughes) - Added
bumpMap
toMeshPhongMaterial
. (@alteredq) - Added
specularMap
toMeshBasicMaterial
,MeshLambertMaterial
andMeshPhongMaterial
. (@alteredq) - Reworked python build system. (@mrdoob)
r49
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r48--r49
(364,242 KB, gzip: 89,057 KB)
- Yet more
ColladaLoader
improvements. (@ekitson, @AddictArts and @pblasco) - Created documentation system. (@mrdoob)
- Added some documentation. (@mrdoob and @sole)
- Added
MorphBlendMesh
. (@alteredq) - Added
emissive
component to WebGL Materials. (@alteredq) - Added
DepthPassPlugin
. (@alteredq) - Improvements to
Path
. (@asutherland) - Improvements to
Curve
. (@zz85) - Added
ArrowHelper
. (@zz85 and @WestLangley) - Changed depth sorting in
WebGLRenderer
to use world positions. (@alteredq) - Improved physically based shading in
WebGLRenderer
. (@WestLangley) - Changed depth sorting in
Projector
to use world positions. (@mrdoob) - Added physical specular term also to normal map shader. (@alteredq)
- Added
TubeGeometry
. (@zz85 and @WestLangley) - Added
needsUpdate
flag toMaterial
. (@alteredq) - Fixed
GeometryUtils.triangulateQuads
. (@alteredq) - Improvements to
GeometryUtils.tessellate
. (@alteredq) - Change
PlaneGeometry
from XY to XZ. (@mrdoob) WebGLRenderer
back tohighp
shader precision. (@mrdoob)- Added
deallocateRenderTarget
to `WebGLRenderer. (@kovleouf) - Support zIndex and scale into
DOMRenderer
. (@ajorkowski) - Improvements to
CameraHelper
. (@zz85) - Added 3D spline path extrusion support to
ExtrudeGeometry
. (@zz85) MarchingCubes
moved out of the lib into/examples/js
folder. (@alteredq)- Added
ImmediateRenderObject
. (@alteredq) - Renamed
__dirty*
to*NeedUpdate
. (@valette and @mrdoob) - Added
CustomBlending
toMaterial
andpremultiplyAlpha
toTexture
. (@alteredq) - Improvements to
CubeCamera
. (@alteredq and @mrdoob) CanvasRenderer.setClearColor()
and.setClearColorHex()
now setsopacity
to 1 when null. (@mrdoob)- Fixed broken UVs in
SubdivisionModifier
. (@zz85) - Renamed
Matrix4
'ssetTranslation
,setRotationX
,setRotationY
,setRotationZ
,setRotationAxis
andsetScale
tomakeTranslation
,makeRotationX
,makeRotationY
,makeRotationZ
,makeRotationAxis
andmakeScale
. (@mrdoob) Matrix4
static methodsmakeFrustum
,makePerspective
,makeOrtho
to non-static methods. (@mrdoob)- Refactore handling of
Matrix4
toMatrix3
inversion. (@alteredq) - Added
GodRays
postprocessing. (@huwb) - Added
LinePieces
support toProjector
. (@mrdoob) - Fixed UVs handling bug in
GeometryUtils.tessellate
. (@alteredq) - Serious performance improvements to
Matrix4
,Matrix3
andFrustum
. (@gero3) - Fixes to
LatheGeometry
. (@zz85) - Removed
Vertex
. UseVector3
instead. (@mrdoob) - Implemented real
Spotlight
s. (@alteredq) - Added
ParametricGeometry
. (@zz85) - Added basic
OBJLoader
in/examples/js/loaders
folder. (@mrdoob) - Moved
ColladaLoader
andUTF8Loader
to/examples/js/loaders
folder. (@mrdoob) - Added
VTKLoader
to/examples/js/loaders
folder. (@valette and @mrdoob) - Blender exporter now supports linked groups. (@Druidhawk)
- Added
visible
property toMaterial
. (@mrdoob) - Removed Lamber+Texture support in
CanvasRenderer
. (@mrdoob) - Fixed normals in
CylinderGeometry
. (@qiao) - Added floating point textures support to
WebGLRenderer
. (@mrdoob) - Renamed
AnaglyphWebGLRenderer
and co. toAnaglyphEffect
& co. and moved to/examples/js/effects
. (@mrdoob) - Improvements to documentation system. (@mrdoob and @codler)
- Added
AsciiEffect
. (@zz85)
r48
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r47--r48
(393,626 KB, gzip: 99,395 KB)
- Added camera support to
ColladaLoader
. (@jbaicoianu) - More
ColladaLoader
improvements. (@mrdoob, @AddictArts, @kduong) - Updated
IcosahedronGeometry
andOctahedronGeometry
with @timothypratley'sPolyhedronGeometry
code which also bringsTetrahedronGeometry
. (@mrdoob) LOD
should now behave as expected from anywhere in the scene graph. (@mrdoob)- Added
THREE.REVISION
. (@mrdoob) - Fixed cancelRequestAnimationFrame polyfill. (@also)
- Improvements to convert_obj_three.py. (@alteredq)
- Fixes to
Geometry
's.computeBoundingBox
and.computeBoundingSphere
. (@alteredq) - Refactored ShadowMap shader. (@alteredq)
- Fixed handling of meshes with multiple materials in
SceneLoader
. (@alteredq) - Changed
Material
's default ambient color to 0xffffff. (@alteredq) - Added normals support to
MorphTarget
. (@alteredq) - Added
.setFrameRange
and.setAnimationLabel
toMorphAnimMesh
. (@alteredq) - Added handling of named animation sequences to
MorphAnimMesh
. (@alteredq) - Extended
MorphAnimMesh
to be able to play animations backwards. (@alteredq) - Added
.generateDataTexture
toImageUtils
. (@alteredq) - Removed hierarchy support and
.intersectScene()
fromRay
. (@mrdoob) - Added
.triangulateQuads
toGeometryUtils
. (@alteredq) Projector
andWebGLRenderer
now handles doubleSided lighting properly. (@mrdoob and @alteredq)- Fixed
MorphAnimMesh
playback bug where the last frame didn't display. (@alteredq) TrackballControls
implementsEventTarget
. (@mrdoob)- Added
.clone
toVertex
,Face3
andFace4
. (@alteredq) - Added
.explode
and.tessellate
toGeometryUtils
. (@alteredq) - Added
.lerpSelf
toVector2
,Vector3
andUV
. (@alteredq) - Fixed
DOMRenderer
by using single-materials. (@ajorkowski) - Added
.setPrecision
toRay
. (@mrdoob) - Blender exporter now honors the "Flip YZ" option. (@rectalogic)
- Added
NoBlending
toMaterial
andWebGLRenderer
. (@kovleouf) - Added
.applyMatrix
toObject3D
. (@mrdoob and @alteredq) - Added
.attach
and.detach
toSceneUtils
to retain position in space. (@alteredq) - Added
.sign
toMath
. (@alteredq) - Implemented sphinx based documentation. (@ivankuzev)
- Documented part of the API. (@ivankuzev and @alteredq)
- Replaced sphinx based documentation with compilation-less sytem. (@mrdoob)
- Added default material to
Mesh
,Line
andParticleSystem
. (@mrdoob)
r47
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r46--r47
(378,169 KB, gzip: 96,015 KB)
- Resurrected lens flares as custom
WebGLRenderer
plugin. (@alteredq) - Fixed typos in
Matrix4
'stranspose()
andgetInverse()
. (@ekitson) - "Pluginized" Sprites and ShadowMaps. (@alteredq)
- Added
Frustum
class. (@alteredq) ColladaLoader
improvements. (@ekitson, @jterrace, @mrdoob and @alteredq)- Lights in a hierarchy are now supported when using
WebGLRenderer
. (@alteredq) - Included requestAnimationFrame shim in the lib. (@mrdoob)
- Started documentation effort in
/doc
(using sphinx). (@jterrace) - Changed default shader precission to
mediump
. (@mrdoob) - Added support for the format OpenCTM. (@alteredq)
- Added
BufferGeometry
for direct rendering from typed arrays. (@alteredq) - Extended
Texture
class withformat
andtype
parameters. (@alteredq) - Automatically reducing texture to max size of WebGL hardware. (@greggman and @alteredq)
- Improved
WebGLRenderer
's Shadow Map code. (@alteredq) - Checking for
xhr.overrideMimeType
before using it (fixing IE support). (@mrdoob and @alteredq) - Improved ATI and ANGLE support in across
WebGLRenderer
shaders. (@alteredq) - Added
generateMipmaps
property toTexture
andRenderTarget
. (@alteredq) Frustum
properly handling children with scaled parents. (@avinoamr)- Fixed
Ray
when dealing with big polygons. (@WestLangley) - Fixed
WebGLRenderer
bug where depth buffer was not cleared. (@ekitson) - Added
CameraHelper
objects for visualising both Perspective and Orthographic cameras. (@alteredq) - Improvements to
Path
. (@zz85) - Improvements to Postprocessing stack. (@alteredq)
- Added shadows for
DirectionalLight
s. (@alteredq) - Added
Gyroscope
object. (@alteredq) - Added
alpha
andpremultipliedAlpha
parameters toWebGLRenderer
. (@mrdoob) Ray
properly handling children with scaled parents. (@mrdoob)- Renamed
Axes
object toAxisHelper
. (@mrdoob)
r46
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r45--r46
(343.383 KB, gzip: 87.468 KB)
- Added reflections to Normal Mapping. (@alteredq)
Ray
now checks also object children. (@mrdoob)*Loader.load( parameters )
to*Loader( url, callback, texturePath )
. (@mrdoob and @alteredq)- Reworked scene graph setup. (@mrdoob and @alteredq)
- Fixed
CanvasRenderer
'sSphericalReflectionMapping
rendering. (@mrdoob) - Improved
SubdivisionModifier
. (@zz85) - Refactored
*Controls
to use externally supplied time delta. (@alteredq) - Improvements to
CombinedCamera
. (@zz85) ColladaLoader
doesn't create extraObject3D
. (@mrdoob)- Improvements to Lambert and Phong materials. (@alteredq)
- Removed multi-materials for simplicity reasons. (Multi-materials will come back with MeshLayerMaterial hopefully soon) (@alteredq)
- Fixed
Ray
not considering edges. (@mrdoob) - Massive cleanup to
WebGLRenderer
. (@alteredq) Ray
optimisations. (@mrdoob and @alteredq)- JSON file format is now worker-less (this was crashing Chrome/Firefox with dealing with many assets). (@alteredq)
- Improved
CubeGeometry
,PlaneGeometry
,IcosahedronGeometry
andSphereGeometry
. (@mrdoob) - Improvements to
Curve
. (@zz85) - Removed
Collisions
code and focusing onRay
. (@mrdoob) - Added
cloneObject()
method toSceneUtils
. (@alteredq)
r45
(340.863 KB, gzip: 86.568 KB)
Object/Scene.add*()
andObject/Scene.remove*()
are nowObject/Scene.add()
andObject/Scene.remove()
. (@mrdoob)LOD.add()
is nowLOD.addLevel()
. (@mrdoob)- Reworked
CylinderGeometry
. (@mrdoob) - Added
.depthWrite
and.fog
toMaterial
. (@alteredq) - Added
.applyMatrix
toGeometry
. (@mrdoob) - Improved postprocessing stack in
/examples/js/postprocessing
. (@alteredq) - Added a realistic skin shading example. (@alteredq)
- Started of a GUI for composing scenes and autogenerate code. (@mrdoob)
- Added
.center()
toGeometryUtils
. (@alteredq) - Fixed buggy scenegraph manipulation (adding/removing objects). (@jsermeno, @alteredq and @skython)
- Renamed
MeshShaderMaterial
toShaderMaterial
. (@alteredq) - Fixed
CanvasRenderer
ignoring color ofSmoothShading
edMeshLambertMaterial
. (@mrdoob) - Renamed
renderer.data
torenderer.info
. (@mrdoob) - Fixed ShadowMap aspect ratio. (@kig and @alteredq)
- Fixed
Loader
'sextractUrlbase()
incorrect output for short urls. (@rectalogic and @alteredq) - Added
.color
and.visible
support toSprite
. (@alteredq) - Added
Face4
, Vertex Colors and Maya support toColladaLoader
. (@mrdoob) - Rewrite of lighting shader code. (@alteredq)
- Improved internal array concatenation approach. (@pyrotechnick)
WebGLRenderer
performance improvements. (@alteredq)- Added lower level immediate rendering support to
WebGLRenderer
. (@NINE78 and @alteredq) - Added
CubeCamera
for rendering cubemaps. (@alteredq) - Improved
GeometryUtils
's.mergeVertices()
performance. (@zz85) - Removed
Camera
's.target
. (@mrdoob) WebGLRenderer
's.clear()
is now.clear( color, depth, stencil )
. (@mrdoob)- Added
.autoClearColor
,.autoClearDepth
and.autoClearStencil
toWebGLRenderer
. (@mrdoob and @alteredq) - Added
OctahedronGeometry
. (@clockworkgeek) - Splitted
Camera
intoPerspectiveCamera
andOrthographicCamera
. (@mrdoob and @alteredq) - Special cameras are now
*Controls
. (@alteredq and @mrdoob) - Added
SubdivisionModifier
. (@zz85) Projector
'sunprojectVector()
now also works withOrthographicCamera
. (@jsermeno)- Added
.setLens()
method toPerspectiveCamera
. (@zz85) - Added Shadow Maps,
Texture
's.offset
and.repeat
and reflections support to Normal Map shader. (@alteredq)
r44
(330.356 KB, gzip: 84.039 KB)
- Added
ColladaLoader
. (@timknip2) - Improved
ExtrudeGeometry
. (@zz85) - Fixed
CylinderGeometry
normals. (@alteredq) - Fixed issue with
WebGLRenderer.setTexture
(@rectalogic) - Fixed
TorusGeometry
normals. (@mrdoob) - Fixed
Ray
behind-ray intersects. (@mrdoob) - Added
OrthoCamera
. (@alteredq) - Refactored postprocessing effects used in some examples. (@alteredq)
- Added
.deallocateObject()
and.deallocateTexture()
methods toWebGLRenderer
. (@mrdoob) - Fixed a glitch in normal and phong shader. (@evanw and @alteredq)
- Added
.frustumCulled
property toObject3D
. (@alteredq and @mrdoob)