language
stringclasses
1 value
owner
stringlengths
2
15
repo
stringlengths
2
21
sha
stringlengths
45
45
message
stringlengths
7
36.3k
path
stringlengths
1
199
patch
stringlengths
15
102k
is_multipart
bool
2 classes
Other
mrdoob
three.js
680f499d6b227eae8764dcd7504ffa8d59a30173.json
Add file extension to import paths
src/objects/LOD.js
@@ -1,5 +1,5 @@ -import { Vector3 } from '../math/Vector3'; -import { Object3D } from '../core/Object3D'; +import { Vector3 } from '../math/Vector3.js'; +import { Object3D } from '../core/Object3D.js'; /** * @author mikael emtinger / http://gomo.se/
true
Other
mrdoob
three.js
680f499d6b227eae8764dcd7504ffa8d59a30173.json
Add file extension to import paths
src/objects/LensFlare.js
@@ -1,7 +1,7 @@ -import { Object3D } from '../core/Object3D'; -import { NormalBlending } from '../constants'; -import { Color } from '../math/Color'; -import { Vector3 } from '../math/Vector3'; +import { Object3D } from '../core/Object3D.js'; +import { NormalBlending } from '../constants.js'; +import { Color } from '.....
true
Other
mrdoob
three.js
680f499d6b227eae8764dcd7504ffa8d59a30173.json
Add file extension to import paths
src/objects/Line.js
@@ -1,11 +1,11 @@ -import { Sphere } from '../math/Sphere'; -import { Ray } from '../math/Ray'; -import { Matrix4 } from '../math/Matrix4'; -import { Object3D } from '../core/Object3D'; -import { Vector3 } from '../math/Vector3'; -import { LineBasicMaterial } from '../materials/LineBasicMaterial'; -import { BufferGeome...
true
Other
mrdoob
three.js
680f499d6b227eae8764dcd7504ffa8d59a30173.json
Add file extension to import paths
src/objects/LineLoop.js
@@ -1,4 +1,4 @@ -import { Line } from './Line'; +import { Line } from './Line.js'; /** * @author mgreter / http://github.com/mgreter
true
Other
mrdoob
three.js
680f499d6b227eae8764dcd7504ffa8d59a30173.json
Add file extension to import paths
src/objects/LineSegments.js
@@ -1,4 +1,4 @@ -import { Line } from './Line'; +import { Line } from './Line.js'; /** * @author mrdoob / http://mrdoob.com/
true
Other
mrdoob
three.js
680f499d6b227eae8764dcd7504ffa8d59a30173.json
Add file extension to import paths
src/objects/Mesh.js
@@ -1,14 +1,14 @@ -import { Vector3 } from '../math/Vector3'; -import { Vector2 } from '../math/Vector2'; -import { Sphere } from '../math/Sphere'; -import { Ray } from '../math/Ray'; -import { Matrix4 } from '../math/Matrix4'; -import { Object3D } from '../core/Object3D'; -import { Triangle } from '../math/Triangle'; ...
true
Other
mrdoob
three.js
680f499d6b227eae8764dcd7504ffa8d59a30173.json
Add file extension to import paths
src/objects/Points.js
@@ -1,10 +1,10 @@ -import { Sphere } from '../math/Sphere'; -import { Ray } from '../math/Ray'; -import { Matrix4 } from '../math/Matrix4'; -import { Object3D } from '../core/Object3D'; -import { Vector3 } from '../math/Vector3'; -import { PointsMaterial } from '../materials/PointsMaterial'; -import { BufferGeometry } ...
true
Other
mrdoob
three.js
680f499d6b227eae8764dcd7504ffa8d59a30173.json
Add file extension to import paths
src/objects/Skeleton.js
@@ -1,4 +1,4 @@ -import { Matrix4 } from '../math/Matrix4'; +import { Matrix4 } from '../math/Matrix4.js'; /** * @author mikael emtinger / http://gomo.se/
true
Other
mrdoob
three.js
680f499d6b227eae8764dcd7504ffa8d59a30173.json
Add file extension to import paths
src/objects/SkinnedMesh.js
@@ -1,8 +1,8 @@ -import { Mesh } from './Mesh'; -import { Vector4 } from '../math/Vector4'; -import { Skeleton } from './Skeleton'; -import { Bone } from './Bone'; -import { Matrix4 } from '../math/Matrix4'; +import { Mesh } from './Mesh.js'; +import { Vector4 } from '../math/Vector4.js'; +import { Skeleton } from './S...
true
Other
mrdoob
three.js
680f499d6b227eae8764dcd7504ffa8d59a30173.json
Add file extension to import paths
src/objects/Sprite.js
@@ -1,6 +1,6 @@ -import { Vector3 } from '../math/Vector3'; -import { Object3D } from '../core/Object3D'; -import { SpriteMaterial } from '../materials/SpriteMaterial'; +import { Vector3 } from '../math/Vector3.js'; +import { Object3D } from '../core/Object3D.js'; +import { SpriteMaterial } from '../materials/SpriteMat...
true
Other
mrdoob
three.js
680f499d6b227eae8764dcd7504ffa8d59a30173.json
Add file extension to import paths
src/renderers/WebGL2Renderer.js
@@ -2,11 +2,11 @@ * @author mrdoob / http://mrdoob.com/ */ -import { REVISION } from '../constants'; -import { WebGLExtensions } from './webgl/WebGLExtensions'; -import { WebGLState } from './webgl/WebGLState'; -import { Color } from '../math/Color'; -import { Vector4 } from '../math/Vector4'; +import { REVISION ...
true
Other
mrdoob
three.js
680f499d6b227eae8764dcd7504ffa8d59a30173.json
Add file extension to import paths
src/renderers/WebGLRenderTarget.js
@@ -1,8 +1,8 @@ -import { EventDispatcher } from '../core/EventDispatcher'; -import { Texture } from '../textures/Texture'; -import { LinearFilter } from '../constants'; -import { Vector4 } from '../math/Vector4'; -import { _Math } from '../math/Math'; +import { EventDispatcher } from '../core/EventDispatcher.js'; +imp...
true
Other
mrdoob
three.js
680f499d6b227eae8764dcd7504ffa8d59a30173.json
Add file extension to import paths
src/renderers/WebGLRenderTargetCube.js
@@ -1,4 +1,4 @@ -import { WebGLRenderTarget } from './WebGLRenderTarget'; +import { WebGLRenderTarget } from './WebGLRenderTarget.js'; /** * @author alteredq / http://alteredqualia.com
true
Other
mrdoob
three.js
680f499d6b227eae8764dcd7504ffa8d59a30173.json
Add file extension to import paths
src/renderers/WebGLRenderer.js
@@ -1,37 +1,37 @@ -import { REVISION, RGBAFormat, HalfFloatType, FloatType, ByteType, UnsignedByteType, FrontFaceDirectionCW, TriangleFanDrawMode, TriangleStripDrawMode, TrianglesDrawMode, NoColors, LinearToneMapping } from '../constants'; -import { _Math } from '../math/Math'; -import { Matrix4 } from '../math/Matrix4...
true
Other
mrdoob
three.js
680f499d6b227eae8764dcd7504ffa8d59a30173.json
Add file extension to import paths
src/renderers/shaders/ShaderLib.js
@@ -1,8 +1,8 @@ -import { ShaderChunk } from './ShaderChunk'; -import { UniformsUtils } from './UniformsUtils'; -import { Vector3 } from '../../math/Vector3'; -import { UniformsLib } from './UniformsLib'; -import { Color } from '../../math/Color'; +import { ShaderChunk } from './ShaderChunk.js'; +import { UniformsUtils...
true
Other
mrdoob
three.js
680f499d6b227eae8764dcd7504ffa8d59a30173.json
Add file extension to import paths
src/renderers/shaders/UniformsLib.js
@@ -1,8 +1,8 @@ -import { Vector4 } from '../../math/Vector4'; -import { Color } from '../../math/Color'; -import { Vector2 } from '../../math/Vector2'; -import { Matrix3 } from '../../math/Matrix3'; -import { DataTexture } from '../../textures/DataTexture'; +import { Vector4 } from '../../math/Vector4.js'; +import { C...
true
Other
mrdoob
three.js
680f499d6b227eae8764dcd7504ffa8d59a30173.json
Add file extension to import paths
src/renderers/webgl/WebGLBackground.js
@@ -2,16 +2,16 @@ * @author mrdoob / http://mrdoob.com/ */ -import { BackSide } from '../../constants'; -import { OrthographicCamera } from '../../cameras/OrthographicCamera'; -import { PerspectiveCamera } from '../../cameras/PerspectiveCamera'; -import { BoxBufferGeometry } from '../../geometries/BoxGeometry'; -...
true
Other
mrdoob
three.js
680f499d6b227eae8764dcd7504ffa8d59a30173.json
Add file extension to import paths
src/renderers/webgl/WebGLClipping.js
@@ -2,8 +2,8 @@ * @author tschw */ -import { Matrix3 } from '../../math/Matrix3'; -import { Plane } from '../../math/Plane'; +import { Matrix3 } from '../../math/Matrix3.js'; +import { Plane } from '../../math/Plane.js'; function WebGLClipping() {
true
Other
mrdoob
three.js
680f499d6b227eae8764dcd7504ffa8d59a30173.json
Add file extension to import paths
src/renderers/webgl/WebGLFlareRenderer.js
@@ -3,9 +3,9 @@ * @author alteredq / http://alteredqualia.com/ */ -import { Box2 } from '../../math/Box2'; -import { Vector2 } from '../../math/Vector2'; -import { Vector3 } from '../../math/Vector3'; +import { Box2 } from '../../math/Box2.js'; +import { Vector2 } from '../../math/Vector2.js'; +import { Vector3 }...
true
Other
mrdoob
three.js
680f499d6b227eae8764dcd7504ffa8d59a30173.json
Add file extension to import paths
src/renderers/webgl/WebGLGeometries.js
@@ -2,9 +2,9 @@ * @author mrdoob / http://mrdoob.com/ */ -import { Uint16BufferAttribute, Uint32BufferAttribute } from '../../core/BufferAttribute'; -import { BufferGeometry } from '../../core/BufferGeometry'; -import { arrayMax } from '../../utils'; +import { Uint16BufferAttribute, Uint32BufferAttribute } from '...
true
Other
mrdoob
three.js
680f499d6b227eae8764dcd7504ffa8d59a30173.json
Add file extension to import paths
src/renderers/webgl/WebGLLights.js
@@ -2,10 +2,10 @@ * @author mrdoob / http://mrdoob.com/ */ -import { Color } from '../../math/Color'; -import { Matrix4 } from '../../math/Matrix4'; -import { Vector2 } from '../../math/Vector2'; -import { Vector3 } from '../../math/Vector3'; +import { Color } from '../../math/Color.js'; +import { Matrix4 } from ...
true
Other
mrdoob
three.js
680f499d6b227eae8764dcd7504ffa8d59a30173.json
Add file extension to import paths
src/renderers/webgl/WebGLProgram.js
@@ -2,10 +2,10 @@ * @author mrdoob / http://mrdoob.com/ */ -import { WebGLUniforms } from './WebGLUniforms'; -import { WebGLShader } from './WebGLShader'; -import { ShaderChunk } from '../shaders/ShaderChunk'; -import { NoToneMapping, AddOperation, MixOperation, MultiplyOperation, EquirectangularRefractionMapping...
true
Other
mrdoob
three.js
680f499d6b227eae8764dcd7504ffa8d59a30173.json
Add file extension to import paths
src/renderers/webgl/WebGLPrograms.js
@@ -2,8 +2,8 @@ * @author mrdoob / http://mrdoob.com/ */ -import { BackSide, DoubleSide, CubeUVRefractionMapping, CubeUVReflectionMapping, GammaEncoding, LinearEncoding } from '../../constants'; -import { WebGLProgram } from './WebGLProgram'; +import { BackSide, DoubleSide, CubeUVRefractionMapping, CubeUVReflecti...
true
Other
mrdoob
three.js
680f499d6b227eae8764dcd7504ffa8d59a30173.json
Add file extension to import paths
src/renderers/webgl/WebGLShadowMap.js
@@ -3,18 +3,18 @@ * @author mrdoob / http://mrdoob.com/ */ -import { FrontSide, BackSide, DoubleSide, RGBAFormat, NearestFilter, PCFShadowMap, RGBADepthPacking } from '../../constants'; -import { WebGLRenderTarget } from '../WebGLRenderTarget'; -import { ShaderMaterial } from '../../materials/ShaderMaterial'; -im...
true
Other
mrdoob
three.js
680f499d6b227eae8764dcd7504ffa8d59a30173.json
Add file extension to import paths
src/renderers/webgl/WebGLSpriteRenderer.js
@@ -3,9 +3,9 @@ * @author alteredq / http://alteredqualia.com/ */ -import { CanvasTexture } from '../../textures/CanvasTexture'; -import { Vector3 } from '../../math/Vector3'; -import { Quaternion } from '../../math/Quaternion'; +import { CanvasTexture } from '../../textures/CanvasTexture.js'; +import { Vector3 }...
true
Other
mrdoob
three.js
680f499d6b227eae8764dcd7504ffa8d59a30173.json
Add file extension to import paths
src/renderers/webgl/WebGLState.js
@@ -2,8 +2,8 @@ * @author mrdoob / http://mrdoob.com/ */ -import { NotEqualDepth, GreaterDepth, GreaterEqualDepth, EqualDepth, LessEqualDepth, LessDepth, AlwaysDepth, NeverDepth, CullFaceFront, CullFaceBack, CullFaceNone, CustomBlending, MultiplyBlending, SubtractiveBlending, AdditiveBlending, NoBlending, NormalB...
true
Other
mrdoob
three.js
680f499d6b227eae8764dcd7504ffa8d59a30173.json
Add file extension to import paths
src/renderers/webgl/WebGLTextures.js
@@ -2,8 +2,8 @@ * @author mrdoob / http://mrdoob.com/ */ -import { LinearFilter, NearestFilter, RGBFormat, RGBAFormat, DepthFormat, DepthStencilFormat, UnsignedShortType, UnsignedIntType, UnsignedInt248Type, FloatType, HalfFloatType, ClampToEdgeWrapping, NearestMipMapLinearFilter, NearestMipMapNearestFilter } fro...
true
Other
mrdoob
three.js
680f499d6b227eae8764dcd7504ffa8d59a30173.json
Add file extension to import paths
src/renderers/webgl/WebGLUniforms.js
@@ -47,8 +47,8 @@ * */ -import { CubeTexture } from '../../textures/CubeTexture'; -import { Texture } from '../../textures/Texture'; +import { CubeTexture } from '../../textures/CubeTexture.js'; +import { Texture } from '../../textures/Texture.js'; var emptyTexture = new Texture(); var emptyCubeTexture = new ...
true
Other
mrdoob
three.js
680f499d6b227eae8764dcd7504ffa8d59a30173.json
Add file extension to import paths
src/renderers/webgl/WebGLUtils.js
@@ -2,7 +2,7 @@ * @author thespite / http://www.twitter.com/thespite */ -import { MaxEquation, MinEquation, RGB_ETC1_Format, RGBA_PVRTC_2BPPV1_Format, RGBA_PVRTC_4BPPV1_Format, RGB_PVRTC_2BPPV1_Format, RGB_PVRTC_4BPPV1_Format, RGBA_S3TC_DXT5_Format, RGBA_S3TC_DXT3_Format, RGBA_S3TC_DXT1_Format, RGB_S3TC_DXT1_Form...
true
Other
mrdoob
three.js
680f499d6b227eae8764dcd7504ffa8d59a30173.json
Add file extension to import paths
src/renderers/webvr/WebVRManager.js
@@ -2,10 +2,10 @@ * @author mrdoob / http://mrdoob.com/ */ -import { Matrix4 } from '../../math/Matrix4'; -import { Vector4 } from '../../math/Vector4'; -import { ArrayCamera } from '../../cameras/ArrayCamera'; -import { PerspectiveCamera } from '../../cameras/PerspectiveCamera'; +import { Matrix4 } from '../../m...
true
Other
mrdoob
three.js
680f499d6b227eae8764dcd7504ffa8d59a30173.json
Add file extension to import paths
src/scenes/Fog.js
@@ -1,4 +1,4 @@ -import { Color } from '../math/Color'; +import { Color } from '../math/Color.js'; /** * @author mrdoob / http://mrdoob.com/
true
Other
mrdoob
three.js
680f499d6b227eae8764dcd7504ffa8d59a30173.json
Add file extension to import paths
src/scenes/FogExp2.js
@@ -1,4 +1,4 @@ -import { Color } from '../math/Color'; +import { Color } from '../math/Color.js'; /** * @author mrdoob / http://mrdoob.com/
true
Other
mrdoob
three.js
680f499d6b227eae8764dcd7504ffa8d59a30173.json
Add file extension to import paths
src/scenes/Scene.js
@@ -1,4 +1,4 @@ -import { Object3D } from '../core/Object3D'; +import { Object3D } from '../core/Object3D.js'; /** * @author mrdoob / http://mrdoob.com/
true
Other
mrdoob
three.js
680f499d6b227eae8764dcd7504ffa8d59a30173.json
Add file extension to import paths
src/textures/CanvasTexture.js
@@ -2,7 +2,7 @@ * @author mrdoob / http://mrdoob.com/ */ -import { Texture } from './Texture'; +import { Texture } from './Texture.js'; function CanvasTexture( canvas, mapping, wrapS, wrapT, magFilter, minFilter, format, type, anisotropy ) {
true
Other
mrdoob
three.js
680f499d6b227eae8764dcd7504ffa8d59a30173.json
Add file extension to import paths
src/textures/CompressedTexture.js
@@ -2,7 +2,7 @@ * @author alteredq / http://alteredqualia.com/ */ -import { Texture } from './Texture'; +import { Texture } from './Texture.js'; function CompressedTexture( mipmaps, width, height, format, type, mapping, wrapS, wrapT, magFilter, minFilter, anisotropy, encoding ) {
true
Other
mrdoob
three.js
680f499d6b227eae8764dcd7504ffa8d59a30173.json
Add file extension to import paths
src/textures/CubeTexture.js
@@ -2,8 +2,8 @@ * @author mrdoob / http://mrdoob.com/ */ -import { Texture } from './Texture'; -import { CubeReflectionMapping } from '../constants'; +import { Texture } from './Texture.js'; +import { CubeReflectionMapping } from '../constants.js'; function CubeTexture( images, mapping, wrapS, wrapT, magFilter...
true
Other
mrdoob
three.js
680f499d6b227eae8764dcd7504ffa8d59a30173.json
Add file extension to import paths
src/textures/DataTexture.js
@@ -2,8 +2,8 @@ * @author alteredq / http://alteredqualia.com/ */ -import { Texture } from './Texture'; -import { NearestFilter } from '../constants'; +import { Texture } from './Texture.js'; +import { NearestFilter } from '../constants.js'; function DataTexture( data, width, height, format, type, mapping, wra...
true
Other
mrdoob
three.js
680f499d6b227eae8764dcd7504ffa8d59a30173.json
Add file extension to import paths
src/textures/DepthTexture.js
@@ -3,8 +3,8 @@ * @author atix / arthursilber.de */ -import { Texture } from './Texture'; -import { NearestFilter, UnsignedShortType, UnsignedInt248Type, DepthFormat, DepthStencilFormat } from '../constants'; +import { Texture } from './Texture.js'; +import { NearestFilter, UnsignedShortType, UnsignedInt248Type, ...
true
Other
mrdoob
three.js
680f499d6b227eae8764dcd7504ffa8d59a30173.json
Add file extension to import paths
src/textures/Texture.js
@@ -4,12 +4,12 @@ * @author szimek / https://github.com/szimek/ */ -import { EventDispatcher } from '../core/EventDispatcher'; -import { UVMapping } from '../constants'; -import { MirroredRepeatWrapping, ClampToEdgeWrapping, RepeatWrapping, LinearEncoding, UnsignedByteType, RGBAFormat, LinearMipMapLinearFilter, L...
true
Other
mrdoob
three.js
680f499d6b227eae8764dcd7504ffa8d59a30173.json
Add file extension to import paths
src/textures/VideoTexture.js
@@ -2,7 +2,7 @@ * @author mrdoob / http://mrdoob.com/ */ -import { Texture } from './Texture'; +import { Texture } from './Texture.js'; function VideoTexture( video, mapping, wrapS, wrapT, magFilter, minFilter, format, type, anisotropy ) {
true
Other
mrdoob
three.js
62fd979644518d620f40f37882cb98dbf03cb6aa.json
Fix lgtm errors
examples/js/exporters/GLTFExporter.js
@@ -997,7 +997,7 @@ THREE.GLTFExporter.prototype = { if ( outputJSON.buffers && outputJSON.buffers.length > 0 ) { outputJSON.buffers[ 0 ].byteLength = blob.size; - objectURL = URL.createObjectURL( blob ); + var objectURL = URL.createObjectURL( blob ); var reader = new window.FileReader(); reader....
true
Other
mrdoob
three.js
62fd979644518d620f40f37882cb98dbf03cb6aa.json
Fix lgtm errors
examples/misc_exporter_gltf.html
@@ -263,16 +263,16 @@ // --------------------------------------------------------------------- // Groups // --------------------------------------------------------------------- - group1 = new THREE.Group(); + var group1 = new THREE.Group(); group1.name = "Group"; scene1.add( group1 ); ...
true
Other
mrdoob
three.js
3f4b554bb4a3fd854c9d6fa5aad551719c7fa622.json
Improve compatibility in SVGRenderer The opacity attribute for an object was encoded as rgba (only if the opacity was not 0 or 1). This worked OK if the SVG document was rendered in a browser, but not when rendered using Inkscape or Illustrator. In those programs a transparent object would be rendered as black since t...
examples/js/renderers/SVGRenderer.js
@@ -131,7 +131,7 @@ THREE.SVGRenderer = function () { if ( opacity === undefined || opacity === 1 ) return 'rgb(' + arg + ')'; - return 'rgba(' + arg + ',' + opacity + ')'; + return 'rgb(' + arg + '); fill-opacity: ' + opacity; }
false
Other
mrdoob
three.js
c318c586881d8ece16fe26de55bd0090e2df53ad.json
Fix additional offset
src/renderers/WebGLRenderer.js
@@ -1995,7 +1995,7 @@ function WebGLRenderer( parameters ) { var offset = uvScaleMap.offset; var repeat = uvScaleMap.repeat; var rotation = uvScaleMap.rotation; - uvScaleMap.matrix.setUvTransform( offset.x, offset.y, repeat.x, repeat.y, rotation, 0.5, 0.5 ); + uvScaleMap.matrix.setUv...
false
Other
mrdoob
three.js
eb70fbc5547b9894ce997ab64e78c6cda6e73d5d.json
Add setPath method to FontLoader
src/loaders/FontLoader.js
@@ -19,6 +19,7 @@ Object.assign( FontLoader.prototype, { var scope = this; var loader = new FileLoader( this.manager ); + loader.setPath( this.path ); loader.load( url, function ( text ) { var json; @@ -46,6 +47,13 @@ Object.assign( FontLoader.prototype, { return new Font( json ); + }, + + setP...
false
Other
mrdoob
three.js
cebc2aca2c57df591bb86f055c52d52c725e6079.json
Update TrackballControls tab consistency There were spaces instead of tab which breaks the consistency and throws off alignment in my text editor
examples/js/controls/TrackballControls.js
@@ -475,13 +475,13 @@ THREE.TrackballControls = function ( object, domElement ) { switch ( event.deltaMode ) { - case 2: - // Zoom in pages - _zoomStart.y -= event.deltaY * 0.025; - break; + case...
false
Other
mrdoob
three.js
b7e4d7b430540e2afe372b1a29d662af2ceaf262.json
improve camera position
examples/webgl_effects_parallaxbarrier.html
@@ -58,13 +58,14 @@ document.body.appendChild( container ); camera = new THREE.PerspectiveCamera( 45, window.innerWidth / window.innerHeight, 1, 2000 ); - camera.position.set( 200, 100, 200 ); + camera.position.set( 175, 100, 150 ); controls = new THREE.OrbitControls( camera ); - // controls...
false
Other
mrdoob
three.js
38aea0e4fa676a986adf95dea369658e5b9c857f.json
Fix conjugate method. see #13023.
src/math/Quaternion.js
@@ -395,7 +395,9 @@ Object.assign( Quaternion.prototype, { inverse: function () { - return this.conjugate().normalize(); + // quaternion is assumed to have unit length + + return this.conjugate(); },
false
Other
mrdoob
three.js
ad9093801bbb48c919b82e8514a175d8c26c537d.json
add invertTrProperty option to MTLLoader
docs/examples/loaders/MTLLoader.html
@@ -13,7 +13,7 @@ <h1>[name]</h1> <div class="desc">A loader for loading an <em>.mtl</em> resource, used internaly by [page:OBJMTLLoader] and [page:UTF8Loader].<br /> The Material Template Library format (MTL) or .MTL File Format is a companion file format to .OBJ that describes surface shading - (material) pr...
true
Other
mrdoob
three.js
ad9093801bbb48c919b82e8514a175d8c26c537d.json
add invertTrProperty option to MTLLoader
examples/js/loaders/MTLLoader.js
@@ -462,9 +462,11 @@ THREE.MTLLoader.MaterialCreator.prototype = { case 'tr': n = parseFloat( value ); - if ( n > 0 ) { + if ( this.options && this.options.invertTrProperty ) n = 1 - n; - params.opacity = 1 - n; + if ( n < 1 ) { + + params.opacity = n; params.transparent = tr...
true
Other
mrdoob
three.js
07d757661ebd729eb38a18ab2f0394dd3fa61d9b.json
Fix links to Frostbite PBR document.
src/lights/PointLight.js
@@ -17,14 +17,14 @@ function PointLight( color, intensity, distance, decay ) { get: function () { // intensity = power per solid angle. - // ref: equation (15) from http://www.frostbite.com/wp-content/uploads/2014/11/course_notes_moving_frostbite_to_pbr.pdf + // ref: equation (15) from https://seblagarde.f...
true
Other
mrdoob
three.js
07d757661ebd729eb38a18ab2f0394dd3fa61d9b.json
Fix links to Frostbite PBR document.
src/lights/SpotLight.js
@@ -21,14 +21,14 @@ function SpotLight( color, intensity, distance, angle, penumbra, decay ) { get: function () { // intensity = power per solid angle. - // ref: equation (17) from http://www.frostbite.com/wp-content/uploads/2014/11/course_notes_moving_frostbite_to_pbr.pdf + // ref: equation (17) from http...
true
Other
mrdoob
three.js
87fb3a6477e4d99e6168881e62f9f3586ff70403.json
Ignore unused materials in FBXLoader
examples/js/loaders/FBXLoader.js
@@ -401,7 +401,7 @@ for ( var nodeID in materialNodes ) { var material = parseMaterial( materialNodes[ nodeID ], textureMap, connections ); - materialMap.set( parseInt( nodeID ), material ); + if ( material !== null ) materialMap.set( parseInt( nodeID ), material ); } @@ -431,6 +431,10 @@ ...
false
Other
mrdoob
three.js
856b01d8e398e89f066e67b6de2ba7a580a12f1c.json
Fix logarithmicDepthBuffer bug
src/renderers/webgl/WebGLCapabilities.js
@@ -66,7 +66,7 @@ function WebGLCapabilities( gl, extensions, parameters ) { } - var logarithmicDepthBuffer = parameters.logarithmicDepthBuffer === true && !! extensions.get( 'EXT_frag_depth' ); + var logarithmicDepthBuffer = parameters.logarithmicDepthBuffer === true; var maxTextures = gl.getParameter( gl.MA...
false
Other
mrdoob
three.js
d01d6e04a1ef18297d0e080e3df398cffc1027c3.json
Limit zooming to remove distortion
examples/webgl_video_panorama_equirectangular.html
@@ -43,7 +43,7 @@ lon = 0, onMouseDownLon = 0, lat = 0, onMouseDownLat = 0, phi = 0, theta = 0, - distance = 500, + distance = 50, onPointerDownPointerX = 0, onPointerDownPointerY = 0, onPointerDownLon = 0, @@ -146,7 +146,7 @@ distance += event.deltaY * 0.05; - distance = THREE.M...
false
Other
mrdoob
three.js
32c143f7d678af9f32678222b3538f94f86a2b3d.json
Pass geometry and material into super constructor
examples/js/lines/Line2.js
@@ -2,7 +2,7 @@ console.warn( "THREE.Line2: As part of the transition to ES6 Modules, the files THREE.Line2 = function ( geometry, material ) { - THREE.LineSegments2.call( this ); + THREE.LineSegments2.call( this, geometry, material ); this.type = 'Line2';
true
Other
mrdoob
three.js
32c143f7d678af9f32678222b3538f94f86a2b3d.json
Pass geometry and material into super constructor
examples/js/lines/LineSegments2.js
@@ -2,7 +2,7 @@ console.warn( "THREE.LineSegments2: As part of the transition to ES6 Modules, th THREE.LineSegments2 = function ( geometry, material ) { - THREE.Mesh.call( this ); + THREE.Mesh.call( this, geometry, material ); this.type = 'LineSegments2';
true
Other
mrdoob
three.js
32c143f7d678af9f32678222b3538f94f86a2b3d.json
Pass geometry and material into super constructor
examples/jsm/lines/Line2.js
@@ -5,7 +5,7 @@ import { LineMaterial } from "../lines/LineMaterial.js"; var Line2 = function ( geometry, material ) { - LineSegments2.call( this ); + LineSegments2.call( this, geometry, material ); this.type = 'Line2';
true
Other
mrdoob
three.js
32c143f7d678af9f32678222b3538f94f86a2b3d.json
Pass geometry and material into super constructor
examples/jsm/lines/LineSegments2.js
@@ -13,7 +13,7 @@ import { LineMaterial } from "../lines/LineMaterial.js"; var LineSegments2 = function ( geometry, material ) { - Mesh.call( this ); + Mesh.call( this, geometry, material ); this.type = 'LineSegments2';
true
Other
mrdoob
three.js
0d67dea6b1a0fbf3eb26c432c41a680c1124f85e.json
Fix greek characters
examples/js/loaders/SVGLoader.js
@@ -698,11 +698,11 @@ THREE.SVGLoader.prototype = Object.assign( Object.create( THREE.Loader.prototype var cxp = q * rx * y1p / ry; var cyp = - q * ry * x1p / rx; - // Step 3: Compute (cx, cy) from (cx′, cy′) + // Step 3: Compute (cx, cy) from (cx', cy') var cx = Math.cos( x_axis_rotation ) * cxp ...
false
Other
mrdoob
three.js
f8c1beeb094c58528a8b5847facf8bdc5c9232c6.json
use WeakMap in WebGL(Properties|Attributes)
src/renderers/webgl/WebGLAttributes.js
@@ -4,7 +4,7 @@ function WebGLAttributes( gl ) { - var buffers = {}; + var buffers = new WeakMap(); function createBuffer( attribute, bufferType ) { @@ -101,21 +101,21 @@ function WebGLAttributes( gl ) { if ( attribute.isInterleavedBufferAttribute ) attribute = attribute.data; - return buffers[ attri...
true
Other
mrdoob
three.js
f8c1beeb094c58528a8b5847facf8bdc5c9232c6.json
use WeakMap in WebGL(Properties|Attributes)
src/renderers/webgl/WebGLProperties.js
@@ -4,17 +4,16 @@ function WebGLProperties() { - var properties = {}; + var properties = new WeakMap(); function get( object ) { - var uuid = object.uuid; - var map = properties[ uuid ]; + var map = properties.get( object ); if ( map === undefined ) { map = {}; - properties[ uuid ] = map; + ...
true
Other
mrdoob
three.js
6ab03f44db9b492444e55b9481543165dee1da36.json
fix the order of events in onMouseWheel
examples/js/controls/OrbitControls.js
@@ -765,9 +765,10 @@ THREE.OrbitControls = function ( object, domElement ) { event.preventDefault(); event.stopPropagation(); + scope.dispatchEvent( startEvent ); + handleMouseWheel( event ); - scope.dispatchEvent( startEvent ); // not sure why these are here... scope.dispatchEvent( endEvent ); }
false
Other
mrdoob
three.js
5f4b4925d8ebbc91b8b81e5e2f7074f02ded3ad3.json
add Matrix3Node and optimize UVTransformNode
examples/js/loaders/NodeMaterialLoader.js
@@ -214,6 +214,7 @@ Object.assign( THREE.NodeMaterialLoader.prototype, { break; + case "Matrix3Node": case "Matrix4Node": object.value.fromArray( node.elements ); @@ -321,7 +322,7 @@ Object.assign( THREE.NodeMaterialLoader.prototype, { case "UVTransformNode": object.uv = this.getN...
true
Other
mrdoob
three.js
5f4b4925d8ebbc91b8b81e5e2f7074f02ded3ad3.json
add Matrix3Node and optimize UVTransformNode
examples/js/nodes/NodeMaterial.js
@@ -21,6 +21,7 @@ THREE.NodeMaterial.types = { v2: 'vec2', v3: 'vec3', v4: 'vec4', + m3: 'mat3', m4: 'mat4' };
true
Other
mrdoob
three.js
5f4b4925d8ebbc91b8b81e5e2f7074f02ded3ad3.json
add Matrix3Node and optimize UVTransformNode
examples/js/nodes/inputs/Matrix3Node.js
@@ -0,0 +1,31 @@ +/** + * @author sunag / http://www.sunag.com.br/ + */ + +THREE.Matrix3Node = function ( matrix ) { + + THREE.InputNode.call( this, 'm3' ); + + this.value = matrix || new THREE.Matrix3(); + +}; + +THREE.Matrix3Node.prototype = Object.create( THREE.InputNode.prototype ); +THREE.Matrix3Node.prototype.con...
true
Other
mrdoob
three.js
5f4b4925d8ebbc91b8b81e5e2f7074f02ded3ad3.json
add Matrix3Node and optimize UVTransformNode
examples/js/nodes/utils/UVTransformNode.js
@@ -4,10 +4,10 @@ THREE.UVTransformNode = function () { - THREE.FunctionNode.call( this, "( uvTransform * vec4( uvNode, 0, 1 ) ).xy", "vec2" ); + THREE.FunctionNode.call( this, "( uvTransform * vec3( uvNode, 1 ) ).xy", "vec2" ); this.uv = new THREE.UVNode(); - this.transform = new THREE.Matrix4Node(); + this.t...
true
Other
mrdoob
three.js
5f4b4925d8ebbc91b8b81e5e2f7074f02ded3ad3.json
add Matrix3Node and optimize UVTransformNode
examples/webgl_materials_nodes.html
@@ -72,6 +72,7 @@ <script src="js/nodes/inputs/Vector3Node.js"></script> <script src="js/nodes/inputs/Vector4Node.js"></script> <script src="js/nodes/inputs/TextureNode.js"></script> + <script src="js/nodes/inputs/Matrix3Node.js"></script> <script src="js/nodes/inputs/Matrix4Node.js"></script> <script s...
true
Other
mrdoob
three.js
b67e37fa726a625b3ea0a5dc209e5d5019245d08.json
Add support for dashed lines
examples/js/lines/LineMaterial.js
@@ -4,14 +4,21 @@ * parameters = { * color: <hex>, * linewidth: <float>, + * dashed: <boolean>, + * dashScale: <float>, + * dashSize: <float>, + * gapSize: <float>, * resolution: <Vector2>, // to be set by renderer * } */ THREE.UniformsLib.line = { linewidth: { value: 1 }, - resolution: { valu...
true
Other
mrdoob
three.js
b67e37fa726a625b3ea0a5dc209e5d5019245d08.json
Add support for dashed lines
examples/js/lines/LineSegments2.js
@@ -20,6 +20,40 @@ THREE.LineSegments2.prototype = Object.assign( Object.create( THREE.Mesh.prototy isLineSegments2: true, + computeLineDistances: ( function () { // for backwards-compatability, but could be a method of LineSegmentsGeometry... + + var start = new THREE.Vector3(); + var end = new THREE.Vector3()...
true
Other
mrdoob
three.js
b67e37fa726a625b3ea0a5dc209e5d5019245d08.json
Add support for dashed lines
examples/js/lines/Wireframe.js
@@ -20,6 +20,40 @@ THREE.Wireframe.prototype = Object.assign( Object.create( THREE.Mesh.prototype ) isWireframe: true, + computeLineDistances: ( function () { // for backwards-compatability, but could be a method of LineSegmentsGeometry... + + var start = new THREE.Vector3(); + var end = new THREE.Vector3(); + ...
true
Other
mrdoob
three.js
b67e37fa726a625b3ea0a5dc209e5d5019245d08.json
Add support for dashed lines
examples/webgl_lines_fat.html
@@ -57,8 +57,9 @@ if ( ! Detector.webgl ) Detector.addGetWebGLMessage(); - var line, wireframe, renderer, scene, camera, controls; - var line1, wireframe1; + var line, renderer, scene, camera, controls; + var line1; + var matLine, matLineBasic, matLineDashed; var stats; var gui; @@ -80,7 +81...
true
Other
mrdoob
three.js
305938905e938196036840fb10670517c6020410.json
replace spaces with tabs
examples/webgl_lines_colorsplines.html
@@ -87,8 +87,8 @@ // Colors with BufferGeometry var buffGeometry0 = new THREE.BufferGeometry(), - buffGeometry1 = new THREE.BufferGeometry(), - buffGeometry2 = new THREE.BufferGeometry(); + buffGeometry1 = new THREE.BufferGeometry(), + buffGeometry2 = new THREE....
false
Other
mrdoob
three.js
907c5fd33342b82466819f8bd67f604ada5de205.json
Remove modifications webvr sandbox
examples/webvr_sandbox.html
@@ -24,7 +24,7 @@ <script> - var box, camera, scene, renderer, poseTarget; + var camera, scene, renderer; var reflector; @@ -123,15 +123,6 @@ mesh.receiveShadow = true; reflector.add( mesh ); - - box = new THREE.Mesh(new THREE.BoxGeometry()); - var boxPivot = new THREE.Object3D(); -...
false
Other
mrdoob
three.js
208d643b11b38906c4cc22c6841bc5c291a82a46.json
Add missing line
src/renderers/webvr/WebVRManager.js
@@ -132,6 +132,7 @@ function WebVRManager( renderer ) { standingMatrix.makeTranslation(0, scope.userHeight, 0); } + standingMatrixInverse.getInverse( standingMatrix ); poseObject.position.applyMatrix4( standingMatrix ); poseObject.updateMatrixWorld();
false
Other
mrdoob
three.js
59c50e7bac2c71463a95a57960118680d1c16d60.json
Fix poseObject transform (#2) * fix standing matrix application * demonstrate setPoseTarget * update build
examples/webvr_sandbox.html
@@ -24,7 +24,7 @@ <script> - var camera, scene, renderer; + var box, camera, scene, renderer, poseTarget; var reflector; @@ -123,6 +123,15 @@ mesh.receiveShadow = true; reflector.add( mesh ); + + box = new THREE.Mesh(new THREE.BoxGeometry()); + var boxPivot = new THREE.Object3D(); +...
true
Other
mrdoob
three.js
59c50e7bac2c71463a95a57960118680d1c16d60.json
Fix poseObject transform (#2) * fix standing matrix application * demonstrate setPoseTarget * update build
src/renderers/webvr/WebVRManager.js
@@ -112,26 +112,25 @@ function WebVRManager( renderer ) { poseObject.position.fromArray( pose.position ); - } + } if ( pose.orientation !== null ) { poseObject.quaternion.fromArray( pose.orientation ); } - poseObject.updateMatrixWorld(); - var stageParameters = device.stageParameters; -...
true
Other
mrdoob
three.js
f19cfa30688ec4bf0df96728e80eed0a7bdc5747.json
Remove redundant userHeight
examples/js/vr/ViveController.js
@@ -72,7 +72,7 @@ THREE.ViveController = function ( id ) { if ( pose.position !== null ) scope.position.fromArray( pose.position ); if ( pose.orientation !== null ) scope.quaternion.fromArray( pose.orientation ); scope.matrix.compose( scope.position, scope.quaternion, scope.scale ); - scope.matrix.multipl...
true
Other
mrdoob
three.js
f19cfa30688ec4bf0df96728e80eed0a7bdc5747.json
Remove redundant userHeight
src/renderers/webvr/WebVRManager.js
@@ -112,11 +112,7 @@ function WebVRManager( renderer ) { poseObject.position.fromArray( pose.position ); - } else { - - poseObject.position.set( 0, scope.userHeight, 0 ); - - } + } if ( pose.orientation !== null ) {
true
Other
mrdoob
three.js
cfd22c2c4f4621d770f3a5af68b0533e69af5959.json
Reintroduce standing matrix
examples/js/vr/ViveController.js
@@ -40,6 +40,7 @@ THREE.ViveController = function ( id ) { } this.matrixAutoUpdate = false; + this.standingMatrix = new THREE.Matrix4(); this.getGamepad = function () { @@ -71,6 +72,7 @@ THREE.ViveController = function ( id ) { if ( pose.position !== null ) scope.position.fromArray( pose.position ); ...
true
Other
mrdoob
three.js
cfd22c2c4f4621d770f3a5af68b0533e69af5959.json
Reintroduce standing matrix
examples/webvr_vive.html
@@ -58,7 +58,6 @@ scene.background = new THREE.Color( 0x505050 ); var user = new THREE.Group(); - user.position.set( 0, 1.6, 0 ); scene.add( user ); camera = new THREE.PerspectiveCamera( 70, window.innerWidth / window.innerHeight, 0.1, 10 ); @@ -165,9 +164,11 @@ // controllers con...
true
Other
mrdoob
three.js
cfd22c2c4f4621d770f3a5af68b0533e69af5959.json
Reintroduce standing matrix
examples/webvr_vive_dragging.html
@@ -59,7 +59,6 @@ scene.background = new THREE.Color( 0x808080 ); var user = new THREE.Group(); - user.position.set( 0, 1.6, 0 ); scene.add( user ); camera = new THREE.PerspectiveCamera( 70, window.innerWidth / window.innerHeight, 0.1, 10 ); @@ -143,11 +142,13 @@ // controllers co...
true
Other
mrdoob
three.js
cfd22c2c4f4621d770f3a5af68b0533e69af5959.json
Reintroduce standing matrix
examples/webvr_vive_paint.html
@@ -70,7 +70,6 @@ scene.background = new THREE.Color( 0x222222 ); var user = new THREE.Group(); - user.position.set( 0, 1.6, 0 ); scene.add( user ); camera = new THREE.PerspectiveCamera( 70, window.innerWidth / window.innerHeight, 0.01, 50 ); @@ -142,11 +141,13 @@ // controllers c...
true
Other
mrdoob
three.js
cfd22c2c4f4621d770f3a5af68b0533e69af5959.json
Reintroduce standing matrix
examples/webvr_vive_sculpt.html
@@ -60,7 +60,6 @@ scene.background = new THREE.Color( 0x222222 ); var user = new THREE.Group(); - user.position.set( 0, 1.6, 0 ); scene.add( user ); camera = new THREE.PerspectiveCamera( 70, window.innerWidth / window.innerHeight, 0.01, 50 ); @@ -124,9 +123,11 @@ // controllers co...
true
Other
mrdoob
three.js
cfd22c2c4f4621d770f3a5af68b0533e69af5959.json
Reintroduce standing matrix
src/Three.Legacy.js
@@ -1587,16 +1587,6 @@ Object.defineProperties( WebGLRenderTarget.prototype, { // -Object.assign( WebVRManager.prototype, { - - getStandingMatrix: function () { - - console.warn( 'THREE.WebVRManager: .getStandingMatrix() has been removed.' ); - - } - -} ); - Object.defineProperties( WebVRManager.prototype, { ...
true
Other
mrdoob
three.js
cfd22c2c4f4621d770f3a5af68b0533e69af5959.json
Reintroduce standing matrix
src/renderers/webvr/WebVRManager.js
@@ -16,6 +16,11 @@ function WebVRManager( renderer ) { var poseTarget = null; + var standingMatrix = new Matrix4(); + var standingMatrixInverse = new Matrix4(); + + scope.userHeight = 1.6; + if ( typeof window !== 'undefined' && 'VRFrameData' in window ) { frameData = new window.VRFrameData(); @@ -109,7 +1...
true
Other
mrdoob
three.js
3ee08f5c14e67670a2d4ab10174f44d62a1cca38.json
Update DirectionalLightShadow.html (#23952) * Update DirectionalLightShadow.html DirectionalLight only takes two arguments in it's constructor now. * Update DirectionalLightShadow.html Co-authored-by: Michael Herzog <michael.herzog@human-interactive.org>
docs/api/en/lights/shadows/DirectionalLightShadow.html
@@ -28,7 +28,7 @@ <h2>Code Example</h2> renderer.shadowMap.type = THREE.PCFSoftShadowMap; // default THREE.PCFShadowMap //Create a DirectionalLight and turn on shadows for the light - const light = new THREE.DirectionalLight( 0xffffff, 1, 100 ); + const light = new THREE.DirectionalLight( 0xffffff, 1 ); li...
true
Other
mrdoob
three.js
3ee08f5c14e67670a2d4ab10174f44d62a1cca38.json
Update DirectionalLightShadow.html (#23952) * Update DirectionalLightShadow.html DirectionalLight only takes two arguments in it's constructor now. * Update DirectionalLightShadow.html Co-authored-by: Michael Herzog <michael.herzog@human-interactive.org>
docs/api/zh/lights/shadows/DirectionalLightShadow.html
@@ -25,7 +25,7 @@ <h2>代码示例</h2> renderer.shadowMap.type = THREE.PCFSoftShadowMap; // default THREE.PCFShadowMap //Create a DirectionalLight and turn on shadows for the light - const light = new THREE.DirectionalLight( 0xffffff, 1, 100 ); + const light = new THREE.DirectionalLight( 0xffffff, 1 ); light.posi...
true
Other
mrdoob
three.js
6857d8de673a529ca75b2cd3dcaa8c89b5683a46.json
make DOF work again.
examples/js/postprocessing/BokehPass.js
@@ -33,6 +33,8 @@ THREE.BokehPass = function ( scene, camera, params ) { // depth material this.materialDepth = new THREE.MeshDepthMaterial(); + this.materialDepth.depthPacking = THREE.RGBADepthPacking; + this.materialDepth.blending = THREE.NoBlending; // bokeh material @@ -51,8 +53,11 @@ THREE.BokehPass = ...
true
Other
mrdoob
three.js
6857d8de673a529ca75b2cd3dcaa8c89b5683a46.json
make DOF work again.
examples/js/shaders/BokehShader.js
@@ -8,14 +8,21 @@ THREE.BokehShader = { + defines: { + "DEPTH_PACKING": 1, + "PERSPECTIVE_CAMERA": 1, + }, + uniforms: { "tColor": { value: null }, "tDepth": { value: null }, "focus": { value: 1.0 }, "aspect": { value: 1.0 }, "aperture": { value: 0.025 }, - "maxblur": { value: 1.0 }...
true
Other
mrdoob
three.js
6857d8de673a529ca75b2cd3dcaa8c89b5683a46.json
make DOF work again.
examples/webgl_postprocessing_dof.html
@@ -176,26 +176,27 @@ var effectController = { - focus: 1.0, - aperture: 0.025, + focus: 500.0, + aperture: 5, maxblur: 1.0 }; var matChanger = function( ) { postprocessing.bokeh.uniforms[ "focus" ].value = effectController.focus; - postprocessing.bokeh.unif...
true
Other
mrdoob
three.js
8d208786312da8ca3000a6b584948c0b6cb70ec1.json
Fix camera in x-loader example
examples/webgl_loader_x.html
@@ -215,13 +215,13 @@ renderer.setSize(window.innerWidth, window.innerHeight); container.appendChild(renderer.domElement); + camera.position.set(2, 18, 28); + camera.up.set(0, 1, 0); + controls = new THREE.OrbitControls(camera, renderer.domElement); controls.target.set(0, 12, 0);...
false
Other
mrdoob
three.js
5e64b96df5b674a9d83ba1bb76d6cf35329c0e08.json
Remove accidental white space
src/math/Sphere.js
@@ -104,14 +104,13 @@ Object.assign( Sphere.prototype, { return box.intersectsSphere( this ); }, - + intersectsPlane: function ( plane ) { return Math.abs( plane.distanceToPoint( this.center ) ) <= this.radius; }, - clampPoint: function ( point, optionalTarget ) { var deltaLengthSq = this.ce...
false
Other
mrdoob
three.js
5806d75e8cbca6e5e5bdccc16bc2b5f3424367f7.json
Fix distance of sphere center to plane As per issue #11818, use Hessian Normal Form for calculating distance of sphere center to plane when determining if the sphere intersects a plane.
src/math/Sphere.js
@@ -104,21 +104,14 @@ Object.assign( Sphere.prototype, { return box.intersectsSphere( this ); }, - + intersectsPlane: function ( plane ) { - // We use the following equation to compute the signed distance from - // the center of the sphere to the plane. - // - // distance = q * n - d - // - // If this...
false
Other
mrdoob
three.js
4f29dbb180772ae44d8d97544113709e226eeb87.json
Fix export for multiple materials per mesh.
utils/exporters/blender/addons/io_three/exporter/api/object.py
@@ -98,11 +98,12 @@ def cast_shadow(obj): ret = None return ret elif obj.type == MESH: - mat = material(obj) - if mat: - return data.materials[mat].use_cast_shadows - else: - return False + mats = material(obj) + if mats: + f...
true
Other
mrdoob
three.js
4f29dbb180772ae44d8d97544113709e226eeb87.json
Fix export for multiple materials per mesh.
utils/exporters/blender/addons/io_three/exporter/object.py
@@ -90,13 +90,21 @@ def _node_setup(self): if self.options.get(constants.MATERIALS): logger.info("Parsing materials for %s", self.node) - material_name = api.object.material(self.node) - if material_name: - logger.info("Material found %s", material_name) - ...
true
Other
mrdoob
three.js
c24eed3903ba6841eedb1ac3976e2ed21cc26297.json
Remove THREE. prefix from Vector3
src/materials/MeshDistanceMaterial.js
@@ -1,4 +1,5 @@ import { Material } from './Material'; +import { Vector3 } from '../math/Vector3.js'; /** * @author WestLangley / http://github.com/WestLangley @@ -29,7 +30,7 @@ function MeshDistanceMaterial( parameters ) { this.type = 'MeshDistanceMaterial'; - this.referencePosition = new THREE.Vector3(); ...
false
Other
mrdoob
three.js
5740f920b35a8771be6bc7aede740e906de7a417.json
WebGLShadowMap minor clean up.
src/renderers/WebGLRenderer.js
@@ -309,7 +309,7 @@ function WebGLRenderer( parameters ) { // shadow map - var shadowMap = new WebGLShadowMap( this, shadowsArray, objects, capabilities ); + var shadowMap = new WebGLShadowMap( _this, shadowsArray, objects, capabilities.maxTextureSize ); this.shadowMap = shadowMap;
true
Other
mrdoob
three.js
5740f920b35a8771be6bc7aede740e906de7a417.json
WebGLShadowMap minor clean up.
src/renderers/webgl/WebGLShadowMap.js
@@ -15,15 +15,15 @@ import { Vector2 } from '../../math/Vector2'; import { Matrix4 } from '../../math/Matrix4'; import { Frustum } from '../../math/Frustum'; -function WebGLShadowMap( _renderer, _shadows, _objects, capabilities ) { +function WebGLShadowMap( _renderer, _shadows, _objects, maxTextureSize ) { var ...
true
Other
mrdoob
three.js
efccbfee0d27bf44503454d3d9f292b76a243f3e.json
Correct some inaccuracies and clean up
docs/api/math/Plane.html
@@ -11,9 +11,8 @@ <h1>[name]</h1> <div class="desc"> - A two dimensional surface that extends infinitely in 3d space, defined by - a [link:https://en.wikipedia.org/wiki/Normal_(geometry) normal vector], and a - distance from the origin along the normal. + A two dimensional surface that extends infinitel...
false