Releases: mrdoob/three.js
r60
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r59--r60
(411,202 KB, gzip: 98,754 KB)
Source
- Camera
- Added
clone()
method. (@Slayvin)
- Added
- Color
- Added
fromArray()
andtoArray()
methods. (@mrdoob)
- Added
- BufferGeometry
dynamic
property set totrue
by default. (@mrdoob)
- BufferGeometryLoader
- First version. Designed structure. (@mrdoob)
- Face4
- FontUtils
- Fixed Triangulation false warning. (@olivierdeckers)
- Frustum
- Support for boundingSphere with arbitrary center. (@jotinha)
- GeometryUtils
- Removed
removeMaterials()
andsetMaterialIndex()
. (@mrdoob)
- Removed
- Quaternion
- Throwing new Error instead of just console.error in
fromEuler()
. (@danielribeiro)
- Throwing new Error instead of just console.error in
- Raycaster
- Removed normalized ray checks and ray to triangle intersection refactoring. (@stephomi)
- Bounding box intersection check. (@jotinha)
- Moved moved ray triangle intersection to
Ray
. (@jotinha) - Initialising vA, vB and vC once instead of per object check. (@mrdoob)
- Support for boundingSphere with arbitrary center. (@jotinha)
- Support for Non-indexed BufferGeometries. (@mrdoob)
- SpotlightHelper
- More robust update lookAt code. (@WestLangley)
- WebGLRenderer
- Forced shader precision for ints. (@MiiBond)
- Enabled program log to determine cause of linking errors. (@MiiBond)
- Refactored deallocateGeometry. (@MiiBond and @mrdoob)
- Added support for default attribute values. (@MiiBond)
- Fixed wrong counting of buffers stored into memory. (@CraigFeldspar)
- Try to initialise "webgl" context too. (@paullewis and @mrdoob)
- XHRLoader
- Notify manager after executing callback. (@mrdoob)
Documentation
Examples
- Optimisations to
CSS3DRenderer
. (@mrdoob) - Optimised Periodic Table example. (@mrdoob)
- Fixed CSS3D Panorama example. (@mrdoob)
- Started
BabylonLoader
. (@mrdoob) - Added
CSS2DRenderer
. (@mrdoob and @WestLangley) - Added
BufferGeometryUtils.fromGeometry()
. (@spite and @mrdoob) - Added
BufferGeometryExporter
. (@mrdoob) - Fixed
VTKLoader
not working in Chrome. (@mrdoob) - Fixed some examples that didn't work in IE11. (@stammen)
- Update
Octree
and added new example. (@collinhover) - Fixed webgl_interactive_cubes_gpu example example. (@cweinreben and @mrdoob)
- Added
getDirection()
toPointerLockControls
. (@WestLangley) - Improvements to
OrbitControls
. (@erich666 and @greggman) - Updated
VRMLLoader
to userQuaternion
for the rotation. (@cecilemuller) - Added
VRMLLoader
example. (@cecilemuller) - Added examples viewer. (@DavidSouther and @mrdoob)
Editor
- Added UUID fields to Geometry and Material panels. (@mrdoob)
- Added File/Share. (@mrdoob)
- Added File/Open. (@mrdoob)
- Fixed
TransformControls
disabling when deleting an object while rollovering it. (@mrdoob) - Added
BufferGeometry
support. (@mrdoob) - Added Babylon.js files support. (@mrdoob)
- Added material blending dropdown. (@mrdoob)
- Improved
UI.Texture
andUI.CubeTexture
. (@mrdoob) - Added option for converting
Geometry
toBufferGeometry
. (@mrdoob) - Fixed non pickable objects when deleting object. (@mrdoob)
Known Issues
SubdivisionModifier
is not as pretty as it used to be.
r59
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r58--r59
(422,285 KB, gzip: 99,988 KB)
- Refactored the editor internal structure. (@arodic and @mrdoob)
- Added
TransformControls
. (@arodic and @mrdoob) - Documentation improvements. (@erich666, @cjshannon, @ptone, @charlieschwabacher, @mrdoob and @Beuc)
- Improvements to Blender exporter. (@samuelgrigolato and @gero3)
- Performance improvements to
STLLoader
. (@gero3) - Fixed serialization error in Maya exporter. (@etic)
- Added
EventDispatcher
toObject3D
. So far it's just dispatchingadded
andremoved
events. (@mrdoob) - Improvements to
ColladaLoader
. (@igorcamp, @mrdoob and @tparisi) - Corrected face normal calculation in
PolyhedronGeometry
. (@WestLangley) - Fixed
SceneLoader
with asynchronously loaded object with children. (@ZuBsPaCe) - Started
VRMLLoader
(will probably evolve toX3DLoader
instead). (@mrdoob) - Added
NURBSCurve
andNURBSSurface
. (@renej-github) - Removed
Projector
dependency inCSS3DRenderer
. (@mrdoob) - Added
FaceNormalsHelper
. (@mrdoob) - Added
Euler
and madeObject3D
's rotation a instance of it. (@bhouston) - Improved performance of
Geometry.mergeVertices()
by 2x. (@bhouston) - Changed
Material.overdraw
fromboolean
tonumber
. (@nhalloran) - Made
WebGLRenderer
z sorting truly stable. (@mrdoob) - Added
BufferGeometry
support toRaycaster
. (@kevinoe and @insominx) - Added Oculus Rift headtracking example. (@possan)
- Improved
SpotLightHelper
. (@WestLangley) - Improved
TrackballControls
element dimension handling. (@kevinoe) - Added
uuid
property toObject3D
,Geometry
,BufferGeometry
,Material
andTexture
. (@arodic and @mrdoob) - Added
Box3.setFromObject()
andBoundingBoxHelper
. (@WestLangley) - Added
VertexTangentsHelper
. (@WestLangley) - Added
STLExporter
. (@kovacsv) - Fixed
SkinnedMesh
so that it can be used withBufferGeometry
. (@crobi) - Experimenting with
LoadingManager
. (@mrdoob) - Moved
ObjectLoader
into build. (@mrdoob) - Added
.clone()
toScene
. (@chmp) - Added
WebGLRenderer
support forLinePieces
withBufferGeometry
. (@WestLangley) - Added chroma aberration parameters to
OculusRiftEffect
. (@troffmo5) - Optimised
TorusKnotGeometry
. (@rhulha) - Fixed
WebGLRenderer
not disposing cubemap textures. (@MiiBond) - Added
setColors()
toGridHelper
. (@verma) - Added
rotateX()
,rotateY()
androtateZ()
toObject3D
. (@WestLangley) - Added vertex/face colors support to
GeometryExporter
andMaterialExporter
. (@mrdoob) - Added
Object3D.setRotationFrom*
routines. (@WestLangley) - Added
Line
support toRaycaster
. (@stephomi) - Added
intersectsBox()
toFrustum
. (@jotinha) - Made
Projector
z sort stable. (@mrdoob) - Added
Octree
example. (@collinhover) - Added uvs support to
GeometryExporter
. (@mrdoob)
r58
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r57--r58
(411,339 KB, gzip: 97,298 KB)
- Removed
Matrix4
'stranslate()
,rotateX()
,rotateY()
,rotateZ()
androtateByAxis()
. (@mrdoob) - Documentation improvements. (@yurifury, @tmcw, @deepan2k5, @cjshannon and @sh0ot1e)
- Improvements to
WebGLRenderer
stable z sorting.(@wereHamster and @mrdoob) - Lots of progress in
SceneLoader2
andSceneExporter2
, now known asObjectLoader
andObjectExporter
. (@mrdoob) - Added morphTargets support to
MeshNormalMaterial
. (@mrdoob) - Renamed
Matrix4
'sextractPosition()
tocopyPosition()
. (@mrdoob) - Editor now using localStorage for keeping state. (@mrdoob and @sole)
- Added
MaterialLoader
andMaterialExporter
. (@mrdoob) - Renamed
Matrix4
'ssetRotationFrom*()
tomakeRotationFrom*()
. (@bhouston) - Added
setGeometry()
andsetMaterial()
toMesh
. (@mrdoob) - Editor primitives can now have the parameters updated at any point. (@mrdoob)
- Renamed
Matrix4
'scompose()
tomakeFromPositionQuaternionScale()
and addedmakeFromPositionEulerScale()
. (@bhouston) - Added
rotateOnAxis()
andtranslateOnAxis()
toObject3D
. (@WestLangley) - Removed
Matrix4
'scrossVector()
. (@WestLangley) - Added
PLYLoader
(ASCII files). (@menway) - Added new
BokehShader2
. (@zz85) - Replaced recursive calls in
PolyhedronGeometry
with an analytical construction of the geometry. (@bhickey) - Renamed
Object3D
'sgetChildByName()
togetObjectByName()
and addedgetObjectById()
. (@mrdoob) - Add
materialOffset
parameter toGeometryUtils
'smerge()
. (@tapio) - Now using prototype based
EventDispatcher
. (@mrdoob) - Added
linewidth
toShaderMaterial
. (@mrdoob) LOD
support inRaycaster
. (@mrdoob)- Added lights support to
ColladaLoader
. (@mrdoob) - Started
WebGLRenderer3
. Aiming to find better solutions for the WebGL layer. (@mrdoob) - Optimized the PCF shadow map filtering to use vector comparisons. (@MiiBond)
SoftwareRenderer
now handles color changes at runtime. (@mrdoob)- Added
BoxHelper
. (@mrdoob) - Removed
setClearColorHex()
,parameters.clearColor
andparameters.clearAlpha
. (@mrdoob) - Refactored
CameraHelper
. (@mrdoob) - Fixed bug in
DirectionalLightHelper
andSpotLightHelper
. (@mrdoob) - Fixed bug in Phong shader when using normal maps with derivative tangents. (@WestLangley)
- Added support for
FaceColors
toSoftwareRenderer
. - Updated
convert_obj_three.py
docstring with current loader interface. (@wilsaj) - Updated
OculusRiftEffect
. Now it should work with the original OculusRift. (@troffmo5) - Fixed vertex normals and UVs for
CircleGeometry
. (@WestLangley) - Added snapping to the editor. (@arodic)
- Fixed
SpotLight
'sangle
andSpotlightHelper
's cone size bug. (@WestLangley) - Using
CanvasRenderer
in the editor when there is no WebGL support. (@mrdoob) - Update
STLLoader
with github improvements. (@gero3) - Fixed UVs for faces that straddle the seam in
PolyhedronGeometry
. (@WestLangley) - Cleaned up
ArrowHelper
. (@WestLangley) - Added
VertexColors
support forLine
inCanvasRenderer
. (@gero3) - Fixed
TrackballControls
zoom increment to normalize responsiveness across various inputs. (@protometa)
r57
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r56--r57
(403,818 KB, gzip: 96,416 KB)
- Added Renderer panel to the editor. (@mrdoob)
- Added support for custom attributes to
BufferGeometry
. (@zz85) CanvasRenderer
andSVGRenderer
behave likeWebGLRenderer
withMeshLambertMaterial
and no lights. (@mrdoob)- Added
ColorConverter
in examples folder. (@bhouston and @zz85) - Fixed
SVGRenderer
when autoClear false. (@mrdoob) - Made
WebGLRenderer
sorting truly stable. (@wereHamster and @mrdoob) - Improved
Object3D
andCamera
lookAt()
. (@WestLangley) - Added
RingGeometry
. (@merpnderp) - Made
OBJLoader
andOBJMTLLoader
more robust. (@mrdoob) - Added pan to
OrbitControls
. (@WestLangley and @mrdoob) - Added
.getColumnFromMatrix()
toVector3
. (@WestLangley) - Renamed
Object3D
properties
touserData
. (@mrdoob) - Simplified
PointLightHelper
,DirectionalLightHelper
,SpotLightHelper
andHemisphereLightHelper
. (@mrdoob) - Added
GridHelper
. (@mrdoob) - Added
.clone()
method toAmbientLight
,PointLight
,DirectionalLight
,SpotLight
andHemisphereLight
. (@mrdoob)
r56
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r55--r56
(408,927 KB, gzip: 97,095 KB)
- Added
LineDashedMaterial
support toCanvasRenderer
. (@sole) - Documentation improvements. (@gero3, @erich666, @Stompfrog, @morenoh149, @chrmoritz and @mrdoob)
- Added
Matrix3.getNormalMatrix()
andVector3.transformDirection()
. (@WestLangley) - Added generator for Sublime Text 2 completion file. (@mrdoob)
- Removed
Matrix4
'sgetPosition()
andgetColumn*()
. (@mrdoob and @bhouston) - Blender exporter improvements. (@migvel)
- Added
Vector*.toArray()
. (@mrdoob) - Added Maya exporter for JSON format. (@etic)
- Improvements to
FlyControls
. (@WestLangley) - Improvements to
OBJLoader
andOBJMTLLoader
. (@edwardsp and @Fktrcfylh) - Added
.reflect()
,projectOnVector()
andprojectOnPlane()
toVector3
. (@bhouston) - Added
OculusRiftEffect
. (@troffmo5) - Fixed loading of JSON format 2.0 files in the editor. (@mrdoob and @drewnoakes)
- Added
setHSL()
andgetHSL()
toColor
. (@pksunkara and @mrdoob) - Added binary files support to
STLLoader
. (@aleeper) - Removed
setHSV()
,getHSV()
fromColor
. (@mrdoob) - Replaced
ColorUtils.adjustHSV()
withColor
's.offsetHSL()
. (@mrdoob) - Added
Line3
. (@bhouston) - Added
linewidth
support toBufferGeometry
lines. (@arodic) - Renamed
Box3
/Line3
/Plane
/Ray
/Sphere
's.transform()
toapplyMatrix4()
. (@bhouston) - Added
smoothstep
andsmootherstep
toMath
. (@bhouston) - Improvements to the editor. (@drewnoakes)
- Added
.reset()
toTrackballControls
. (@WestLangley) - Added two edge detection shader effects. (@zz85)
- Unit conversion handling in
ColladaLoader
. (@jihoonl)
r55
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r54--r55
(406,462 KB, gzip: 96,542 KB)
- Added
set()
,identity()
,copy()
,multiplyScalar()
,determinant()
,getInverse()
andclone()
toMatrix3
. (@bhouston) - Added a refactored
WebGLRenderer
under theWebGLRenderer2
name (may becomeWebGLRenderer
next release). (@gero3) - Optimised
Matrix4
'sdeterminant()
. (@bhouston) - Added
negate()
toPlane
. (@bhouston) - Added
containsPoint()
andintersectsObject()
toFrustum
. (@bhouston) - Fixed
MeshNormalMaterial
rendering inCanvasRenderer
andSVGRenderer
. (@mrdoob) - Moved
Matrix*/Quaternion
'smultiply*
toVector*
's.apply*
. (@mrdoob) - Added
MeshNormalMaterial
withSmoothShading
support toCanvasRenderer
. (@mrdoob) - Added
Edit / Clone
to the editor. (@mrdoob) - Fixes to
ArrowHelper
. (@bhouston and @WestLangley) - Improved
Geometry
'smergeVertices()
. (@bhouston) - Improved
LatheGeometry
. (@bhouston and @WestLangley) - Added
insertPass
toEffectComposer
. (@alteredq) - Added support for
BufferGeometry
support toLine
. (@arodic) - Added
intersectsSphere
toSphere
. (@Fox32) - Added Tone Mapping to
WebGLDeferredRenderer
. (@alteredq) - Made
updateMorphTargets
a public method ofMesh
. (@jonobr1) - Added
add()
,addColors()
,addScalar()
,multiply()
andmultiplyScalar()
toColor
. (@mrdoob) - Renamed
Vector*/Matrix*/Quaternion
'sadd()/sub()/cross()...
toaddVectors()/subVectors()/crossVectors()...
. (@mrdoob) - Renamed
Vector*/Matrix*/Quaternion
'saddSelf()/subSelf()/crossSelf()...
toadd()/sub()/cross()...
. (@mrdoob) - Moved
GeometryUtils
'sexplode()
andtessellate()
toExplodeModifier
andTessellateModifier
. (@mrdoob) - Moved
BinaryLoader
out of the lib to examples folder. (@mrdoob) - Added
OBJExporter
. (@mrdoob) - Implemented pinch gesture to
TrackballControls
. (@ericnoble and @mrdoob) - Firefox support in
OrbitControls
.. (@mrdoob) - Added zbuffer to
SoftwareRenderer
and started adding material handling. (@rygorous and @mrdoob) - Moved
CanvasRenderer/SVGRenderer
x/y clipping toProjector
. (@mrdoob) - Added
applyEuler()
andapplyAxisAngle()
inVector3
. (@WestLangley) - Improvements to
FirstPersonControls
. (@RommelVR)
r54
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r53--r54
(411,352 KB, gzip: 98,639 KB)
- Added nodejs, perl, python and ruby based localhost server. (@zz85)
- Added support for alphaTest to
Sprite
. (@alteredq) - Added
WebGLDeferredRenderer
with all sorts of goodness. (@MPanknin and @alteredq) - Changed
Sprite
to useSpriteMaterial
instead of custom object. (@alteredq) - Added
sourcemap
option to python and nodejs build systems. (@zz85 and @gero3) - Non-indexed
BufferGeometry
. (@benaadams) - Added support for loading cubemap DDS textures. (@MiiBond)
- Added manual mipmapping support to
Texture
andDataTexture
. (@benaadams and @alteredq) - Added style strings support
Color
. (@mrdoob) - Added new fbx converter. (@zfedoran)
- Improvements to
SceneLoader
. (@RommelVR and @alteredq) - Added
Plane
class and implemented inFrustum
. (@bhouston) - Added
Box3
,Sphere
math classes and implemented inGeometry
. (@bhouston) - Added bilinear filtered shadow map. (@MiiBond)
- Added test framework. (@bhouston)
- Replaced
UV
withVector2
. (@mrdoob) - Renamed
Ray
toRaycaster
and added newRay
math class. (@bhouston) - Improvements to
CSS3DRenderer
. (@mrdoob, @benaadams and @zz85) - Implemented
.dispose()
toGeometry
,BufferGeometry
,Texture
,Material
andWebGLRenderTarget
for deallocating from GPU. (@mrdoob and @alteredq) - Moved
SubdivisionModifier
out of the build toexamples/js/modifiers
. (@mrdoob) - Improvements to
ColladaLoader
. (@dgossow) - Added Blender 2.65 exporter. (@tapio)
- Added
.setMaterialIndex()
toGeometryUtils
. (@gero3) - Added benchmark framework. (@bhouston)
- Fixed Blender scene exporter rotations. (@alteredq and @WestLangley)
- Added
devicePixelRatio
support toCanvasRenderer
andWebGLRenderer
. (@mrdoob)
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)