Skip to content

r72

Choose a tag to compare

@mrdoob mrdoob released this 28 Sep 23:14
· 33828 commits to master since this release

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 and WireframeGeometry. (@mrdoob)
    • Added InstancedBufferAttribute, InstancedBufferGeometry, InstancedInterleavedBuffer, InterleavedBuffer and InterleavedBufferAttribute. (@benaadams, @brason)
    • Added DirectGeometry (basically, what Geometry should have been). (@mrdoob)
    • Added npm support. (@bripkens)
    • Added CatmullRomCurve3. (@zz85)
    • Added CircleBufferGeometry. (@benaadams, @brason)
    • Using copy() in clone() 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 from raycast() mehotds. (@mrdoob)
    • Renamed PointCloud to Points. (@mrdoob)
  • ArrowHelper
    • Support arrows with zero-length tails. (@tinaun)
  • AudioListener
    • Removed calls to listener.setVelocity. (@mrdoob)
  • Bone
  • BoxHelper
  • BufferAttribute
  • BufferGeometry
  • Cache
    • Added enabled property (default false). (@dubejf)
  • Color
  • CubeCamera
    • Restore the default framebuffer in updateCubeMap(). (@WestLangley)
  • CubeTexture
  • DataTexture
    • flipY is now false by default. (@gero3)
    • generateMipmaps is now false by default. (@gero3)
    • magFilter is now NearestFilter by default. (@gero3)
    • minFilter is now NearestFilter by default. (@gero3)
  • EllipseCurve
  • Geometry
  • Group
  • Gyroscope
    • Moved to examples folder. (@mrdoob)
  • LensFlare
  • Line
  • LineSegments
  • Loader
  • LoadingManager
  • LOD
  • Material
    • Added depthFunc property. (@benaadams)
    • Warn user when property doesn't exist. (@mrdoob)
  • MaterialLoader
  • Matrix4
    • Only create internal vectors when needed. (@coballast)
  • Mesh
    • Removed morphTargetForcedOrder(). (@mrdoob)
    • Return uv in raycast(). (@rfm1201)
  • MeshBasicMaterial
  • MeshLambertMaterial
  • MeshPhongMaterial
  • MorphBlendMesh
  • Line
    • Return raycast() intersection distance in world space. (@jee7)
  • Object3D
    • Clone renderOrder. (@mrdoob)
    • parent is now null by default. (@mrdoob)
    • Added DefaultMatrixAutoUpdate static property. (@nhalloran)
  • ObjectLoader
    • Support castShadow and receiveShadow. (@IDWMaster)
    • Fixed bumpScale parsing. (@bhouston)
    • Support for TextGeometry. (@fraguada)
    • Moved relevant code to MaterialLoader. (@mrdoob)
  • Path
  • RawShaderMaterial
  • Ray
    • Added distanceSqToPoint(). (@dubejf)
  • Raycaster
  • ShaderMaterial
  • Skeleton
  • SkinnedMesh
  • Texture
  • Vector2
  • Vector3
    • Added addScaledVector(). (@gero3)
  • Vector4
    • Added addScaledVector(). (@gero3)
  • 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 and WebGLGeometries classes. (@mrdoob, @dubejf, @gero3)
    • Renamed ShadowMapPlugin to WebGLShadowMap. (@mrdoob)
    • Moved shadowMap* properties to WebGLShadowMap. (@mrdoob)
    • Fixed mipmaps being generate even with generateMipmaps set to false. (@shapespark)
    • Added instancing support via ANGLE_instanced_arrays. (@benaadams)
    • Removed Geometry render path. Now everything gets converted to BufferGeometry. (@mrdoob, @WestLangley, @benaadams, @Lowfab, @brason, @echevil, @ikerr, @box)
    • Cleaner glsl generation. (@benaadams, @tschw)
    • Cleaned up Lambert shader. (@WestLangley)
    • Added activeTexture() and bindTexture() to WebGLState. (@benaadams)
    • Reduced redundant texture binds. (@benaadams)
    • Fixed Sprites not being affected by FogExp2. (@mstrater)
    • Moved #extension directive before precision. (@mrdoob)
    • Replaced uniforms and attributes with getUniforms() and getAttributes() in WebGLProgram. (@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() and supportsBlendMinMax(). (@mrdoob)
    • Added material.wireframe support to WebGLShadowMap.
    • Reworked wireframe computing code. (@mrdoob, @arose)
    • Optimised per-pixel lighting calculations. (@tschw)
    • Deprecated supportsInstancedArray() and supportsVertexTextures(). (@mrdoob)
    • Allowing anisotropy for floating point textures. (@box)
    • Moved relevant code to new WebGLCapabilities and WebglPrograms. (@gero3, @tschw)
  • WebGLRenderTarget

Documentation

Examples

  • Ensure that uniforms used by AdaptiveToneMapping are not shared between instances. (@bhouston)
  • Take pixelRatio into account when calculating renderer width and height in VREffect. (@lalle, @borismus)
  • Fix for 'average luminance' uniform not being set for AdaptiveToneMapping. (@Verold)
  • Allow multiple devices to be used simultaneously by VRControls. (@borismus)
  • Implemented renderer.getSize() in VREffect. (@mrdoob)
  • Allow the use of TransformControls simultaneously with other controls. (@valette)
  • Updated VRControls and VREffect to match WebVR spec. (@toji)
  • Added getSize() to CSS3DRenderer. (@wzr1337)
  • Improved and cleaned up VRControls and VREffect. (@mrdoob)
  • Added webgl_buffergeometry_instancing, webgl_buffergeometry_instancing_dynamic and webgl_buffergeometry_instancing_interleaved_dynamic examples. (@benaadams)
  • Added GammaCorrectionShader and implemented in webgl_shaders_tonemapping. (@WestLangley)
  • Fixed VRControls Firefox support and improved vr_cubes example. (@brianpeiris)
  • Added DragControls class and webgl_geometry_spline_editor example. (@zz85)
  • Added textures to webgl_geometry_shapes. (@WestLangley)
  • Added webgl_instanced_particles_billboards example. (@benaadams, @mrdoob)
  • Moved BufferGeometry examples to new Advanced section. (@mrdoob)
  • Improvements to BabylonLoader. (@mrdoob)
  • Improvements to OBJExporter and added webgl_exporter_obj example. (@kovacsv)
  • Fixed renderOrder in Projector. (@archcomet)
  • Fixed TrackballControls zoom. (@archcomet)
  • Added webgl_multiple_elements example. (@greggman, @mrdoob)
  • Added webgl_buffergeometry_constructed_from_geometry example. (@callumprentice)
  • Improvements to webgl_materials_blending_custom example. (@felixturner)
  • Improvements to webgl_modifier_tessellation example. (@WestLangley)
  • Improvements to webgl_decals example. (@WestLangley)
  • Improvements to Mirror. (@greggman)
  • Fixes to ParallaxShader. (@dubejf)
  • Improvements to TransformControls. (@dubejf, @tschw, @elisee)
  • Added webgl_postprocessing_ssao example. (@daoshengmu)
  • Unified loaders code. (@zinefer)
  • Added SEA3DLoader and examples. (@sunag)
  • Added MD2Loader and updated relevant examples. (@mrdoob)
  • Added line support to SoftwareRenderer. (@daoshengmu)
  • Added dispose method to all controls. (@dubejf)
  • Added webgl_loader_json_claraio example. (@bhouston)
  • Added GPUParticleSystem class and webgl_gpu_particle_system example. (@flimshaw)
  • Removed SceneExporter. (@mrdoob)
  • Removed SPARKS and relevant examples. (@mrdoob)
  • Added damping to OrbitControls. (@WestLangley)
  • Removed double negatives from OrbitControls API. (@WestLangley)
  • Added TeapotBufferGeometry class and webgl_buffergeometry_teapot example. (@erich666)
  • Improvements to DDSLoader. (@nopjia)
  • Removed WebGLDeferredRenderer (un-maintained). (@mrdoob)
  • Updated WaterShader to latest version. (@titansoftime)
  • Removed AudioObject. (@mrdoob)
  • Fixed css3d_youtube. (@kakakakakku)
  • Improved lighting in skin examples. (@mrdoob)

Editor

  • Updated CodeMirror to 5.1. (@mrdoob)
  • Moved script editor on top of player. (@mrdoob)
  • Added backspace shortcut to delete. (@mrdoob)
  • Using CodeMirror to edit ShaderMaterial. (@tschw)
  • Added auto-completition (via tern-threejs) to CodeMirror. (@zz85)
  • Hacks for downloading data in Firefox. (@makc, @mrdoob, @gero3)
  • Antialias checkbox now updates the renderer. (@mrdoob)
  • Improvements to Player. (@tschw)
  • Added rudimentary undo/redo system. (@mrdoob)
  • Added support for md2 files. (@mrdoob)
  • Added alphaTest support. (@mrdoob)
  • Improved BufferGeometry panel. (@mrdoob)
  • scaleLock enabled by default. (@mrdoob)
  • Fixed Viewport.Info. (@mrdoob)

Exporters

  • Blender
    • Parsing of face materials should ignore unused materials. (@repsac)
    • Add option to disable modifier application. (@rkusa)
    • Export of indexed BufferGeometry objects. (@tschw)
    • Avoid obscure error on certain non-image textures. (@tschw)
    • UV optimizations. (@repsac)
    • Changed transparency to opacity. (@tforgione)
    • Export material's transparency attribute in blender. (@ov)
    • Fixed orphaned data left over from multiple exports. (@repsac)