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
6c12df36047a7066ee6e29fa5ef942f71a165c7a.json
Update convert_to_threejs.py (#9175) syntax error for "print" on: Line 388 Line 2066
utils/converters/fbx/convert_to_threejs.py
@@ -385,7 +385,7 @@ def generate_material_object(material): } else: - print "Unknown type of Material", getMaterialName(material) + print ("Unknown type of Material"), getMaterialName(material) # default to Lambert Material if the current Material type cannot be handeled if not...
false
Other
mrdoob
three.js
602f38034351fef9de6159ecce5005129b25a129.json
fix sea3d blending material (#9181)
examples/js/loaders/sea3d/SEA3DLoader.js
@@ -1627,30 +1627,30 @@ THREE.SEA3D.prototype.readContainer3D = function( sea ) { THREE.SEA3D.prototype.readSprite = function( sea ) { - var material; + var mat; if ( sea.material ) { if ( ! sea.material.tag.sprite ) { - material = sea.material.tag.sprite = new THREE.SpriteMaterial(); + mat = sea.ma...
false
Other
mrdoob
three.js
3ec88490b2293606bb8aad37e4316e83cf523da3.json
fix physical node material
examples/js/nodes/materials/StandardNode.js
@@ -302,7 +302,7 @@ THREE.StandardNode.prototype.build = function( builder ) { output.push( environment.code, - "RE_IndirectSpecular(" + environment.result + ", geometry, material, reflectedLight );" + "RE_IndirectSpecular_Physical(" + environment.result + ", vec3( 0.0 ), geometry, material, reflectedL...
false
Other
mrdoob
three.js
b39fd5605fd6cea4bf2db315e7dad06ac62b711d.json
Terminate statement in KeyframeTrackPrototype
src/animation/KeyframeTrackPrototype.js
@@ -362,6 +362,6 @@ KeyframeTrackPrototype = { } -} +}; export { KeyframeTrackPrototype };
false
Other
mrdoob
three.js
a7a9edc24048078843e35b1d069a77961924a1f8.json
Fix typo in AnimationClip
src/animation/AnimationClip.js
@@ -45,8 +45,7 @@ AnimationClip.prototype = { var track = this.tracks[ i ]; - duration = Math.max( - duration, track.times[ track.times.length - 1 ] ); + duration = Math.max( duration, track.times[ track.times.length - 1 ] ); }
false
Other
mrdoob
three.js
41158b56f3e77d29dfb49faefd554724ef2eadb5.json
Remove unnecessary semi-colon from AnimationAction
src/animation/AnimationAction.js
@@ -74,7 +74,7 @@ function AnimationAction( mixer, clip, localRoot ) { this.zeroSlopeAtStart = true; // for smooth interpolation w/o separate this.zeroSlopeAtEnd = true; // clips for start, loop and end -}; +} AnimationAction.prototype = {
false
Other
mrdoob
three.js
6404d18493e9d75bd12bf5f7ae787d0ea51dac2b.json
remove THREE prefixes (#10066)
src/renderers/WebGLRenderer.js
@@ -161,8 +161,9 @@ function WebGLRenderer( parameters ) { _projScreenMatrix = new Matrix4(), - _vector3 = new THREE.Vector3(), - _matrix4 = new THREE.Matrix4(), _matrix42 = new THREE.Matrix4(), + _vector3 = new Vector3(), + _matrix4 = new Matrix4(), + _matrix42 = new Matrix4(), // light arrays cache
false
Other
mrdoob
three.js
4704a6e1480eca02d1a10193f175bd2cde814b70.json
add badging to README.md (#9992)
README.md
@@ -1,6 +1,11 @@ three.js ======== +[![Latest NPM release][npm-badge]][npm-badge-url] +[![License][license-badge]][license-badge-url] +[![Dependencies][dependencies-badge]][dependencies-badge-url] +[![Dev Dependencies][devDependencies-badge]][devDependencies-badge-url] + #### JavaScript 3D library #### The aim ...
false
Other
mrdoob
three.js
afa1c183fd8840a2600becba41a4411b7fcfb66d.json
Terminate statement in Sphere test
test/unit/math/Sphere.js
@@ -92,7 +92,7 @@ test( "getBoundingBox", function() { ok( a.getBoundingBox().equals( new THREE.Box3( zero3, two3 ) ), "Passed!" ); - a.set( zero3, 0 ) + a.set( zero3, 0 ); ok( a.getBoundingBox().equals( new THREE.Box3( zero3, zero3 ) ), "Passed!" ); });
false
Other
mrdoob
three.js
7cdc5db5b137ae4f7c6ae416a98c74aa2085ddae.json
Terminate statement in Matrix4 test
test/unit/math/Matrix4.js
@@ -217,7 +217,7 @@ test( "makeBasis/extractBasis", function() { var identity = new THREE.Matrix4(); ok( matrixEquals4( a, identity ), "Passed!" ); - var testBases = [ [ new THREE.Vector3( 0, 1, 0 ), new THREE.Vector3( -1, 0, 0 ), new THREE.Vector3( 0, 0, 1 ) ] ] + var testBases = [ [ new THREE.Vector3( 0, 1, 0 )...
false
Other
mrdoob
three.js
aa97b2cad4311e7d5ad5e1935e306ca5803ac97d.json
Remove unneeded comma from BoxGeometry test
test/unit/geometries/BoxGeometry.tests.js
@@ -8,7 +8,7 @@ depth: 30, widthSegments: 2, heightSegments: 3, - depthSegments: 4, + depthSegments: 4 }; var geometries;
false
Other
mrdoob
three.js
bdfdbd3dc9bf3f83f7e6c485d63efc9e71acc6b5.json
Remove unneeded comma from BoxHelper test
test/unit/extras/helpers/BoxHelper.tests.js
@@ -3,7 +3,7 @@ 'use strict'; var parameters = { - diameter: 10, + diameter: 10 }; var geometries;
false
Other
mrdoob
three.js
bb01ca7eb6dfab9cca85f440a5dfda292b184c7a.json
Simplify if statement in WebGLTextures
src/renderers/webgl/WebGLTextures.js
@@ -67,11 +67,8 @@ function WebGLTextures( _gl, extensions, state, properties, capabilities, paramT function textureNeedsPowerOfTwo( texture ) { - if ( texture.wrapS !== ClampToEdgeWrapping || texture.wrapT !== ClampToEdgeWrapping ) return true; - if ( texture.minFilter !== NearestFilter && texture.minFilter !=...
false
Other
mrdoob
three.js
b3491e78c1eeb6d8bf88509d6c2bf73774bb268e.json
Remove unneeded comma in WebGLProgram
src/renderers/webgl/WebGLProgram.js
@@ -87,7 +87,7 @@ function generateExtensions( extensions, parameters, rendererExtensions ) { ( extensions.derivatives || parameters.envMapCubeUV || parameters.bumpMap || parameters.normalMap || parameters.flatShading ) ? '#extension GL_OES_standard_derivatives : enable' : '', ( extensions.fragDepth || parameters...
false
Other
mrdoob
three.js
1de867fae716726511f0f0ab059e14879d16030d.json
Remove unneeded comma in ShaderLib
src/renderers/shaders/ShaderLib.js
@@ -86,7 +86,7 @@ var ShaderLib = { emissive : { value: new Color( 0x000000 ) }, roughness: { value: 0.5 }, metalness: { value: 0 }, - envMapIntensity : { value: 1 }, // temporary + envMapIntensity : { value: 1 } // temporary } ),
false
Other
mrdoob
three.js
58b05d3ec1e862c17e3aa80d9bae7861fa73eb21.json
Terminate statement in Vector3
src/math/Vector3.js
@@ -710,7 +710,7 @@ Vector3.prototype = { if ( typeof m === 'number' ) { console.warn( 'THREE.Vector3: setFromMatrixColumn now expects ( matrix, index ).' ); - var temp = m + var temp = m; m = index; index = temp;
false
Other
mrdoob
three.js
780dbe8c5dda2149a682bf6687d0732bffaab3cd.json
Remove unneeded comma at the end of Spherical
src/math/Spherical.js
@@ -78,7 +78,7 @@ Spherical.prototype = { return this; - }, + } };
false
Other
mrdoob
three.js
3abc44cceb5d10905092384b98a6d1c51a267180.json
Remove unneeded comma in AmbiantLight
src/lights/AmbientLight.js
@@ -18,7 +18,7 @@ AmbientLight.prototype = Object.assign( Object.create( Light.prototype ), { constructor: AmbientLight, - isAmbientLight: true, + isAmbientLight: true } );
false
Other
mrdoob
three.js
ae1573e26cf78e41e9eef5d4afd9111dba20229b.json
Fix typo in AnimationClip
src/animation/AnimationClip.js
@@ -310,8 +310,7 @@ Object.assign( AnimationClip, { var times = []; var values = []; - for ( var m = 0; - m !== animationKeys[k].morphTargets.length; ++ m ) { + for ( var m = 0; m !== animationKeys[k].morphTargets.length; ++ m ) { var animationKey = animationKeys[k]; @@ -320,8 +31...
false
Other
mrdoob
three.js
1bfb2a76b4e4e7b05f60197b2b844835dfae0a53.json
Fix bad refactoring of loopCount member
src/animation/AnimationAction.js
@@ -473,7 +473,7 @@ AnimationAction.prototype = { if ( loopCount === -1 ) { // just started - this.loopCount = 0; + this._loopCount = 0; this._setEndings( true, true, false ); }
false
Other
mrdoob
three.js
84a68f359a06c33ce5042b8e7c57993cff2d0450.json
Fix comma expression in AnimationAction
src/animation/AnimationAction.js
@@ -273,7 +273,7 @@ AnimationAction.prototype = { if ( interpolant === null ) { - interpolant = mixer._lendControlInterpolant(), + interpolant = mixer._lendControlInterpolant(); this._timeScaleInterpolant = interpolant; } @@ -636,7 +636,7 @@ AnimationAction.prototype = { if ( interpolant === nu...
false
Other
mrdoob
three.js
bbf8aa17f24de6016bdbb60735e3027a84c1e774.json
Remove unneeded comma in NumberKeyframeTrack
src/animation/tracks/NumberKeyframeTrack.js
@@ -21,7 +21,7 @@ NumberKeyframeTrack.prototype = constructor: NumberKeyframeTrack, - ValueTypeName: 'number', + ValueTypeName: 'number' // ValueBufferType is inherited
false
Other
mrdoob
three.js
607584f62e5cb58f037228a67e0efa69f25e687c.json
improve fbx and maya docs
utils/converters/fbx/README.md
@@ -48,8 +48,22 @@ Don't forget the visit the FBX SDK documentation website: http://docs.autodesk.com/FBX/2013/ENU/FBX-SDK-Documentation/cpp_ref/index.html ``` +*Note:* If you use the OSX installer, it will install the Python packages into the following folder. + +``` +/Applications/Autodesk/FBX Python SDK/[VERSI...
true
Other
mrdoob
three.js
607584f62e5cb58f037228a67e0efa69f25e687c.json
improve fbx and maya docs
utils/exporters/maya/README.md
@@ -19,17 +19,21 @@ Exports Maya models to Three.js' JSON format. Currently supports exporting the ## Installation -Install [pymel](http://download.autodesk.com/global/docs/maya2014/en_us/PyMel/install.html). -Though the docs are way out of date, the process described still works as of -2014. +(Maya 2016 su...
true
Other
mrdoob
three.js
64eb745c3c8bc9f59f681e7cab22bc7f444b9b3b.json
add TAARenderPass and polish MSAA example/code.
examples/js/postprocessing/ManualMSAARenderPass.js
@@ -18,16 +18,16 @@ THREE.ManualMSAARenderPass = function ( scene, camera, params ) { if ( THREE.CompositeShader === undefined ) { - console.error( "THREE.MSAAPass relies on THREE.CompositeShader" ); + console.error( "THREE.ManualMSAARenderPass relies on THREE.CompositeShader" ); } var compositeShader =...
true
Other
mrdoob
three.js
64eb745c3c8bc9f59f681e7cab22bc7f444b9b3b.json
add TAARenderPass and polish MSAA example/code.
examples/js/postprocessing/TAARenderPass.js
@@ -0,0 +1,114 @@ +/** + * @author bhouston / http://clara.io/ * + */ + +THREE.TAARenderPass = function ( scene, camera, params ) { + + if ( THREE.ManualMSAARenderPass === undefined ) { + + console.error( "THREE.TAARenderPass relies on THREE.ManualMSAARenderPass" ); + + } + THREE.ManualMSAARenderPass.call( this, scene...
true
Other
mrdoob
three.js
64eb745c3c8bc9f59f681e7cab22bc7f444b9b3b.json
add TAARenderPass and polish MSAA example/code.
examples/webgl_postprocessing_msaa.html
@@ -29,6 +29,7 @@ <body> <div id="info"> <a href="http://threejs.org" target="_blank">three.js</a> - Manual Multi-Sample Anti-Aliasing (MSAA) pass by <a href="https://clara.io" target="_blank">Ben Houston</a><br/><br/> + This manual approach to MSAA re-renders the scene with camera jitter and accumulates the...
true
Other
mrdoob
three.js
64eb745c3c8bc9f59f681e7cab22bc7f444b9b3b.json
add TAARenderPass and polish MSAA example/code.
examples/webgl_postprocessing_taa.html
@@ -0,0 +1,213 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <title>three.js webgl - postprocessing manual msaa</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 { + margin: 0px; + background-col...
true
Other
mrdoob
three.js
9e625f42488260f19d7a1af768b0312bfdc17e6c.json
fix weight accumulation.
examples/js/postprocessing/MSAAPass.js
@@ -92,7 +92,7 @@ THREE.MSAAPass.prototype = { // this accumulation strategy is used to prevent decimation at low bit depths with lots of samples. this.uniforms[ "scale" ].value = weight; - weight *= 0.5; + weight = 1.0 / (i+1); // clear on the first render, accumulate the others ...
false
Other
mrdoob
three.js
134f99d3cafec9d8798070339ab9e63d1c6307d0.json
add msaa to example files.js
examples/files.js
@@ -177,6 +177,7 @@ var files = { "webgl_postprocessing_glitch", "webgl_postprocessing_godrays", "webgl_postprocessing_masking", + "webgl_postprocessing_msaa", "webgl_postprocessing_nodes", "webgl_postprocessing_smaa", "webgl_postprocessing_ssao",
false
Other
mrdoob
three.js
4acd477f17a70bfef88b7e9c5411a5c4925c6f88.json
add stats to SMAA example.
examples/webgl_postprocessing_smaa.html
@@ -14,7 +14,10 @@ </head> <body> + <div id="container"></div> + <script src="../build/three.min.js"></script> + <script src="js/libs/stats.min.js"></script> <script src="js/postprocessing/SMAAPass.js"></script> <script src="js/shaders/CopyShader.js"></script> @@ -28,11 +31,18 @@ <scr...
false
Other
mrdoob
three.js
0548de58d6f2c57891c9802e859b509dcba4b7a5.json
add resizing support to MSAA example.
examples/js/postprocessing/MSAAPass.js
@@ -69,6 +69,13 @@ THREE.MSAAPass.prototype = { }, + + setSize: function ( width, height ) { + + this.sampleRenderTarget.setSize( width, height ); + + }, + render: function ( renderer, writeBuffer, readBuffer, delta ) { if( ! this.sampleRenderTarget ) {
true
Other
mrdoob
three.js
0548de58d6f2c57891c9802e859b509dcba4b7a5.json
add resizing support to MSAA example.
examples/webgl_postprocessing_msaa.html
@@ -50,14 +50,11 @@ <script> - var camera, scene, renderer, composer, pass; - var geometry, material, gui, object, msaaPass, stats; + var camera, scene, renderer, composer, copyPass, msaaPass; + var geometry, material, gui, object, stats; var param = { MSAASampleLevel: 2 }; - - var clock = new ...
true
Other
mrdoob
three.js
badfaad725177fbe522d3649a703f77dc0687a62.json
fix msaa pass, improve example.
examples/js/postprocessing/MSAAPass.js
@@ -1,5 +1,10 @@ /** * @author bhouston / http://clara.io/ + * + * NOTE: Accumulating a lot of samples with a 8-bit-per-channel RGB/RGBA buffer will + * lead to discretization effects. For accurate sample accumulation use a floating + * point buffer. + * */ THREE.MSAAPass = function ( scene, camera, params ) {...
true
Other
mrdoob
three.js
badfaad725177fbe522d3649a703f77dc0687a62.json
fix msaa pass, improve example.
examples/webgl_postprocessing_msaa.html
@@ -7,17 +7,36 @@ <style> body { margin: 0px; - background-color: #000000; + background-color: #000; overflow: hidden; + font-family:Monospace; + font-size:13px; + margin: 0px; + text-align:center; + overflow: hidden; + } + + #info { + color: #fff; + position: absolute; +...
true
Other
mrdoob
three.js
3c8cb97f516f2c29bc78224f2bce58ab9e7934a5.json
add link to reference for the sample patterns.
examples/js/postprocessing/MSAAPass.js
@@ -111,6 +111,8 @@ THREE.MSAAPass.normalizedJitterOffsets = function( jitterVectors ) { // These jitter vectors are specified in integers because it is easier. // I am assuming a [-8,8] integer grid, but it needs to be mapped onto [-0.5,0.5] // before being used, thus these integers need to be scaled by 1/16. +// +...
false
Other
mrdoob
three.js
246d92bae8ca3ffb1e46cc52d600006e8764ab4f.json
remove debug comment.
examples/js/postprocessing/MSAAPass.js
@@ -39,8 +39,6 @@ THREE.MSAAPass = function ( scene, camera, params ) { } ); - console.log( 'this.materialComposite', this.materialComposite ); - this.camera2 = new THREE.OrthographicCamera( -1, 1, 1, -1, 0, 1 ); this.scene2 = new THREE.Scene(); this.quad2 = new THREE.Mesh( new THREE.PlaneGeometry( 2, ...
false
Other
mrdoob
three.js
f787058cee5922066998072f706bd5697df76b45.json
Add missing semicolon in simplehttpserver.js
utils/servers/simplehttpserver.js
@@ -95,7 +95,7 @@ http.createServer(handleRequest).listen(port); require('dns').lookup(require('os').hostname(), function (err, addr, fam) { console.log('Running at http://' + addr + ((port === 80) ? '' : ':') + port + '/'); -}) +}); console.log('Three.js server has started...'); -console.log('Base directory ...
false
Other
mrdoob
three.js
ac465dc48faad9d8b02818d57378311b78c315da.json
Remove unneeded comma in geometry.js
docs/scenes/js/geometry.js
@@ -205,7 +205,7 @@ var guis = { heightSegments : 1, openEnded : false, thetaStart : 0, - thetaLength : twoPi, + thetaLength : twoPi }; function generateGeometry() { @@ -251,7 +251,7 @@ var guis = { heightSegments : 1, openEnded : false, thetaStart : 0, - thetaLength : twoPi, + t...
false
Other
mrdoob
three.js
82c381cdac83888684eaa84505ffaf4540017099.json
Add missing closing tag in WebGLProgram.html
docs/api/renderers/webgl/WebGLProgram.html
@@ -55,6 +55,7 @@ <h3>Vertex shader (unconditional):</h3> </div> <h3>Vertex shader (conditional):</h3> + <div> <code> #ifdef USE_COLOR // vertex color attribute
false
Other
mrdoob
three.js
c722d4a41984f9fd76108afecf9b25959e3051ee.json
Add missing closing tag in BoxHelper.html
docs/api/extras/helpers/BoxHelper.html
@@ -40,8 +40,7 @@ <h2>Properties</h2> <h2>Methods</h2> <h3>[method:null update]( [page:Object3D object] )</h3> - <div> - Updates the helper's geometry to match the dimensions of the [page:Geometry.boundingBox bounding box] of the passed object's geometry. + <div>Updates the helper's geometry to match the dim...
false
Other
mrdoob
three.js
5c7a0202f000c89946300e7bff733893f6368a89.json
Fix missing closing tag in Curve.html
docs/api/extras/core/Curve.html
@@ -17,7 +17,7 @@ <h1>[name]</h1> <h2>Examples</h2> - <h3>[example:webgl_geometry_extrude_splines geometry / extrude / splines ] + <h3>[example:webgl_geometry_extrude_splines geometry / extrude / splines ]</h3> <h2>Constructor</h2>
false
Other
mrdoob
three.js
66e479edd3a46a7a44413c48f4a8beb16f8836bc.json
Fix uncorrect closing tags in Uniform.html
docs/api/core/Uniform.html
@@ -104,11 +104,11 @@ <h3>Uniform types</h3> <tr> <td>mat2</td> <td>[page:Float32Array Float32Array] (*)</td> - </td> + </tr> <tr> <td>mat2</td> <td>[page:Array Array] (*)</td> - </td> + </tr> <tr> <td>mat3</td> <td>[page:Matrix3 THREE.Matrix3]</td> @@ -165...
false
Other
mrdoob
three.js
5eaf62d2faa263161dc67b3d7db8bc1f91aad82d.json
Fix incorrect emphasis tag in BufferGeometry.html
docs/api/core/BufferGeometry.html
@@ -47,7 +47,7 @@ <h3>Example</h3> <h3>Accessing attributes</h3> <p> - WebGL stores data associated with individual vertices of a geometry in <emph>attributes</emph>. + WebGL stores data associated with individual vertices of a geometry in <em>attributes</em>. Examples include the position of the vert...
false
Other
mrdoob
three.js
e496dd255b259a256d89100f731632b9d04fe4e1.json
Remove unneeded comma in list.js
docs/list.js
@@ -202,7 +202,7 @@ var list = { [ "Loader", "api/loaders/Loader" ], [ "MaterialLoader", "api/loaders/MaterialLoader" ], [ "ObjectLoader", "api/loaders/ObjectLoader" ], - [ "TextureLoader", "api/loaders/TextureLoader" ], + [ "TextureLoader", "api/loaders/TextureLoader" ] ], "Loaders / Managers":...
false
Other
mrdoob
three.js
55a697a86d6febe44d03ac740592abd3f5e293fc.json
Terminate statement in page.js
docs/page.js
@@ -104,7 +104,7 @@ var onDocumentLoad = function ( event ) { prettyPrint(); - } + }; document.head.appendChild( prettify );
false
Other
mrdoob
three.js
6a551f5261ef79098d51e669710341b354972ba7.json
Add link from MMD examples to MMD assets license
examples/models/mmd/Readme.txt
@@ -1,6 +1,6 @@ The files under this directory are NOT under MIT license, but other licenses. -If you want to use them in your work, get original data, read readme, and follow -their licenses. +If you want to use them in your work, get original archive file, read readme, +and follow their licenses. 1. Vocaloid st...
true
Other
mrdoob
three.js
6a551f5261ef79098d51e669710341b354972ba7.json
Add link from MMD examples to MMD assets license
examples/webgl_loader_mmd.html
@@ -28,6 +28,7 @@ <body> <div id="info"> <a href="http://threejs.org" target="_blank">three.js</a> - MMDLoader test<br /> + <a href="https://github.com/mrdoob/three.js/tree/master/examples/models/mmd#readme">MMD Assets license</a><br /> Copyright <a href="http://www.geocities.jp/higuchuu4/index_e.htm" ta...
true
Other
mrdoob
three.js
6a551f5261ef79098d51e669710341b354972ba7.json
Add link from MMD examples to MMD assets license
examples/webgl_loader_mmd_audio.html
@@ -28,6 +28,7 @@ <body> <div id="info"> <a href="http://threejs.org" target="_blank">three.js</a> - MMDLoader test<br /> + <a href="https://github.com/mrdoob/three.js/tree/master/examples/models/mmd#readme">MMD Assets license</a><br /> Copyright <a href="http://www.geocities.jp/higuchuu4/index_e.htm" ta...
true
Other
mrdoob
three.js
6a551f5261ef79098d51e669710341b354972ba7.json
Add link from MMD examples to MMD assets license
examples/webgl_loader_mmd_pose.html
@@ -28,6 +28,7 @@ <body> <div id="info"> <a href="http://threejs.org" target="_blank">three.js</a> - MMDLoader test<br /> + <a href="https://github.com/mrdoob/three.js/tree/master/examples/models/mmd#readme">MMD Assets license</a><br /> Copyright <a href="http://www.geocities.jp/higuchuu4/index_e.htm" ta...
true
Other
mrdoob
three.js
62923d60fdfed65dad7486fca25bc799d9ce8e60.json
Add type check to DepthTexture (#9774) * Add type check to DepthTexture * Move check logic of DepthTexture type to WebGLTextures. * Add internalFormat check for DepthFormat type check
src/renderers/webgl/WebGLTextures.js
@@ -2,7 +2,7 @@ * @author mrdoob / http://mrdoob.com/ */ -import { LinearFilter, NearestFilter, RGBFormat, RGBAFormat, DepthFormat, DepthStencilFormat, FloatType, HalfFloatType, ClampToEdgeWrapping, NearestMipMapLinearFilter, NearestMipMapNearestFilter } from '../../constants'; +import { LinearFilter, NearestFilt...
true
Other
mrdoob
three.js
62923d60fdfed65dad7486fca25bc799d9ce8e60.json
Add type check to DepthTexture (#9774) * Add type check to DepthTexture * Move check logic of DepthTexture type to WebGLTextures. * Add internalFormat check for DepthFormat type check
src/textures/DepthTexture.js
@@ -1,5 +1,5 @@ import { Texture } from './Texture'; -import { NearestFilter, UnsignedShortType, DepthFormat, DepthStencilFormat } from '../constants'; +import { NearestFilter, UnsignedShortType, UnsignedInt248Type, DepthFormat, DepthStencilFormat } from '../constants'; /** * @author Matt DesLauriers / @mattdesl ...
true
Other
mrdoob
three.js
21cb28d077c166f25aa4d462b673e25073ea02bb.json
remove obsolete elements and comments
src/renderers/shaders/UniformsLib.js
@@ -147,19 +147,12 @@ var UniformsLib = { } }, // TODO (abelnation): RectAreaLight BRDF data needs to be moved from example to main src - rectAreaLights: { type: "sa", value: [], properties: { - color: { type: "c" }, - position: { type: "v3" }, - width: { type: "v3"...
false
Other
mrdoob
three.js
86748161b2b9f641d7d4cc9e10b96c172ad88e2a.json
Update color settings of MMD (#10083)
examples/js/loaders/MMDLoader.js
@@ -581,7 +581,7 @@ THREE.MMDLoader.prototype.parsePmd = function ( buffer ) { p.diffuse = dv.getFloat32Array( 4 ); p.shininess = dv.getFloat32(); p.specular = dv.getFloat32Array( 3 ); - p.emissive = dv.getFloat32Array( 3 ); + p.ambient = dv.getFloat32Array( 3 ); p.toonIndex = dv.getInt8(); p.ed...
false
Other
mrdoob
three.js
1e38c130146e858d27c63b41259f1eec3dc5fed8.json
Update UCSCharacter.js (#8662)
examples/js/UCSCharacter.js
@@ -96,7 +96,7 @@ THREE.UCSCharacter = function() { for ( var i = 0; i < textureUrls.length; i ++ ) { - textures[ i ] = textureLoader.load( baseUrl + textureUrls[ i ], scope.checkLoadingComplete ); + textures[ i ] = textureLoader.load( baseUrl + textureUrls[ i ], scope.checkLoadComplete ); textures[ i ]....
false
Other
mrdoob
three.js
508e4d63146888e20580e62dfe4e291bbc41785f.json
add jump action and update instructions (#8654)
examples/misc_fps.html
@@ -30,7 +30,7 @@ <body> <div id="container"></div> - <div id="info"><a href="http://threejs.org" target="_blank">three.js</a> - platformer demo. cubemap by <a href="http://www.zfight.com/" target="_blank">Jochum Skoglund</a>.<br />Use arrow keys to look around and WASD to move.</div> + <div id="info"><a href=...
false
Other
mrdoob
three.js
a58012bf39cfb602007d868505e5b271164379c9.json
Allow zooming while rotating (#8634)
examples/js/controls/OrbitControls.js
@@ -756,7 +756,7 @@ THREE.OrbitControls = function ( object, domElement ) { function onMouseWheel( event ) { - if ( scope.enabled === false || scope.enableZoom === false || state !== STATE.NONE ) return; + if ( scope.enabled === false || scope.enableZoom === false || ( state !== STATE.NONE && state !== STATE.RO...
false
Other
mrdoob
three.js
5d892789529562f2ab8f8f540ab6ca481aabe172.json
allow THREE.Box3 as an input of Boxhelper (#8609) This helps when when the bounding box is not computed from an object, but comes from elsewhere
src/extras/helpers/BoxHelper.js
@@ -30,7 +30,15 @@ THREE.BoxHelper.prototype.update = ( function () { return function ( object ) { - box.setFromObject( object ); + if ( object instanceof THREE.Box3 ) { + + box.copy( object ); + + } else { + + box.setFromObject( object ); + + } if ( box.isEmpty() ) return;
false
Other
mrdoob
three.js
86cc5819dc6fe8e80b3119ab6c529e38693adde3.json
fix bug in invClipZ unpacking glsl code. (#8600)
examples/webgl_depth_texture.html
@@ -35,7 +35,7 @@ padding: 5px; display: inline-block; } - + #error { margin: auto; margin-top: 40px; @@ -45,7 +45,7 @@ background: #CE0808; } </style> - + <script id="post-vert" type="x-shader/x-vertex"> varying vec2 vUv; @@...
true
Other
mrdoob
three.js
86cc5819dc6fe8e80b3119ab6c529e38693adde3.json
fix bug in invClipZ unpacking glsl code. (#8600)
src/renderers/shaders/ShaderChunk/packing.glsl
@@ -32,5 +32,5 @@ float viewZToInvClipZ( const in float viewZ, const in float near, const in float return (( near + viewZ ) * far ) / (( far - near ) * viewZ ); } float invClipZToViewZ( const in float invClipZ, const in float near, const in float far ) { - return ( near * far ) / ( ( near - far ) * invClipZ - far...
true
Other
mrdoob
three.js
f52454cd75246c0cfed5616ef6dd72d95438dd7f.json
add comment in docs.
docs/api/textures/Texture.html
@@ -128,6 +128,11 @@ <h3>[property:boolean premultiplyAlpha]</h3> False by default, which is the norm for PNG images. Set to true if the RGB values have been stored premultiplied by alpha. </div> + <h3>[property:number encoding]</h3> + <div> + Set to THREE.LinearEncoding by default, but supports sRGB, RGBE, ...
false
Other
mrdoob
three.js
524f7112de67060e2bcf2a1d57a358c404ced14a.json
Add additional params to gui controls
examples/webgl_materials_displacementmap.html
@@ -66,14 +66,16 @@ var settings = { metalness: 1.0, roughness: 0.4, + ambientIntensity: 0.2, aoMapIntensity: 1.0, - displacementScale: 1.0, + envMapIntensity: 1.0, + displacementScale: 2.436143, // from original model normalScale: 1.0 }; var mesh, material; - var point...
false
Other
mrdoob
three.js
15311e6b8f67ae37f5e5edd98be7506a7049b82a.json
add true sRGB support for texture.encodings.
src/Three.js
@@ -309,9 +309,10 @@ THREE.TriangleFanDrawMode = 2; // Texture Encodings THREE.LinearEncoding = 3000; // No encoding at all. -THREE.sRGBEncoding = 3001; // AKA gamma 2.2. +THREE.sRGBEncoding = 3001; THREE.RGBEEncoding = 3002; // AKA Radiance THREE.LogLuvEncoding = 3003; THREE.RGBM7Encoding = 3004; THREE.RGBM16E...
true
Other
mrdoob
three.js
15311e6b8f67ae37f5e5edd98be7506a7049b82a.json
add true sRGB support for texture.encodings.
src/renderers/shaders/ShaderChunk/encoding_template.glsl
@@ -17,6 +17,8 @@ return RGBMToLinear( value, 16.0 ); #elif ( MACRO_DECODE == ENCODING_RGBD ) return RGBDToLinear( value, 256.0 ); + #elif ( MACRO_DECODE == ENCODING_Gamma ) + return GammaToLinear( value, float( GAMMA_FACTOR ) ); #else return vec4( 1.0, 0.0, 0.0, 1.0 ); #endif @@ -37,6 +39...
true
Other
mrdoob
three.js
15311e6b8f67ae37f5e5edd98be7506a7049b82a.json
add true sRGB support for texture.encodings.
src/renderers/shaders/ShaderChunk/encodings.glsl
@@ -8,16 +8,31 @@ #define ENCODING_RGBM7 3004 #define ENCODING_RGBM16 3005 #define ENCODING_RGBD 3006 +#define ENCODING_Gamma 3007 vec4 LinearToLinear( in vec4 value ) { return value; } +vec4 GammaToLinear( in vec4 value, in float gammaFactor ) { + return vec4( pow( value.xyz, vec3( gammaFactor ) ), va...
true
Other
mrdoob
three.js
44708dd3b9ba40a0dcb2d3709e33bcf24d336060.json
Remove Geometry.__tmpVertices from examples
examples/js/modifiers/ExplodeModifier.js
@@ -38,6 +38,5 @@ THREE.ExplodeModifier.prototype.modify = function ( geometry ) { } geometry.vertices = vertices; - delete geometry.__tmpVertices; };
true
Other
mrdoob
three.js
44708dd3b9ba40a0dcb2d3709e33bcf24d336060.json
Remove Geometry.__tmpVertices from examples
examples/js/modifiers/SubdivisionModifier.js
@@ -31,8 +31,6 @@ THREE.SubdivisionModifier.prototype.modify = function ( geometry ) { } - delete geometry.__tmpVertices; - geometry.computeFaceNormals(); geometry.computeVertexNormals();
true
Other
mrdoob
three.js
ffea217069b6bddbec2bc2e7048f59f4158f0560.json
replace \w with [^\s] because people keep using characters that do not match \w
examples/js/loaders/VRMLLoader.js
@@ -573,7 +573,7 @@ THREE.VRMLLoader.prototype = { if ( /USE/.exec( data ) ) { - var defineKey = /USE\s+?(\w+)/.exec( data )[ 1 ]; + var defineKey = /USE\s+?([^\s]+)/.exec( data )[ 1 ]; if ( undefined == defines[ defineKey ] ) { @@ -620,7 +620,7 @@ THREE.VRMLLoader.prototype = { i...
false
Other
mrdoob
three.js
a4c5926c3454790826dcd2a6f815523ca2f5e958.json
remove unused encoding functions.
src/renderers/shaders/ShaderChunk/encodings.glsl
@@ -38,68 +38,3 @@ vec4 LinearToRGBE( in vec4 value ) { float fExp = ceil( log2(maxComponent) ); return vec4( value.rgb / exp2(fExp), (fExp + 128.0) / 255.0 ); } -/* -vec4 EncodingToLinear( in vec4 value, in int fromEncoding ) { - - switch( fromEncoding ) { - - case ENCODING_Linear: - return value; - - ...
false
Other
mrdoob
three.js
3ca76ecd4c2a784a1b7b38795f6f40d1c8b7d148.json
make encodings.glsl more reusable.
src/renderers/shaders/ShaderChunk/emissivemap_fragment.glsl
@@ -2,7 +2,7 @@ vec4 emissiveColor = texture2D( emissiveMap, vUv ); - emissiveColor.rgb = texelDecode( emissiveColor, emissiveMapEncoding ).rgb; + emissiveColor.rgb = EncodingToLinear( emissiveColor, emissiveMapEncoding ).rgb; totalEmissiveLight *= emissiveColor.rgb;
true
Other
mrdoob
three.js
3ca76ecd4c2a784a1b7b38795f6f40d1c8b7d148.json
make encodings.glsl more reusable.
src/renderers/shaders/ShaderChunk/encodings.glsl
@@ -9,79 +9,96 @@ #define ENCODING_RGBM16 3005 //#define ENCODING_RGBM16 3007 -vec4 texelDecode( in vec4 encodedTexel, in int encoding ) { +vec4 LinearToLinear( in vec4 value ) { + return value; +} - // Q: should we use a switch statement here instead of a set of ifs? +vec4 sRGBToLinear( in vec4 value ) { + re...
true
Other
mrdoob
three.js
3ca76ecd4c2a784a1b7b38795f6f40d1c8b7d148.json
make encodings.glsl more reusable.
src/renderers/shaders/ShaderChunk/envmap_fragment.glsl
@@ -43,7 +43,7 @@ vec4 envColor = texture2D( envMap, reflectView.xy * 0.5 + 0.5 ); #endif - envColor = texelDecode( envColor, envMapEncoding ); + envColor = EncodingToLinear( envColor, envMapEncoding ); #ifdef ENVMAP_BLENDING_MULTIPLY
true
Other
mrdoob
three.js
3ca76ecd4c2a784a1b7b38795f6f40d1c8b7d148.json
make encodings.glsl more reusable.
src/renderers/shaders/ShaderChunk/lights_pars.glsl
@@ -186,7 +186,7 @@ #endif - envMapColor.rgb = texelDecode( envMapColor, envMapEncoding ).rgb; + envMapColor.rgb = EncodingToLinear( envMapColor, envMapEncoding ).rgb; return PI * envMapColor.rgb * envMapIntensity; @@ -278,7 +278,7 @@ #endif - envMapColor.rgb = texelDecode( envMapColor, envMapEn...
true
Other
mrdoob
three.js
3ca76ecd4c2a784a1b7b38795f6f40d1c8b7d148.json
make encodings.glsl more reusable.
src/renderers/shaders/ShaderChunk/map_fragment.glsl
@@ -2,7 +2,7 @@ vec4 texelColor = texture2D( map, vUv ); - texelColor = texelDecode( texelColor, mapEncoding ); + texelColor = EncodingToLinear( texelColor, mapEncoding ); diffuseColor *= texelColor; #endif
true
Other
mrdoob
three.js
15e08c1327f439b397c4f074da3f17ff10e13568.json
add support for Texture.encoding to Material.map
src/Three.js
@@ -315,3 +315,4 @@ THREE.RGBEEncoding = 3002; // AKA Radiance THREE.RGBM7Encoding = 3004; THREE.RGBM16Encoding = 3005; //THREE.RGBDEncoding = 3006; TODO +THREE.DefaultEncoding = 3007; // Use sRGB or Linear as appropriate.
true
Other
mrdoob
three.js
15e08c1327f439b397c4f074da3f17ff10e13568.json
add support for Texture.encoding to Material.map
src/renderers/WebGLRenderer.js
@@ -1888,6 +1888,7 @@ THREE.WebGLRenderer = function ( parameters ) { } uniforms.map.value = material.map; + uniforms.mapEncoding.value = (( material.map && material.map.encoding !== THREE.DefaultEncoding ) ? material.map.encoding : THREE.sRGBEncoding ); uniforms.specularMap.value = material.specularMap; ...
true
Other
mrdoob
three.js
15e08c1327f439b397c4f074da3f17ff10e13568.json
add support for Texture.encoding to Material.map
src/renderers/shaders/ShaderChunk/encodings.glsl
@@ -18,7 +18,7 @@ vec4 texelDecode( in vec4 encodedTexel, in int encoding ) { } if( encoding == ENCODING_sRGB ) { - return vec4( pow( encodedTexel.xyz, vec3( GAMMA_FACTOR ) ), encodedTexel.w ); + return vec4( pow( encodedTexel.xyz, vec3( float( GAMMA_FACTOR ) ) ), encodedTexel.w ); } if( encoding ...
true
Other
mrdoob
three.js
15e08c1327f439b397c4f074da3f17ff10e13568.json
add support for Texture.encoding to Material.map
src/renderers/shaders/ShaderChunk/map_fragment.glsl
@@ -2,8 +2,7 @@ vec4 texelColor = texture2D( map, vUv ); - texelColor.xyz = inputToLinear( texelColor.xyz ); - + texelColor = texelDecode( texelColor, mapEncoding ); diffuseColor *= texelColor; #endif
true
Other
mrdoob
three.js
15e08c1327f439b397c4f074da3f17ff10e13568.json
add support for Texture.encoding to Material.map
src/renderers/shaders/ShaderChunk/map_pars_fragment.glsl
@@ -1,5 +1,6 @@ #ifdef USE_MAP uniform sampler2D map; + uniform int mapEncoding; -#endif \ No newline at end of file +#endif
true
Other
mrdoob
three.js
15e08c1327f439b397c4f074da3f17ff10e13568.json
add support for Texture.encoding to Material.map
src/renderers/shaders/UniformsLib.js
@@ -10,6 +10,7 @@ THREE.UniformsLib = { "opacity": { type: "f", value: 1.0 }, "map": { type: "t", value: null }, + "mapEncoding" : { type: "i", value: THREE.sRGBEncoding }, "offsetRepeat": { type: "v4", value: new THREE.Vector4( 0, 0, 1, 1 ) }, "specularMap": { type: "t", value: null },
true
Other
mrdoob
three.js
15e08c1327f439b397c4f074da3f17ff10e13568.json
add support for Texture.encoding to Material.map
src/textures/Texture.js
@@ -36,7 +36,7 @@ THREE.Texture = function ( image, mapping, wrapS, wrapT, magFilter, minFilter, f this.premultiplyAlpha = false; this.flipY = true; this.unpackAlignment = 4; // valid values: 1, 2, 4, 8 (see http://www.khronos.org/opengles/sdk/docs/man/xhtml/glPixelStorei.xml) - this.encoding = THREE.LinearEncodi...
true
Other
mrdoob
three.js
6ccf94aa390b2a30f31e2c38b8d816ad766f1659.json
add taa to example files listing.
examples/files.js
@@ -181,6 +181,7 @@ var files = { "webgl_postprocessing_nodes", "webgl_postprocessing_smaa", "webgl_postprocessing_ssao", + "webgl_postprocessing_taa", "webgl_raycast_texture", "webgl_read_float_buffer", "webgl_rtt",
false
Other
mrdoob
three.js
a66afc819c5e12747d136496ee5f68a54ebf4ff1.json
remove subdivisions of box.
examples/webgl_postprocessing_taa.html
@@ -122,7 +122,7 @@ scene = new THREE.Scene(); - var geometry = new THREE.BoxGeometry( 120, 120, 120, 20, 5, 3 ); + var geometry = new THREE.BoxGeometry( 120, 120, 120 ); var material = new THREE.MeshBasicMaterial( { color: 0xffffff, wireframe: true } ); var mesh = new THREE.Mesh( geometry, m...
false
Other
mrdoob
three.js
b4ea42b634bff4578913eae75968564eaa49a210.json
Return geometry after calling applyMatrix() Return geometry (`this`) after calling `applyMatrix()` also in `THREE.BufferGeometry`
src/core/BufferGeometry.js
@@ -142,6 +142,8 @@ THREE.BufferGeometry.prototype = { } + return this; + }, rotateX: function () {
false
Other
mrdoob
three.js
a266e460f4184a173df677aa3b80dfc98c530d10.json
Return geometry after calling applyMatrix() Return geometry (`this`) after calling `applyMatrix():`
src/core/Geometry.js
@@ -87,6 +87,8 @@ THREE.Geometry.prototype = { this.verticesNeedUpdate = true; this.normalsNeedUpdate = true; + return this; + }, rotateX: function () {
false
Other
mrdoob
three.js
91f913dc4e1dd7d7998d1ad9e3e2796c0678e8df.json
Fix VREffect handling of full screen state (#8788) - Use unprefixed Fullscreen API in `VREffect` if available #8568 - Prevent over-writing of backup value for pixel ratio #8776
examples/js/effects/VREffect.js
@@ -98,11 +98,19 @@ THREE.VREffect = function ( renderer, onError ) { // fullscreen var canvas = renderer.domElement; - var fullscreenchange = canvas.mozRequestFullScreen ? 'mozfullscreenchange' : 'webkitfullscreenchange'; + var requestFullscreen; + var fullscreenElement; - document.addEventListener( fullscreen...
false
Other
mrdoob
three.js
421f52b4b8736a08d4f055d74ff15566c0ae7a08.json
Fix docs for Object3D.traverseAncestors
docs/api/core/Object3D.html
@@ -230,7 +230,7 @@ <h3>[method:null traverse]( [page:Function callback] )</h3> <div> Executes the callback on this object and all descendants. </div> - + <h3>[method:null traverseVisible]( [page:Function callback] )</h3> <div> callback - A function with as first argument an object3D object.<br /> @...
false
Other
mrdoob
three.js
7ff4c74c81ac79cebfe506eee234d6bef14f6f7f.json
improve draggable cubes example * no more limitation on dragging area * drag cubes // to camera front/back planes
examples/webgl_interactive_draggablecubes.html
@@ -25,11 +25,12 @@ var container, stats; var camera, controls, scene, renderer; - var objects = [], plane; - + var objects = []; + var plane = new THREE.Plane(); var raycaster = new THREE.Raycaster(); var mouse = new THREE.Vector2(), offset = new THREE.Vector3(), + intersection = new THRE...
false
Other
mrdoob
three.js
bc6bc544491269bb0d864954d2d01e4dd45e850c.json
Remove arguments to allow optimalisations * Remove arguments to allow optimalisations * Change constructor based on @mrdoob's argument * Fix issue with renaming of argument * convert space to tabs * cleanup docs * don't forget the linefeed in docs * docs cleanup * Update Color.html
docs/api/math/Color.html
@@ -27,9 +27,31 @@ <h2>Example</h2> <h2>Constructor</h2> - <h3>[name]( value )</h3> - <div> - value — optional argument that sets initial color. Can be a hexadecimal or a CSS-style string, for example, "rgb(250, 0,0)", "rgb(100%,0%,0%)", "hsl(0, 100%, 50%)", "#ff0000", "#f00", or "red", or three arguments th...
true
Other
mrdoob
three.js
bc6bc544491269bb0d864954d2d01e4dd45e850c.json
Remove arguments to allow optimalisations * Remove arguments to allow optimalisations * Change constructor based on @mrdoob's argument * Fix issue with renaming of argument * convert space to tabs * cleanup docs * don't forget the linefeed in docs * docs cleanup * Update Color.html
src/math/Color.js
@@ -2,15 +2,16 @@ * @author mrdoob / http://mrdoob.com/ */ -THREE.Color = function ( color ) { +THREE.Color = function ( r, g, b ) { - if ( arguments.length === 3 ) { + if ( g === undefined && b === undefined ) { - return this.fromArray( arguments ); + // r is THREE.Color, hex or string + return this.set( ...
true
Other
mrdoob
three.js
c184493e3cf4fb22f50ed330a6456fd705052def.json
Remove legacy warning in KeyFrameTrack It became unnessecary.
src/animation/KeyframeTrack.js
@@ -386,8 +386,6 @@ Object.assign( THREE.KeyframeTrack, { if ( json.times === undefined ) { - console.warn( "legacy JSON format detected, converting" ); - var times = [], values = []; THREE.AnimationUtils.flattenJSON( json.keys, times, values, 'value' );
false
Other
mrdoob
three.js
65a16691beded6282cdaee55d94584c8d86bf872.json
Fix VREffect support for webvr-polyfill * Fix VREffect support for webvr-polyfill (#8712) - correctly set `isPresenting` in full screen mode - webvr-polyfill fires fullscreenchange in VR mode - fix needed for setting main window to full screen while presenting * Code clean-up (#8748, #8712) - Added parentheses ...
examples/js/effects/VREffect.js
@@ -102,16 +102,30 @@ THREE.VREffect = function ( renderer, onError ) { document.addEventListener( fullscreenchange, function () { - isPresenting = isDeprecatedAPI && vrHMD && ( document.mozFullScreenElement || document.webkitFullscreenElement ) !== undefined; + isPresenting = vrHMD !== undefined && ( vrHMD.isP...
false
Other
mrdoob
three.js
a9c64beaf3b745de8cb4f3bb961b95e6e4cabb25.json
Fix variable typo. (I think.) (#8706)
examples/js/effects/VREffect.js
@@ -68,7 +68,7 @@ THREE.VREffect = function ( renderer, onError ) { this.setSize = function ( width, height ) { - renderSize = { width: width, height: height }; + rendererSize = { width: width, height: height }; if ( isPresenting ) {
false
Other
mrdoob
three.js
d75cd5f3d273cc9beca0130d9d394f3f49d2f80c.json
Update MMDMaterial Shader
examples/js/loaders/MMDLoader.js
@@ -3636,6 +3636,7 @@ THREE.ShaderLib[ 'mmd' ] = { THREE.UniformsLib[ "fog" ], THREE.UniformsLib[ "ambient" ], THREE.UniformsLib[ "lights" ], + THREE.UniformsLib[ "shadowmap" ], { "emissive" : { type: "c", value: new THREE.Color( 0x000000 ) }, @@ -3824,7 +3825,6 @@ THREE.ShaderLib[ 'mmd' ] = { //...
false
Other
mrdoob
three.js
77a3f6dc13de12fea9f31eaba7452b0e655dc593.json
Add more samples for software sandbox.
examples/software_sandbox.html
@@ -16,21 +16,18 @@ <body> <script src="../build/three.min.js"></script> - + <script src="js/geometries/hilbert3D.js"></script> <script src="js/controls/TrackballControls.js"></script> - <script src="js/renderers/Projector.js"></script> <script src="js/renderers/SoftwareRenderer.js"></script> - <scr...
false
Other
mrdoob
three.js
8cd22a6a79bcf668d2b5c40e92f1613afce0b2dc.json
fix the MMDMaterial shader
examples/js/loaders/MMDLoader.js
@@ -3422,6 +3422,7 @@ THREE.ShaderLib[ 'mmd' ] = { THREE.UniformsLib[ "normalmap" ], THREE.UniformsLib[ "displacementmap" ], THREE.UniformsLib[ "fog" ], + THREE.UniformsLib[ "ambient" ], THREE.UniformsLib[ "lights" ], THREE.UniformsLib[ "shadowmap" ], @@ -3542,6 +3543,7 @@ THREE.ShaderLib[ 'mmd' ] = {...
false
Other
mrdoob
three.js
086eab8ccd0b0d178a3d0817d92132fe1c4dfd64.json
enable MMDLoader to support more various models
examples/js/loaders/MMDLoader.js
@@ -1998,21 +1998,28 @@ THREE.MMDLoader.prototype.createMesh = function ( model, texturePath, onProgress } - var isSphericalReflectionMapping = params.sphericalReflectionMapping; var texture = loader.load( fullPath, function ( t ) { t.flipY = false; t.wrapS = THREE.RepeatWrapping; t.wrapT...
false
Other
mrdoob
three.js
48123a33b10f51729cdd86ac63605409e09e2811.json
Fix vertex shader bug.
src/renderers/shaders/ShaderLib.js
@@ -598,17 +598,15 @@ THREE.ShaderLib = { "void main() {", THREE.ShaderChunk[ "color_vertex" ], - - " vec4 mvPosition = modelViewMatrix * vec4( position, 1.0 );", + THREE.ShaderChunk[ "begin_vertex" ], + THREE.ShaderChunk[ "project_vertex" ], " #ifdef USE_SIZEATTENUATION", - " gl_PointSize =...
false
Other
mrdoob
three.js
9c872b1cab3daed5cb6c564fbe5af836ec22feea.json
Fix THREE.SkinnedMesh.clone() bug (#9082)
src/objects/SkinnedMesh.js
@@ -172,7 +172,7 @@ THREE.SkinnedMesh.prototype = Object.assign( Object.create( THREE.Mesh.prototype clone: function() { - return new this.constructor( this.geometry, this.material, this.useVertexTexture ).copy( this ); + return new this.constructor( this.geometry, this.material, this.skeleton.useVertexTexture ...
false
Other
mrdoob
three.js
bc4fd08b2128b0f1cfe4d6d0282faa902d4398ce.json
Shortcut descriptions (#9062) * adds shortcut key to buttons and menu * revert bad formatting * reverts UI.Button changes and inlines the button shortcut key in the description text * removes unintentional whitespaces
editor/index.html
@@ -285,9 +285,10 @@ switch ( event.keyCode ) { case 8: // backspace + event.preventDefault(); // prevent browser back - - case 46: // delete + + case 46: // delete var object = editor.selected; @@ -313,16 +314,19 @@ break; ...
true