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
8ed3615868c79154cb9f21474321b65750b3f7b2.json
add support for cineon tone mapping.
src/renderers/shaders/ShaderChunk/tonemapping_pars_fragment.glsl
@@ -3,23 +3,37 @@ uniform float toneMappingExposure; uniform float toneMappingWhitePoint; +// exposure only vec3 LinearToneMapping( vec3 color ) { return toneMappingExposure * color; } + +// source: https://www.cs.utah.edu/~reinhard/cdrom/ vec3 ReinhardToneMapping( vec3 color ) { color *= toneMapping...
true
Other
mrdoob
three.js
8ed3615868c79154cb9f21474321b65750b3f7b2.json
add support for cineon tone mapping.
src/renderers/webgl/WebGLProgram.js
@@ -59,6 +59,9 @@ THREE.WebGLProgram = ( function () { case THREE.Uncharted2ToneMapping: toneMappingName = "Uncharted2"; break; + case THREE.CineonToneMapping: + toneMappingName = "OptimizedCineon"; + break; default: throw new Error( 'unsupported toneMapping: ' + toneMapping );
true
Other
mrdoob
three.js
b39d8c896a0e33ef4cbb5cf527680f03fd170f7e.json
add premultiplied alpha example.
examples/files.js
@@ -135,6 +135,7 @@ var files = { "webgl_materials_texture_manualmipmap", "webgl_materials_texture_pvrtc", "webgl_materials_texture_tga", + "webgl_materials_transparency", "webgl_materials_variations_basic", "webgl_materials_variations_lambert", "webgl_materials_variations_phong",
true
Other
mrdoob
three.js
b39d8c896a0e33ef4cbb5cf527680f03fd170f7e.json
add premultiplied alpha example.
examples/webgl_materials_transparency.html
@@ -0,0 +1,252 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <title>threejs webgl - materials</title> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0"> + <style> + body { + color: #fff; + font-family:Monospace; + font...
true
Other
mrdoob
three.js
03cf74ccffe7b931c052f357bb43123ba0749d67.json
Fix proposal for #8244 Make the parseTrackNam()e regular expression more lenient to accommodate bone names that contain '-' characters.
src/animation/PropertyBinding.js
@@ -543,7 +543,7 @@ THREE.PropertyBinding.parseTrackName = function( trackName ) { // .bone[Armature.DEF_cog].position // created and tested via https://regex101.com/#javascript - var re = /^(([\w]+\/)*)([\w-\d]+)?(\.([\w]+)(\[([\w\d\[\]\_. ]+)\])?)?(\.([\w.]+)(\[([\w\d\[\]\_. ]+)\])?)$/; + var re = /^(([\w]+\/...
false
Other
mrdoob
three.js
92361214137bb261bc86d024cd2640b89bf6e404.json
support pre-multipled alpha on materials.
src/materials/Material.js
@@ -40,6 +40,8 @@ THREE.Material = function () { this.alphaTest = 0; + this.premultipliedAlpha = false; + this.overdraw = 0; // Overdrawn pixels (typically between 0 and 1) for fixing antialiasing gaps in CanvasRenderer this.visible = true;
true
Other
mrdoob
three.js
92361214137bb261bc86d024cd2640b89bf6e404.json
support pre-multipled alpha on materials.
src/renderers/shaders/ShaderChunk/premultiply_alpha_fragment.glsl
@@ -0,0 +1,6 @@ +#if PREMULTIPLIED_ALPHA + + // Get get normal blending with premultipled, use with CustomBlending, OneFactor, OneMinusSrcAlphaFactor, AddEquation. + gl_FragColor.rgb *= gl_FragColor.a; + +#endif
true
Other
mrdoob
three.js
92361214137bb261bc86d024cd2640b89bf6e404.json
support pre-multipled alpha on materials.
src/renderers/shaders/ShaderLib/linedashed_frag.glsl
@@ -30,5 +30,6 @@ void main() { gl_FragColor = linearToOutputTexel( vec4( outgoingLight, diffuseColor.a ) ); #include <fog_fragment> + #include <premultiply_alpha_fragment> }
true
Other
mrdoob
three.js
92361214137bb261bc86d024cd2640b89bf6e404.json
support pre-multipled alpha on materials.
src/renderers/shaders/ShaderLib/meshbasic_frag.glsl
@@ -45,5 +45,6 @@ void main() { gl_FragColor = linearToOutputTexel( vec4( outgoingLight, diffuseColor.a ) ); #include <fog_fragment> + #include <premultiply_alpha_fragment> }
true
Other
mrdoob
three.js
92361214137bb261bc86d024cd2640b89bf6e404.json
support pre-multipled alpha on materials.
src/renderers/shaders/ShaderLib/meshlambert_frag.glsl
@@ -72,5 +72,6 @@ void main() { gl_FragColor = linearToOutputTexel( vec4( outgoingLight, diffuseColor.a ) ); #include <fog_fragment> + #include <premultiply_alpha_fragment> }
true
Other
mrdoob
three.js
92361214137bb261bc86d024cd2640b89bf6e404.json
support pre-multipled alpha on materials.
src/renderers/shaders/ShaderLib/meshphong_frag.glsl
@@ -56,5 +56,6 @@ void main() { gl_FragColor = linearToOutputTexel( vec4( outgoingLight, diffuseColor.a ) ); #include <fog_fragment> + #include <premultiply_alpha_fragment> }
true
Other
mrdoob
three.js
92361214137bb261bc86d024cd2640b89bf6e404.json
support pre-multipled alpha on materials.
src/renderers/shaders/ShaderLib/meshstandard_frag.glsl
@@ -68,5 +68,6 @@ void main() { gl_FragColor = linearToOutputTexel( vec4( outgoingLight, diffuseColor.a ) ); #include <fog_fragment> + #include <premultiply_alpha_fragment> }
true
Other
mrdoob
three.js
92361214137bb261bc86d024cd2640b89bf6e404.json
support pre-multipled alpha on materials.
src/renderers/shaders/ShaderLib/points_frag.glsl
@@ -23,5 +23,6 @@ void main() { gl_FragColor = linearToOutputTexel( vec4( outgoingLight, diffuseColor.a ) ); #include <fog_fragment> + #include <premultiply_alpha_fragment> }
true
Other
mrdoob
three.js
92361214137bb261bc86d024cd2640b89bf6e404.json
support pre-multipled alpha on materials.
src/renderers/webgl/WebGLProgram.js
@@ -491,6 +491,8 @@ THREE.WebGLProgram = ( function () { parameters.shadowMapEnabled ? '#define ' + shadowMapTypeDefine : '', parameters.pointLightShadows > 0 ? '#define POINT_LIGHT_SHADOWS' : '', + parameters.premultipliedAlpha ? "#define PREMULTIPLIED_ALPHA" : '' + parameters.logarithmicDepthBuffe...
true
Other
mrdoob
three.js
964e08beef081892f95434567136986c25e53596.json
fix bug in encodings.glsl
examples/js/pmrem/PMREMGenerator.js
@@ -82,7 +82,7 @@ THREE.PMREMGenerator.prototype = { renderer.gammaInput = renderer.gammaInput; renderer.gammaOutput = renderer.gammaOutput; - + }, renderToCubeMapTarget: function( renderer, renderTarget ) { @@ -219,7 +219,13 @@ THREE.PMREMGenerator.prototype = { rgbColor /= float(NumS...
true
Other
mrdoob
three.js
964e08beef081892f95434567136986c25e53596.json
fix bug in encodings.glsl
examples/js/pmrem/PMREM_CubeUVPacker.js
@@ -11,7 +11,7 @@ THREE.PMREM_CubeUVPacker = function( cubeTextureLods, numLods ) { var size = cubeTextureLods[ 0 ].width * 4; this.CubeUVRenderTarget = new THREE.WebGLRenderTarget( size, size, - { format: THREE.RGBAFormat, magFilter: THREE.LinearFilter, minFilter: THREE.LinearFilter, type:cubeTextureLods[ 0 ].ty...
true
Other
mrdoob
three.js
964e08beef081892f95434567136986c25e53596.json
fix bug in encodings.glsl
examples/webgl_materials_envmaps_hdr.html
@@ -99,20 +99,23 @@ renderer = new THREE.WebGLRenderer( { alpha:true, antialias: true } ); var hdrType = THREE.UnsignedByteType; - /* if ( renderer.extensions.get( 'OES_texture_half_float' ) && renderer.extensions.get( 'OES_texture_half_float_linear' ) ) { + if ( renderer.extensions.get( 'OES_textu...
true
Other
mrdoob
three.js
964e08beef081892f95434567136986c25e53596.json
fix bug in encodings.glsl
src/renderers/shaders/ShaderChunk/encodings.glsl
@@ -19,12 +19,12 @@ vec4 LinearTosRGB( in vec4 value ) { } vec4 RGBEToLinear( in vec4 value ) { - return vec4( value.rgb * exp2( value.a * 256.0 - 128.0 ), 1.0 ); + return vec4( value.rgb * exp2( value.a * 255.0 - 128.0 ), 1.0 ); } vec4 LinearToRGBE( in vec4 value ) { float maxComponent = max( max( value.r, ...
true
Other
mrdoob
three.js
55a5c38d1aae9a00e82c3885c236853906604e30.json
remove unused code.
examples/js/pmrem/PMREM_CubeUVPacker.js
@@ -45,17 +45,6 @@ THREE.PMREM_CubeUVPacker = function( cubeTextureLods, numLods ) { var mipOffsetY = 0; var mipSize = size; - /* - var testColor = []; - testColor.push( new THREE.Vector3( 1, 0, 0 ) ); - testColor.push( new THREE.Vector3( 0, 1, 0 ) ); - testColor.push( new THREE.Vector3( 0, 0, 1 ...
false
Other
mrdoob
three.js
54d2c68d934f8bd696d555b5322df750d9f76581.json
add proper source for toHalf.
examples/js/Half.js
@@ -1,5 +1,5 @@ /** - * @author Prashant Sharma / spidersharma03 + * Source: http://gamedev.stackexchange.com/questions/17326/conversion-of-a-number-from-single-precision-floating-point-representation-to-a/17410#17410 */ THREE.toHalf = (function() {
false
Other
mrdoob
three.js
e8f7f3df96fcf4a1af6a4e16190b14d57b2c6fdd.json
add bevelSegments parameter
docs/api/geometries/TextGeometry.html
@@ -1,138 +1,139 @@ -<!DOCTYPE html> -<html lang="en"> - <head> +<!DOCTYPE html> +<html lang="en"> + <head> <meta charset="utf-8" /> - <base href="../../" /> - <script src="list.js"></script> - <script src="page.js"></script> - <link type="text/css" rel="stylesheet" href="page.css" /> - </head> - <body> - [...
false
Other
mrdoob
three.js
73f36b774ca99b66c68b18a1353fbf1b1e7a3fd2.json
Update scene and camera matrices once, globally.
examples/js/loaders/GLTFLoader.js
@@ -107,6 +107,15 @@ THREE.GLTFLoader = ( function () { update: function ( scene, camera ) { + // update scene graph + + scene.updateMatrixWorld(); + + // update camera matrices and frustum + + camera.updateMatrixWorld(); + camera.matrixWorldInverse.getInverse( camera.matrixWorld ); + for ( ...
false
Other
mrdoob
three.js
c728a0538308874de38b0fc98882876cd55766b5.json
Implement issue #10506
src/renderers/shaders/ShaderLib/normal_frag.glsl
@@ -28,7 +28,4 @@ void main() { gl_FragColor = vec4( packNormalToRGB( normal ), opacity ); - #include <premultiplied_alpha_fragment> - #include <encodings_fragment> - }
false
Other
mrdoob
three.js
d22e472012f1c3891ee450c8ed5b26ec75f1432d.json
Add an author
examples/js/loaders/GLTFLoader.js
@@ -2,6 +2,7 @@ * @author Rich Tibbett / https://github.com/richtr * @author mrdoob / http://mrdoob.com/ * @author Tony Parisi / http://www.tonyparisi.com/ + * @author Takahiro / https://github.com/takahirox */ THREE.GLTFLoader = ( function () {
false
Other
mrdoob
three.js
756df409752902dd860790bcebb25d6f6cdc8c09.json
Add WEBGL constants for some technique.states
examples/js/loaders/GLTFLoader.js
@@ -345,6 +345,48 @@ THREE.GLTFLoader = ( function () { 10497: THREE.RepeatWrapping }; + var WEBGL_SIDES = { + 1028: THREE.BackSide, // Culling front + 1029: THREE.FrontSide // Culling back + //1032: THREE.NoSide // Culling front and back, what to do? + }; + + var WEBGL_DEPTH_FUNCS = { + 512: THREE.Never...
false
Other
mrdoob
three.js
169e97e97226653691446334cddf374065ba3537.json
Replace a tab with a space
examples/js/loaders/GLTFLoader.js
@@ -1044,7 +1044,7 @@ THREE.GLTFLoader = ( function () { } - } else { + } else { if ( shaderParam && shaderParam.value ) {
false
Other
mrdoob
three.js
6a53e95c2257c39d8a15b76779f38175c899ed8c.json
Add bone graph to SkinnedMesh
examples/js/loaders/GLTFLoader.js
@@ -1622,6 +1622,31 @@ THREE.GLTFLoader = ( function () { child.bind( new THREE.Skeleton( bones, boneInverses, false ), skinEntry.bindShapeMatrix ); + var buildBoneGraph = function ( parentJson, parentObject, property ) { + + var children = parentJson[ property ]; + + if ( childr...
false
Other
mrdoob
three.js
654e95dc47d1a143efdf074d9a6736ef0531f901.json
Add default material
examples/js/loaders/GLTFLoader.js
@@ -534,6 +534,20 @@ THREE.GLTFLoader = ( function () { } + function createDefaultMaterial() { + + return new THREE.MeshPhongMaterial( { + color: 0x00000, + emissive: 0x888888, + specular: 0x000000, + shininess: 0, + transparent: false, + depthTest: true, + side: THREE.FrontSide + } ); + + }; + ...
false
Other
mrdoob
three.js
5cb64c0324cf67c5dff50aca13c7e6a5f50e9d78.json
Remove Bone.skin assignment
examples/js/loaders/GLTFLoader.js
@@ -1590,7 +1590,6 @@ THREE.GLTFLoader = ( function () { if ( jointNode ) { - jointNode.skin = child; bones.push( jointNode ); var m = skinEntry.inverseBindMatrices.array;
false
Other
mrdoob
three.js
96893766ca6adf918cb21a30e8abc4b3b7c18223.json
Remove _node.matrixAutoUpdate = false;
examples/js/loaders/GLTFLoader.js
@@ -1447,8 +1447,6 @@ THREE.GLTFLoader = ( function () { if ( node.extras ) _node.userData = node.extras; - _node.matrixAutoUpdate = false; - if ( node.matrix !== undefined ) { matrix.fromArray( node.matrix );
false
Other
mrdoob
three.js
9020017a802f693a1b00d28921af1b9b76c514c0.json
Support non-declared buffer.type
examples/js/loaders/GLTFLoader.js
@@ -694,7 +694,7 @@ THREE.GLTFLoader = ( function () { return _each( json.buffers, function ( buffer ) { - if ( buffer.type === 'arraybuffer' ) { + if ( buffer.type === 'arraybuffer' || buffer.type === undefined ) { return new Promise( function ( resolve ) { @@ -708,6 +708,10 @@ THREE.GLTFLoader = (...
false
Other
mrdoob
three.js
1f8fd19d67108970fcfbc876432d6a51ebc9d5ba.json
Remove an extra space
examples/js/loaders/GLTFLoader.js
@@ -1676,7 +1676,7 @@ THREE.GLTFLoader = ( function () { lightNode = new THREE.PointLight( color ); break; - case "spot ": + case "spot": lightNode = new THREE.SpotLight( color ); lightNode.position.set( 0, 0, 1 ); break;
false
Other
mrdoob
three.js
49648f31e09e38ae4eb0d8ad5f6e2be84340c74c.json
Remove intermediate interpolators.
examples/js/loaders/GLTFLoader.js
@@ -254,36 +254,6 @@ THREE.GLTFLoader = ( function () { }; - function createAnimation( name, interps ) { - - var tracks = []; - - for ( var i = 0, len = interps.length; i < len; i ++ ) { - - var interp = interps[ i ]; - - // KeyframeTrack.optimize() will modify given 'times' and 'values' - // buffers befo...
false
Other
mrdoob
three.js
7c0a7849c093e4fa46c9c3b29d1e2f6d68d7c3ee.json
Keep mesh names `name` is the primitive index. Since most meshes have only one primitive, just use the group name for index 0.
examples/js/loaders/GLTFLoader.js
@@ -1224,6 +1224,7 @@ THREE.GLTFLoader = ( function () { var meshNode = new THREE.Mesh( geometry, material ); meshNode.castShadow = true; + meshNode.name = ( name === "0" ? group.name : group.name + name ); if ( primitive.extras ) meshNode.userData = primitive.extras; @@ -1271,6 +1272,8 ...
false
Other
mrdoob
three.js
a44f6e6cd9fa60f3b50113615ab1fdcbf2887eb4.json
remove calculations inside 'const' declarations
examples/js/SkyShader.js
@@ -49,17 +49,20 @@ THREE.ShaderLib[ 'sky' ] = { // wavelength of used primaries, according to preetham "const vec3 lambda = vec3( 680E-9, 550E-9, 450E-9 );", - // this pre-calcuation replaces older TotalRayleigh(vec3 lambda) function + // this pre-calcuation replaces older TotalRayleigh(vec3 lambda) function...
false
Other
mrdoob
three.js
d6dd44d2470c86e2b35aff1502271ecb414482b9.json
Fix default value for divisions
src/extras/core/Curve.js
@@ -67,7 +67,7 @@ Curve.prototype = { getPoints: function ( divisions ) { - if ( ! divisions ) divisions = 5; + if ( isNaN( divisions ) ) divisions = 5; var points = []; @@ -85,7 +85,7 @@ Curve.prototype = { getSpacedPoints: function ( divisions ) { - if ( ! divisions ) divisions = 5; + if ( isNa...
true
Other
mrdoob
three.js
d6dd44d2470c86e2b35aff1502271ecb414482b9.json
Fix default value for divisions
src/extras/core/CurvePath.js
@@ -139,7 +139,7 @@ CurvePath.prototype = Object.assign( Object.create( Curve.prototype ), { getSpacedPoints: function ( divisions ) { - if ( ! divisions ) divisions = 40; + if ( isNaN( divisions ) ) divisions = 40; var points = [];
true
Other
mrdoob
three.js
d324144d5e4c16aef5894ccceb9ff390e0a66d2f.json
remove duplicate start end points
examples/webgl_geometry_text_earcut.html
@@ -47,38 +47,54 @@ <!-- replace built-in triangulation with Earcut --> <script src="js/libs/earcut.js"></script> <script> + + function removeDupEndPts(points) { + + var l = points.length; + if ( l > 2 && points[ l - 1 ].equals( points[ 0 ] ) ) { + points.pop(); + } + } + functio...
false
Other
mrdoob
three.js
5b1b197305a7bdfa58e118ece1ee7375a6560dbf.json
Fix DragControls for containers not at (0,0) If the container (renderer.domElement) is not at the top-left corner of the browser, the hit-test will always fail. The `TransformControl` is using the correct way, so it doesn't have such issue.
examples/js/controls/DragControls.js
@@ -52,8 +52,10 @@ THREE.DragControls = function ( _objects, _camera, _domElement ) { event.preventDefault(); - _mouse.x = ( event.clientX / _domElement.clientWidth ) * 2 - 1; - _mouse.y = - ( event.clientY / _domElement.clientHeight ) * 2 + 1; + var rect = _domElement.getBoundingClientRect(); + + _mouse.x =...
false
Other
mrdoob
three.js
f0cace5c2c9d7a22cec30a50ee61125e1de5f551.json
docs list.js code style whitespace
docs/list.js
@@ -1,5 +1,7 @@ var list = { + "Manual": { + "Getting Started": { "Creating a scene": "manual/introduction/Creating-a-scene", "Detecting WebGL and browser compatibility": "manual/introduction/Detecting-WebGL-and-browser-compatibility", @@ -11,16 +13,21 @@ var list = { ...
false
Other
mrdoob
three.js
63e96283bc23e6ea7f9544d4f31881b5518c724a.json
Compute ParametricGeometry normals from derivative
src/geometries/ParametricGeometry.js
@@ -36,6 +36,7 @@ ParametricGeometry.prototype.constructor = ParametricGeometry; import { BufferGeometry } from '../core/BufferGeometry'; import { Float32BufferAttribute } from '../core/BufferAttribute'; +import { Vector3 } from '../math/Vector3'; function ParametricBufferGeometry( func, slices, stacks ) { @@ ...
false
Other
mrdoob
three.js
64eda9dac1be2cd68ad665ff945d155940f6c364.json
add target to iframe on links
examples/index.html
@@ -249,7 +249,7 @@ <h1><a href="http://threejs.org">three.js</a> / examples</h1> </div> <div id="content"></div> </div> - <iframe id="viewer" allowfullscreen onmousewheel=""></iframe> + <iframe id="viewer" name="viewer" allowfullscreen onmousewheel=""></iframe> <script src="files.js"></script> <sc...
false
Other
mrdoob
three.js
a38973324823f5724d555f6ea1e2d9f00188ed8f.json
Add AudioLoader.js to common.json
utils/build/includes/common.json
@@ -68,6 +68,7 @@ "src/lights/HemisphereLight.js", "src/lights/PointLight.js", "src/lights/SpotLight.js", + "src/loaders/AudioLoader.js", "src/loaders/Cache.js", "src/loaders/Loader.js", "src/loaders/XHRLoader.js",
false
Other
mrdoob
three.js
93700224815b452b9592f195a66345d28b548e31.json
Fix missing return
src/audio/Audio.js
@@ -47,6 +47,8 @@ THREE.Audio.prototype.load = function( url ) { this.setBuffer( buffer ); }); + return this; + }; THREE.Audio.prototype.setNodeSource = function( audioNode ) {
false
Other
mrdoob
three.js
bf5d23f461f0ecc5ab18a78469877998085ffa7b.json
Add backwards compatibility to THREE.Audio's .load
src/audio/Audio.js
@@ -37,10 +37,16 @@ THREE.Audio.prototype.getOutput = function() { }; -THREE.Audio.prototype.load = function() { +THREE.Audio.prototype.load = function( url ) { console.warn( 'THREE.Audio: .load has been deprecated. Please use THREE.AudioLoader.' ); + var audioLoader = new THREE.AudioLoader(this.context); + ...
false
Other
mrdoob
three.js
885c49edd3e09a5fc5dd3ff8cde1b03d6f4c1ac9.json
Update misc_sound example to use THREE.AudioLoader
examples/misc_sound.html
@@ -78,6 +78,8 @@ var listener = new THREE.AudioListener(); camera.add( listener ); + var audioLoader = new THREE.AudioLoader(listener.context); + scene = new THREE.Scene(); scene.fog = new THREE.FogExp2( 0x000000, 0.0025 ); @@ -99,9 +101,11 @@ scene.add( mesh1 ); var sound1 = new...
false
Other
mrdoob
three.js
990d18910101fa60f431b4fe985503944cd9c842.json
Set flipY to true on loaded tga textures
examples/webgl_materials_texture_tga.html
@@ -43,7 +43,7 @@ var SCREEN_WIDTH = window.innerWidth; var SCREEN_HEIGHT = window.innerHeight; - var container,stats; + var container, stats; var camera, scene, renderer; @@ -62,34 +62,38 @@ renderer = new THREE.WebGLRenderer( { antialias: true } ); - camera = new THREE.PerspectiveCam...
false
Other
mrdoob
three.js
1a08f3b76d463f41e92a41a4dceaba8780336e62.json
Add AudioLoader documentation
docs/api/loaders/AudioLoader.html
@@ -0,0 +1,90 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="utf-8" /> + <base href="../../" /> + <script src="list.js"></script> + <script src="page.js"></script> + <link type="text/css" rel="stylesheet" href="page.css" /> + </head> + <body> + <h1>[name]</h1> + + <div class="desc">Class for loa...
false
Other
mrdoob
three.js
f8aedef34c3d98441585211d03d25a45504c9ec3.json
Add support for SkinnedMesh and Bone object types
src/loaders/ObjectLoader.js
@@ -605,6 +605,21 @@ Object.assign( ObjectLoader.prototype, { break; + case 'SkinnedMesh': + + var geometry = getGeometry( data.geometry ); + var material = getMaterial( data.material ); + + object = new SkinnedMesh( geometry, material ); + + break; + + case 'Bone': + + object = new ...
false
Other
mrdoob
three.js
e0df8d13c12bf1b261a4f14430e94cada838e307.json
Add clearDepth attribute to RenderPass
examples/js/postprocessing/RenderPass.js
@@ -15,6 +15,7 @@ THREE.RenderPass = function ( scene, camera, overrideMaterial, clearColor, clear this.clearAlpha = ( clearAlpha !== undefined ) ? clearAlpha : 0; this.clear = true; + this.clearDepth = false; this.needsSwap = false; }; @@ -41,6 +42,12 @@ THREE.RenderPass.prototype = Object.assign( Object.cr...
false
Other
mrdoob
three.js
d83f5f0c5927054c445af0f44537a16cbf2967b5.json
remove use of non existent parameters
examples/webgl_materials_cubemap_dynamic.html
@@ -319,11 +319,11 @@ var params = { - "a" : { map: flareA, useScreenCoordinates: false, color: 0xffffff, blending: THREE.AdditiveBlending }, - "b" : { map: flareB, useScreenCoordinates: false, color: 0xffffff, blending: THREE.AdditiveBlending }, + "a" : { map: flareA, color: 0xffffff, blendin...
false
Other
mrdoob
three.js
4960478a4794429a47b7de6942abcfb71a6adda9.json
remove file from tree
gulpfile.js
@@ -1,12 +0,0 @@ -var gulp = require( 'gulp' ); -var pump = require( 'pump' ); -var connect = require( 'gulp-connect' ); - - -gulp.task('runserver', function() { - - connect.server( { root: '.', port: 8888 } ); - -}); - - gulp.task( 'default', [ 'runserver' ] );
false
Other
mrdoob
three.js
a9720c710acbdb245afff7eda29d892b7c623876.json
Fix missing scope in MMDLoader
examples/js/loaders/MMDLoader.js
@@ -858,8 +858,8 @@ THREE.MMDLoader.prototype.createMesh = function ( model, texturePath, onProgress var initMaterials = function () { var textures = []; - var textureLoader = new THREE.TextureLoader( this.manager ); - var tgaLoader = new THREE.TGALoader( this.manager ); + var textureLoader = new THREE.Textur...
false
Other
mrdoob
three.js
4dbe138d095ab099cfc01fec9543a1d7513396a3.json
Remove z-index of #info style from MMD examples
examples/webgl_loader_mmd.html
@@ -18,7 +18,6 @@ top: 10px; width: 100%; text-align: center; - z-index: 100; display:block; } #info a, .button { color: #f00; font-weight: bold; text-decoration: underline; cursor: pointer }
true
Other
mrdoob
three.js
4dbe138d095ab099cfc01fec9543a1d7513396a3.json
Remove z-index of #info style from MMD examples
examples/webgl_loader_mmd_audio.html
@@ -18,7 +18,6 @@ top: 10px; width: 100%; text-align: center; - z-index: 100; display:block; } #info a, .button { color: #f00; font-weight: bold; text-decoration: underline; cursor: pointer }
true
Other
mrdoob
three.js
4dbe138d095ab099cfc01fec9543a1d7513396a3.json
Remove z-index of #info style from MMD examples
examples/webgl_loader_mmd_pose.html
@@ -18,7 +18,6 @@ top: 10px; width: 100%; text-align: center; - z-index: 100; display:block; } #info a, .button { color: #f00; font-weight: bold; text-decoration: underline; cursor: pointer }
true
Other
mrdoob
three.js
6c2627ad2f910b17e1ea8205f471134322d01365.json
remove UniformsUtils.* use in terrain/dynamic
examples/js/ShaderTerrain.js
@@ -15,10 +15,8 @@ THREE.ShaderTerrain = { 'terrain' : { - uniforms: THREE.UniformsUtils.merge( [ + uniforms: Object.assign( - THREE.UniformsLib[ "fog" ], - THREE.UniformsLib[ "lights" ], { @@ -49,9 +47,12 @@ THREE.ShaderTerrain = { "uOffset": { value: new THREE.Vector2( 0, 0 ) } - } + ...
true
Other
mrdoob
three.js
6c2627ad2f910b17e1ea8205f471134322d01365.json
remove UniformsUtils.* use in terrain/dynamic
examples/webgl_terrain_dynamic.html
@@ -304,7 +304,7 @@ }; - uniformsNormal = THREE.UniformsUtils.clone( normalShader.uniforms ); + uniformsNormal = Object.assign( {}, normalShader.uniforms ); uniformsNormal.height.value = 0.05; uniformsNormal.resolution.value.set( rx, ry ); @@ -335,7 +335,7 @@ var terrainShader = THREE....
true
Other
mrdoob
three.js
6c2627ad2f910b17e1ea8205f471134322d01365.json
remove UniformsUtils.* use in terrain/dynamic
gulpfile.js
@@ -0,0 +1,12 @@ +var gulp = require( 'gulp' ); +var pump = require( 'pump' ); +var connect = require( 'gulp-connect' ); + + +gulp.task('runserver', function() { + + connect.server( { root: '.', port: 8888 } ); + +}); + + gulp.task( 'default', [ 'runserver' ] );
true
Other
mrdoob
three.js
a12710d5789a71637be1c69388092d07adefbc66.json
fix terrain/dynamic so it works
examples/webgl_terrain_dynamic.html
@@ -214,7 +214,7 @@ var camera, scene; var cameraOrtho, sceneRenderTarget; - var uniformsNoise, uniformsNormal, + var uniformsNoise, uniformsNormal, uniformsTerrain, heightMap, normalMap, quadTarget; @@ -335,7 +335,7 @@ var terrainShader = THREE.ShaderTerrain[ "terrain" ]; - var un...
false
Other
mrdoob
three.js
c03600ba3f93426075b575f5120b2c7a2a691f8b.json
Add sourcemaps (#9949) This would create `build/three.js.map` and `build/three.modules.js.map` alongside the bundles. If you wanted inline sourcemaps instead (not recommended, but possible!) you would use `sourceMap: 'inline'`. Ref https://github.com/mrdoob/three.js/issues/9941
rollup.config.js
@@ -42,5 +42,6 @@ export default { dest: 'build/three.modules.js' } ], - outro: outro + outro: outro, + sourceMap: true };
false
Other
mrdoob
three.js
b781b229f82cfef4ae779432319eb5761942adbf.json
Simplify repository url (#9947) https://docs.npmjs.com/files/package.json#repository
package.json
@@ -3,6 +3,7 @@ "version": "0.82.0", "description": "JavaScript 3D library", "main": "build/three.js", + "repository": "mrdoob/three.js", "jsnext:main": "build/three.modules.js", "files": [ "package.json", @@ -28,10 +29,6 @@ "dev": "rollup -c -w", "test": "echo \"Error: no test specified\...
false
Other
mrdoob
three.js
c6f7ce7eb0d289ee6ccc53dee10221da43c50902.json
Add ToonMap support to MaterialLoader
src/loaders/MaterialLoader.js
@@ -140,6 +140,9 @@ Object.assign( MaterialLoader.prototype, { if ( json.aoMap !== undefined ) material.aoMap = getTexture( json.aoMap ); if ( json.aoMapIntensity !== undefined ) material.aoMapIntensity = json.aoMapIntensity; + if ( json.toonMap !== undefined ) material.toonMap = getTexture( json.toonMap ); + ...
false
Other
mrdoob
three.js
8463151bcda6e5b5a5749d4dc5f223faf3ae4697.json
Update doc to match code (#9938)
docs/api/loaders/MTLLoader.html
@@ -1,57 +1,99 @@ -<!DOCTYPE html> -<html lang="en"> - <head> +<!DOCTYPE html> +<html lang="en"> + <head> <meta charset="utf-8" /> - <base href="../../" /> - <script src="list.js"></script> - <script src="page.js"></script> - <link type="text/css" rel="stylesheet" href="page.css" /> - </head> - <body> - - <...
false
Other
mrdoob
three.js
d9a7ea4945007d0f1d8f22d310c367ddf9dc2697.json
Fix Matrix3, Matix4 applyToBuffer (#9910) * Fix Matix4 applyToBuffer `BufferAttribute.setXYZ` was missing `index` argument. * Fix Matrix3 applyToBuffer
src/math/Matrix3.js
@@ -137,7 +137,7 @@ Matrix3.prototype = { v1.applyMatrix3( this ); - buffer.setXYZ( v1.x, v1.y, v1.z ); + buffer.setXYZ( j, v1.x, v1.y, v1.z ); }
true
Other
mrdoob
three.js
d9a7ea4945007d0f1d8f22d310c367ddf9dc2697.json
Fix Matrix3, Matix4 applyToBuffer (#9910) * Fix Matix4 applyToBuffer `BufferAttribute.setXYZ` was missing `index` argument. * Fix Matrix3 applyToBuffer
src/math/Matrix4.js
@@ -490,7 +490,7 @@ Matrix4.prototype = { v1.applyMatrix4( this ); - buffer.setXYZ( v1.x, v1.y, v1.z ); + buffer.setXYZ( j, v1.x, v1.y, v1.z ); }
true
Other
mrdoob
three.js
c18be1eca38a1f3c779e8dcb168edf06ee9441ad.json
Update documentation for r81 (#9919)
docs/api/math/Box2.html
@@ -86,7 +86,7 @@ <h3>[method:Box2 setFromPoints]( [page:Array points] ) [page:Box2 this]</h3> Sets the upper and lower bounds of this box to include all of the points in *points*. </div> - <h3>[method:Vector2 size]( [page:Vector2 optionalTarget] ) [page:Box2 this]</h3> + <h3>[method:Vector2 getSize]( [page:V...
true
Other
mrdoob
three.js
c18be1eca38a1f3c779e8dcb168edf06ee9441ad.json
Update documentation for r81 (#9919)
docs/api/math/Box3.html
@@ -112,7 +112,7 @@ <h3>[method:Box3 setFromObject]( [page:Object3D object] ) [page:Box3 this]</h3> - <h3>[method:Vector3 size]( [page:Vector3 optionalTarget] ) [page:Box3 this]</h3> + <h3>[method:Vector3 getSize]( [page:Vector3 optionalTarget] ) [page:Box3 this]</h3> <div> optionalTarget -- If specified,...
true
Other
mrdoob
three.js
c18be1eca38a1f3c779e8dcb168edf06ee9441ad.json
Update documentation for r81 (#9919)
docs/api/math/Line3.html
@@ -95,7 +95,7 @@ <h3>[method:Vector3 at]( [page:Float t], [page:Vector3 optionalTarget] )</h3> Return a vector at a certain position along the line. When t = 0, it returns the start vector, and when t=1 it returns the end vector. </div> - <h3>[method:Vector3 center]( [page:Vector3 optionalTarget] )</h3> + <h...
true
Other
mrdoob
three.js
0eaa2c674298858bdb5be7bd002c36d7e84bbe14.json
Fix some MMDLoader bugs (#9920)
examples/js/loaders/MMDLoader.js
@@ -2253,7 +2253,7 @@ THREE.MMDLoader.prototype.createMesh = function ( model, texturePath, onProgress m.skinning = geometry.bones.length > 0 ? true : false; m.morphTargets = geometry.morphTargets.length > 0 ? true : false; m.lights = true; - m.side = p.side; + m.side = ( model.metadata.format === 'pmx'...
false
Other
mrdoob
three.js
0a5d2c1e0b3be0f08fede84a92c3d7b40b78b987.json
Restore light setting for MMDLoader example.
examples/webgl_loader_mmd.html
@@ -76,10 +76,10 @@ scene = new THREE.Scene(); - var ambient = new THREE.AmbientLight( 0x444444 ); + var ambient = new THREE.AmbientLight( 0x666666 ); scene.add( ambient ); - var directionalLight = new THREE.DirectionalLight( 0x888888 ); + var directionalLight = new THREE.DirectionalLight( 0...
false
Other
mrdoob
three.js
1e6894562b43bcc81dac6d3c91121f07260d41e4.json
Improve robustness of retrieving WebGL version
src/renderers/webgl/WebGLState.js
@@ -336,7 +336,9 @@ function WebGLState( gl, extensions, paramThreeToGL ) { var maxTextures = gl.getParameter( gl.MAX_TEXTURE_IMAGE_UNITS ); - var lineWidthAvailable = parseFloat(gl.getParameter(gl.VERSION).split(' ')[1]) >= 1.0; + var glVersion = gl.getParameter(gl.VERSION).split(' ')[1]; + var glMajorVersion = ...
false
Other
mrdoob
three.js
d8e0e3db7fc2a995d67a26fae28213412a1bba04.json
add documentation for the Layers object. (#9892)
docs/api/cameras/Camera.html
@@ -33,6 +33,10 @@ <h3>[property:Matrix4 matrixWorldInverse]</h3> <h3>[property:Matrix4 projectionMatrix]</h3> <div>This is the matrix which contains the projection.</div> + <h3>[property:Layers layers]</h3> + <div> + The layer membership of the camera. Only objects that have at least one layer in commo...
true
Other
mrdoob
three.js
d8e0e3db7fc2a995d67a26fae28213412a1bba04.json
add documentation for the Layers object. (#9892)
docs/api/core/Layers.html
@@ -0,0 +1,81 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="utf-8" /> + <base href="../../" /> + <script src="list.js"></script> + <script src="page.js"></script> + <link type="text/css" rel="stylesheet" href="page.css" /> + </head> + <body> + <h1>[name]</h1> + + <div class="desc"> + An object...
true
Other
mrdoob
three.js
d8e0e3db7fc2a995d67a26fae28213412a1bba04.json
add documentation for the Layers object. (#9892)
docs/api/core/Object3D.html
@@ -153,6 +153,11 @@ <h3>[property:Number renderOrder]</h3> This value allows the default rendering order of scene graph objects to be overridden although opaque and transparent objects remain sorted independently. Sorting is from lowest to highest renderOrder. Default value is 0. </div> + <h3>[property:Layers...
true
Other
mrdoob
three.js
d8e0e3db7fc2a995d67a26fae28213412a1bba04.json
add documentation for the Layers object. (#9892)
docs/list.js
@@ -31,6 +31,7 @@ var list = { [ "EventDispatcher", "api/core/EventDispatcher" ], [ "Face3", "api/core/Face3" ], [ "Geometry", "api/core/Geometry" ], + [ "Layers", "api/core/Layers" ], [ "Object3D", "api/core/Object3D" ], [ "Raycaster", "api/core/Raycaster" ], [ "Uniform", "api/core/Uniform"]
true
Other
mrdoob
three.js
435ed397331d5c2e9cc041e52d6e4a3f0a9391d1.json
Add missing semicolon in webgl_gpu_particle_system
examples/webgl_gpu_particle_system.html
@@ -80,7 +80,7 @@ horizontalSpeed: 1.5, verticalSpeed: 1.33, timeScale: 1 - } + }; gui.add(options, "velocityRandomness", 0, 3); gui.add(options, "positionRandomness", 0, 3);
false
Other
mrdoob
three.js
c6e3f5aeb24760e2fbabc937702212d58e8b82c3.json
Remove unnecessary comme in webgl_extrude_splines
examples/webgl_geometry_extrude_splines.html
@@ -66,7 +66,7 @@ new THREE.Vector3( 0, 40, -40 ), new THREE.Vector3( 0, 140, -40 ), new THREE.Vector3( 0, 40, 40 ), - new THREE.Vector3( 0, -40, 40 ), + new THREE.Vector3( 0, -40, 40 ) ] ); sampleClosedSpline.type = 'catmullrom';
false
Other
mrdoob
three.js
b7249cb312e42d75d463de2d2bcea1cdac130833.json
Remove unnecessary comme in webgl_extrude_shape2
examples/webgl_geometry_extrude_shapes2.html
@@ -292,7 +292,7 @@ color = new THREE.Color( theColors[i] ); material = new THREE.MeshLambertMaterial({ color: color, - emissive: color, + emissive: color }); amount = theAmounts[i]; simpleShapes = path.toShapes(true);
false
Other
mrdoob
three.js
8360e8358876305d7ed46c1ad735d5b0c540c83c.json
Remove unnecessary comme in webgl_extrude_shapes
examples/webgl_geometry_extrude_shapes.html
@@ -165,7 +165,7 @@ bevelEnabled : true, bevelThickness : 2, bevelSize : 4, - bevelSegments : 1, + bevelSegments : 1 }; var geometry = new THREE.ExtrudeGeometry( shape, extrudeSettings );
false
Other
mrdoob
three.js
399d806f01982b0105d46287f660fa8638a2a016.json
Add missing semicolon in webgl_depth_texture
examples/webgl_depth_texture.html
@@ -196,7 +196,7 @@ // Setup some geometries var geometry = new THREE.TorusKnotGeometry(1, 0.3, 128, 64); - var material = new THREE.MeshBasicMaterial({ color: 'blue' }) + var material = new THREE.MeshBasicMaterial({ color: 'blue' }); var count = 50; var scale = 5;
false
Other
mrdoob
three.js
c86d149f5236185826de5bb800ad98d3eb8f943d.json
Add missing semicolon in webgl_animation_cloth
examples/webgl_animation_cloth.html
@@ -295,7 +295,7 @@ window.addEventListener( 'resize', onWindowResize, false ); - sphere.visible = ! true + sphere.visible = ! true; }
false
Other
mrdoob
three.js
5a0df2a6261ee5aa04d6999baf84380f8610e5b6.json
Add missing semicolon in software_sandbox
examples/software_sandbox.html
@@ -104,7 +104,7 @@ var points = hilbert3D( new THREE.Vector3( 0,0,0 ), 200.0, 1, 0, 1, 2, 3, 4, 5, 6, 7 ); var spline = new THREE.Spline( points ); var n_sub = 6, colors = [], line; - var lineGeometry = new THREE.Geometry() + var lineGeometry = new THREE.Geometry(); for ( i = 0; i < points....
false
Other
mrdoob
three.js
b18791818da7f24a04d79bd796035f6b626f0784.json
Add missing semicolon in raytracing_sandbox
examples/raytracing_sandbox.html
@@ -247,7 +247,7 @@ info.style.textAlign = 'center'; container.appendChild( info ); - updateWorkers() + updateWorkers(); //
false
Other
mrdoob
three.js
3e224e091e01f987e002f743d4343298d4b0929d.json
Add missing semicolon in misc_sound
examples/misc_sound.html
@@ -171,7 +171,7 @@ var GeneratorControls = function() { this.frequency = oscillator.frequency.value; this.wavetype = oscillator.type; - } + }; var gui = new dat.GUI(); var soundControls = new SoundControls(); var generatorControls = new GeneratorControls();
false
Other
mrdoob
three.js
a9905bc6ffb01f7bd546770e1379417dba9ec4ae.json
Add missing semicolon in index.html
examples/index.html
@@ -244,7 +244,7 @@ <h1><a href="http://threejs.org">three.js</a> / examples</h1> <script> function extractQuery() { - var p = window.location.search.indexOf( '?q=' ) + var p = window.location.search.indexOf( '?q=' ); if( p !== -1 ) { return window.location.search.substr( 3 ); } @@ -383,7 +383,...
false
Other
mrdoob
three.js
d8a6ab85bd1016c5628cf00cd5ea174d9b8cfc8f.json
Add missing semicolon in VolumeSlice
examples/js/VolumeSlice.js
@@ -85,7 +85,7 @@ THREE.VolumeSlice = function( volume, index, axis ) { */ -} +}; THREE.VolumeSlice.prototype = { @@ -214,4 +214,4 @@ THREE.VolumeSlice.prototype = { } -} +};
false
Other
mrdoob
three.js
f81eb19ea78cbd5ce69db8ac3f51efc5a7f035b5.json
Remove unnecessary comma in SkyShader
examples/js/SkyShader.js
@@ -98,7 +98,7 @@ THREE.ShaderLib[ 'sky' ] = { // mie coefficients "vBetaM = totalMie(lambda, turbidity) * mieCoefficient;", - "}", + "}" ].join( "\n" ), @@ -201,7 +201,7 @@ THREE.ShaderLib[ 'sky' ] = { "gl_FragColor.rgb = retColor;", "gl_FragColor.a = 1.0;", - "}", + "}" ].join( "\n" ...
false
Other
mrdoob
three.js
98da28a50e97792e1e9a3746266c88028f65fb41.json
Add missing semicolon in RollerCoaster
examples/js/RollerCoaster.js
@@ -265,19 +265,19 @@ var RollerCoasterLiftersGeometry = function ( curve, size ) { var point1 = shape[ j ]; var point2 = shape[ ( j + 1 ) % jl ]; - vector1.copy( point1 ) + vector1.copy( point1 ); vector1.applyQuaternion( quaternion ); vector1.add( fromPoint ); - vector2.copy( point2 ) + ve...
false
Other
mrdoob
three.js
bd958a146ad1423f2775d942649cb017544edd3e.json
Add missing semicolon in GPUComputationRenderer
examples/js/GPUComputationRenderer.js
@@ -258,7 +258,7 @@ function GPUComputationRenderer( sizeX, sizeY, renderer ) { materialShader.defines.resolution = 'vec2( ' + sizeX.toFixed( 1 ) + ', ' + sizeY.toFixed( 1 ) + " )"; - }; + } this.addResolutionDefine = addResolutionDefine; @@ -277,7 +277,7 @@ function GPUComputationRenderer( sizeX, sizeY, r...
false
Other
mrdoob
three.js
65adaab2e52f6d3e93106425c10db6f912386daa.json
Add missing semicolon in Encodings
examples/js/Encodings.js
@@ -5,7 +5,7 @@ THREE.Encodings = function() { if( THREE.toHalf === undefined ) throw new Error("THREE.Encodings is required for HDRCubeMapLoader when loading half data."); -} +}; THREE.Encodings.RGBEByteToRGBFloat = function( sourceArray, sourceOffset, destArray, destOffset ) { var e = sourceArray[sourceOf...
false
Other
mrdoob
three.js
79eba2ac3596a3be6c88640d8abe297636d914ea.json
Remove unnecessary comma in TechnicolorShader
examples/js/shaders/TechnicolorShader.js
@@ -11,7 +11,7 @@ THREE.TechnicolorShader = { uniforms: { - "tDiffuse": { value: null }, + "tDiffuse": { value: null } },
false
Other
mrdoob
three.js
e2773b2bc6942f685210709c313d3c62750b697b.json
Remove unnecessary comma in ParallaxShader
examples/js/shaders/ParallaxShader.js
@@ -10,7 +10,7 @@ THREE.ParallaxShader = { basic: 'USE_BASIC_PARALLAX', steep: 'USE_STEEP_PARALLAX', occlusion: 'USE_OCLUSION_PARALLAX', // a.k.a. POM - relief: 'USE_RELIEF_PARALLAX', + relief: 'USE_RELIEF_PARALLAX' }, uniforms: { @@ -177,7 +177,7 @@ THREE.ParallaxShader = { "vec2 mapUv = perturbUv...
false
Other
mrdoob
three.js
59162563eddb4fab7f294560bdfdf2cc0c5abfd7.json
Remove unnecessary comma in OceanShader
examples/js/shaders/OceanShaders.js
@@ -86,7 +86,7 @@ THREE.ShaderLib[ 'ocean_initial_spectrum' ] = { uniforms: { "u_wind": { value: new THREE.Vector2( 10.0, 10.0 ) }, "u_resolution": { value: 512.0 }, - "u_size": { value: 250.0 }, + "u_size": { value: 250.0 } }, fragmentShader: [ 'precision highp float;', @@ -163,7 +163,7 @@ THREE.Shade...
false
Other
mrdoob
three.js
e40766b5e819230f6ecfc6b8b6b8d83ca7f37b5e.json
Remove unnecessary comma in GammaCorrectionShader
examples/js/shaders/GammaCorrectionShader.js
@@ -9,7 +9,7 @@ THREE.GammaCorrectionShader = { uniforms: { - "tDiffuse": { value: null }, + "tDiffuse": { value: null } },
false
Other
mrdoob
three.js
f32d8bf75146a4ea5ed836674eed13b5990ad04b.json
Remove unnecessary comma in EdgeShader2
examples/js/shaders/EdgeShader2.js
@@ -12,7 +12,7 @@ THREE.EdgeShader2 = { uniforms: { "tDiffuse": { value: null }, - "aspect": { value: new THREE.Vector2( 512, 512 ) }, + "aspect": { value: new THREE.Vector2( 512, 512 ) } }, vertexShader: [ @@ -66,7 +66,7 @@ THREE.EdgeShader2 = { "}", "gl_FragColor = vec4(0.5 * sqrt(cnv[0...
false
Other
mrdoob
three.js
67986fe8f2892733300066fc1bcbbbf767486106.json
Remove unnecessary comma in ConvolutionShader
examples/js/shaders/ConvolutionShader.js
@@ -11,7 +11,7 @@ THREE.ConvolutionShader = { defines: { "KERNEL_SIZE_FLOAT": "25.0", - "KERNEL_SIZE_INT": "25", + "KERNEL_SIZE_INT": "25" },
false
Other
mrdoob
three.js
1ff4e4568d3d2623b3e7af45cd3d8a51f5ec2d60.json
Remove unnecessary comma in BokehShader2
examples/js/shaders/BokehShader2.js
@@ -44,7 +44,7 @@ THREE.BokehShader = { "pentagon": { value: 0 }, "shaderFocus": { value: 1 }, - "focusCoords": { value: new THREE.Vector2() }, + "focusCoords": { value: new THREE.Vector2() } },
false
Other
mrdoob
three.js
af43c8797a337aaa288f5b338ef38dcd6557f7c0.json
Update Creating-a-scene.html (#9759) Corrected the spelling of argument in docs/manual/introduction/Creating-a-scene.html
docs/manual/introduction/Creating-a-scene.html
@@ -61,7 +61,7 @@ <h2>Creating the scene</h2> <div>In addition to creating the renderer instance, we also need to set the size at which we want it to render our app. It's a good idea to use the width and height of the area we want to fill with our app - in this case, the width and height of the browser window. For...
false
Other
mrdoob
three.js
bc0696718d5fc2ee4c83acd0906559a83a547983.json
Add Delimiter to regex for trackName (#9696)
src/animation/PropertyBinding.js
@@ -540,10 +540,11 @@ PropertyBinding.parseTrackName = function( trackName ) { // uuid.objectName[objectIndex].propertyName[propertyIndex] // parentName/nodeName.property // parentName/parentName/nodeName.property[index] - // .bone[Armature.DEF_cog].position + // .bone[Armature.DEF_cog].position + /...
false