Skip to content

Releases: mrdoob/three.js

r54

03 Jul 11:25
Compare
Choose a tag to compare
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 use SpriteMaterial 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 and DataTexture. (@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 in Frustum. (@bhouston)
  • Added Box3, Sphere math classes and implemented in Geometry. (@bhouston)
  • Added bilinear filtered shadow map. (@MiiBond)
  • Added test framework. (@bhouston)
  • Replaced UV with Vector2. (@mrdoob)
  • Renamed Ray to Raycaster and added new Ray math class. (@bhouston)
  • Improvements to CSS3DRenderer. (@mrdoob, @benaadams and @zz85)
  • Implemented .dispose() to Geometry, BufferGeometry, Texture, Material and WebGLRenderTarget for deallocating from GPU. (@mrdoob and @alteredq)
  • Moved SubdivisionModifier out of the build to examples/js/modifiers. (@mrdoob)
  • Improvements to ColladaLoader. (@dgossow)
  • Added Blender 2.65 exporter. (@tapio)
  • Added .setMaterialIndex() to GeometryUtils. (@gero3)
  • Added benchmark framework. (@bhouston)
  • Fixed Blender scene exporter rotations. (@alteredq and @WestLangley)
  • Added devicePixelRatio support to CanvasRenderer and WebGLRenderer. (@mrdoob)

r53

03 Jul 11:26
Compare
Choose a tag to compare
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's perPixel is not true by default. (@alteredq)
  • Added LineDashedMaterial. (@alteredq)
  • Added .setContextStyle to Color. (@GreyScales)
  • Corrected normal matrix calculations. (@WestLangley)
  • Added KaleidoShader, MirrorShader and RGBShiftShader. (@felixturner)
  • Added area weighted vertex normals computation to Geometry. (@alteredq)
  • Moved geometry.materials to MeshFaceMaterial. (@gero3, @alteredq and @mrdoob)
  • Removed materials and sides from CubeGeometry. (@mrdoob)
  • Move GeometryUtils's .clone() to Geometry. (@mrdoob)

r52

03 Jul 11:27
Compare
Choose a tag to compare
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 to ShaderMaterial. (@alteredq)
  • Split ShaderExtras into single files (BasicShader, BlendShader, ConvolutionShader, ... ). (@mrdoob)
  • Added HueSaturationShader and BrightnessContrastShader. (@tapio)
  • Fixed ColladaLoader not loading sometimes. (@tapio)
  • Added material.vertexColors = THREE.FaceColor support to CanvasRenderer and SVGRenderer. (@mrdoob)
  • Added Object3D.defaultEulerOrder. (@mrdoob)
  • Replaced SceneUtils.traverseHierarchy and SceneUtils.showHierarchy with object.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 and ObjectLibrary (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() to Vector3. (@Wilt)
  • Many improvements to the editor. (@mrdoob and @alteredq)

r51

03 Jul 11:27
Compare
Choose a tag to compare
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 to Object3D. (@gero3 and @mrdoob)
  • SkinnedMesh can now work with MorphAnimMesh. (@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 for ParticleSystems. (@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 and SVGRenderer. (@mrdoob)
  • Added handling of multiple UV layers and anisotropy to Blender exporter. (@alteredq)
  • Handling bump and anisotropy in Loader and SceneLoader. (@alteredq)
  • Added mousewheel support to TrackballControls. (@jherrm)
  • Added MTLLoader and OBJMTLLoader. (@angelxuanchang)
  • Updated UTF8Loader to latest version. (@angelxuanchang and @alteredq)
  • Pluginized SceneLoader. (@alteredq)
  • Added support of object.renderDepth in Projector. (@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

03 Jul 11:28
Compare
Choose a tag to compare
r50

https://github.com/mrdoob/three.js/wiki/Migration-Guide#r49--r50

(391,250 KB, gzip: 96,143 KB)

r49

03 Jul 11:28
Compare
Choose a tag to compare
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 to Material. (@alteredq)
  • Fixed GeometryUtils.triangulateQuads. (@alteredq)
  • Improvements to GeometryUtils.tessellate. (@alteredq)
  • Change PlaneGeometry from XY to XZ. (@mrdoob)
  • WebGLRenderer back to highp 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 to Material and premultiplyAlpha to Texture. (@alteredq)
  • Improvements to CubeCamera. (@alteredq and @mrdoob)
  • CanvasRenderer.setClearColor() and .setClearColorHex() now sets opacity to 1 when null. (@mrdoob)
  • Fixed broken UVs in SubdivisionModifier. (@zz85)
  • Renamed Matrix4's setTranslation, setRotationX, setRotationY, setRotationZ, setRotationAxis and setScale to makeTranslation, makeRotationX, makeRotationY, makeRotationZ, makeRotationAxis and makeScale. (@mrdoob)
  • Matrix4 static methods makeFrustum, makePerspective, makeOrtho to non-static methods. (@mrdoob)
  • Refactore handling of Matrix4 to Matrix3 inversion. (@alteredq)
  • Added GodRays postprocessing. (@huwb)
  • Added LinePieces support to Projector. (@mrdoob)
  • Fixed UVs handling bug in GeometryUtils.tessellate. (@alteredq)
  • Serious performance improvements to Matrix4, Matrix3 and Frustum. (@gero3)
  • Fixes to LatheGeometry. (@zz85)
  • Removed Vertex. Use Vector3 instead. (@mrdoob)
  • Implemented real Spotlights. (@alteredq)
  • Added ParametricGeometry. (@zz85)
  • Added basic OBJLoader in /examples/js/loaders folder. (@mrdoob)
  • Moved ColladaLoader and UTF8Loader 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 to Material. (@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. to AnaglyphEffect & co. and moved to /examples/js/effects. (@mrdoob)
  • Improvements to documentation system. (@mrdoob and @codler)
  • Added AsciiEffect. (@zz85)

r48

03 Jul 11:29
Compare
Choose a tag to compare
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 and OctahedronGeometry with @timothypratley's PolyhedronGeometry code which also brings TetrahedronGeometry. (@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 to MorphAnimMesh. (@alteredq)
  • Added handling of named animation sequences to MorphAnimMesh. (@alteredq)
  • Extended MorphAnimMesh to be able to play animations backwards. (@alteredq)
  • Added .generateDataTexture to ImageUtils. (@alteredq)
  • Removed hierarchy support and .intersectScene() from Ray. (@mrdoob)
  • Added .triangulateQuads to GeometryUtils. (@alteredq)
  • Projector and WebGLRenderer now handles doubleSided lighting properly. (@mrdoob and @alteredq)
  • Fixed MorphAnimMesh playback bug where the last frame didn't display. (@alteredq)
  • TrackballControls implements EventTarget. (@mrdoob)
  • Added .clone to Vertex, Face3 and Face4. (@alteredq)
  • Added .explode and .tessellate to GeometryUtils. (@alteredq)
  • Added .lerpSelf to Vector2, Vector3 and UV. (@alteredq)
  • Fixed DOMRenderer by using single-materials. (@ajorkowski)
  • Added .setPrecision to Ray. (@mrdoob)
  • Blender exporter now honors the "Flip YZ" option. (@rectalogic)
  • Added NoBlending to Material and WebGLRenderer. (@kovleouf)
  • Added .applyMatrix to Object3D. (@mrdoob and @alteredq)
  • Added .attach and .detach to SceneUtils to retain position in space. (@alteredq)
  • Added .sign to Math. (@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 and ParticleSystem. (@mrdoob)

r47

03 Jul 11:29
Compare
Choose a tag to compare
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's transpose() and getInverse(). (@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 with format and type 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 to Texture and RenderTarget. (@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 DirectionalLights. (@alteredq)
  • Added Gyroscope object. (@alteredq)
  • Added alpha and premultipliedAlpha parameters to WebGLRenderer. (@mrdoob)
  • Ray properly handling children with scaled parents. (@mrdoob)
  • Renamed Axes object to AxisHelper. (@mrdoob)

r46

03 Jul 11:29
Compare
Choose a tag to compare
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's SphericalReflectionMapping rendering. (@mrdoob)
  • Improved SubdivisionModifier. (@zz85)
  • Refactored *Controls to use externally supplied time delta. (@alteredq)
  • Improvements to CombinedCamera. (@zz85)
  • ColladaLoader doesn't create extra Object3D. (@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 and SphereGeometry. (@mrdoob)
  • Improvements to Curve. (@zz85)
  • Removed Collisions code and focusing on Ray. (@mrdoob)
  • Added cloneObject() method to SceneUtils. (@alteredq)

r45

03 Jul 11:30
Compare
Choose a tag to compare
r45

(340.863 KB, gzip: 86.568 KB)

  • Object/Scene.add*() and Object/Scene.remove*() are now Object/Scene.add() and Object/Scene.remove(). (@mrdoob)
  • LOD.add() is now LOD.addLevel(). (@mrdoob)
  • Reworked CylinderGeometry. (@mrdoob)
  • Added .depthWrite and .fog to Material. (@alteredq)
  • Added .applyMatrix to Geometry. (@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() to GeometryUtils. (@alteredq)
  • Fixed buggy scenegraph manipulation (adding/removing objects). (@jsermeno, @alteredq and @skython)
  • Renamed MeshShaderMaterial to ShaderMaterial. (@alteredq)
  • Fixed CanvasRenderer ignoring color of SmoothShadinged MeshLambertMaterial. (@mrdoob)
  • Renamed renderer.data to renderer.info. (@mrdoob)
  • Fixed ShadowMap aspect ratio. (@kig and @alteredq)
  • Fixed Loader's extractUrlbase() incorrect output for short urls. (@rectalogic and @alteredq)
  • Added .color and .visible support to Sprite. (@alteredq)
  • Added Face4, Vertex Colors and Maya support to ColladaLoader. (@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 to WebGLRenderer. (@mrdoob and @alteredq)
  • Added OctahedronGeometry. (@clockworkgeek)
  • Splitted Camera into PerspectiveCamera and OrthographicCamera. (@mrdoob and @alteredq)
  • Special cameras are now *Controls. (@alteredq and @mrdoob)
  • Added SubdivisionModifier. (@zz85)
  • Projector's unprojectVector() now also works with OrthographicCamera. (@jsermeno)
  • Added .setLens() method to PerspectiveCamera. (@zz85)
  • Added Shadow Maps, Texture's .offset and .repeat and reflections support to Normal Map shader. (@alteredq)